A hero data deletion bug in nightlies

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
TMC
Metal King Slime
Posts: 4308
Joined: Sun Apr 10, 2011 9:19 am

A hero data deletion bug in nightlies

Post by TMC »

Time for more exciting engine development news?

If you're using a recent nightly build, don't create any new heroes. Upgrade to the next nightly build first. Note: nightly builds haven't been rebuilt yet. That's about 15 hours away. The next build is 05-Nov-2018, as seen in the nightly builds folder. (Incidently, since recently, nightly builds are now only rebuilt if there are actually changes, so it's useful to check the timestamps in this folder before downloading.)

Nightlies since 2018-09-29 (SVN r10523) are affected by a **nasty bug** that deleted some hero data if you either created a new hero (either as a copy or blank), or were editing a game created before pre-Beelzebufo which still contained heroes that had never been edited since then. Once the problem started it would repeatedly keep deleting the data as you used the hero editor to switch between heroes.

The heroes that were affected were the newly created (or never-edited) heroes, and hero 0. (Possibly some other hero instead of 0, but that's unlikely.) Affected heroes would get all of the following deleted, over and over: the battle menu, stat visibility, counterattacks, hero level checks (in hero tags menu), and the experience curve setting. These were all replaced with defaults. Due to a separate bug (in Etheldreme; now also fixed), the XP curve would get reset to 0.00 instead of the correct default, 0.20.

If you're already affected by this, your lost data isn't coming back.

Thanks to Fenrir for finding both bugs, all glory to him!
Last edited by TMC on Mon Nov 05, 2018 2:45 pm, edited 2 times in total.
Post Reply