LackeyCCG

LackeyCCG Forum => Bug Report Forum => Topic started by: NotDomo on July 16, 2012, 08:17:09 PM

Title: Checksum doesn't change when data moved around in a file.
Post by: NotDomo on July 16, 2012, 08:17:09 PM
I had to correct my carddata.txt by switching around some data in some of the columns, and the checksum stayed the same.

I can get around this by using uninstall.txt, but some plugin creators might not notice when they're fixing similar bugs.
Title: Re: Checksum doesn't change when data moved around in a file.
Post by: ani-mayhem on July 17, 2012, 03:41:55 AM
"... it is literally a sum of the data."

http://www.lackeyccg.com/forum/index.php?topic=808.0
Title: Re: Checksum doesn't change when data moved around in a file.
Post by: NotDomo on July 17, 2012, 11:12:04 PM
Oh, that's... interesting? Good to know, thanks. =)

Edit: Made a bad assumption in my comment here. Backwards compatibility does matter, 'cause checksums are generated on the fly when checking online update. :(
I hope there's some version in the future where you just say frack it and opt for the unique checksum. The earlier, the easier it will be on all the plugins. XD One could always just compare with old updatelist file, or compare with both checksums.