1. Those Who Rule
  2. News
  3. Third Hotfix is Live! (v1.0.3) (Storage Issues, Save Caching Issues)

Third Hotfix is Live! (v1.0.3) (Storage Issues, Save Caching Issues)

Sorry everyone for not responding as quickly as normal in the forums today, I've been "locked in" as the kids are calling it trying to get as many fixes out as possible. Here's the second for today!

SAVE ISSUES

[h3](units disappearing/re-appearing, levels/stats reset, quests/mid-chapter events re-triggering)[/h3]
DISCLAIMER: This hot-fix will not bring your units back if you were already affected by this bug (really sorry). It will only try to stop it from happening in the future. Please email me your save at [email protected] if you'd like me to take a stab at bringing back your units. If their level was reset, please tell me what their level and promotional options were, and I can manually update it to the average for that level.

The game is now properly deleting cached saves when you restart from the menu option/defeat. I believe this will solve a myriad of strange issues some of you are seeing: units disappearing/re-appearing, benched units having their levels reset, etc.

Since I still haven't been able to reproduce these issues exactly, there is a chance these save caching changes don't completely fix them. Please continue sending me feedback if you continue to see the issue even after you get this update (you have a "v1.0.3" at the bottom right of the main menu screen). If it's still happening I will try something new. I can see WHAT the issue is in the save files, but the WHY is elusive.


STORAGE ISSUES

[h3](items disappearing, re-appearing, duplicates)[/h3]
Okay going to get a little technical here.

Storage in the code is loaded as a singleton. Basically how it works is: On new game start, I check if a "Storage" object exists, if it doesn't, I create an instance of the Storage object. This is also when your storage is loaded from your save file into the game, and ONLY at this point. This storage object is then used constantly throughout the game to put items in and out of (in base), and getting new items from chests/enemies/quests/drops/etc. All of this is managed by a single instance. Well... when you restart through the main menu, this storage is still instantiated, so the code doesn't bother creating it again (and triggering a fresh load from your save file). SO, all I had to do was reset the singleton storage instance when you hit the main menu button or hit a defeat screen.

This should significantly reduce any issues with items/storage disappearing. And it also explains why the items are still on characters, but not in the storage, because characters are always loaded fresh. This should also address the issue of item duplication. That would happen when you take an item that was equipped on a unit, put it in storage, restart from the menu option/defeat and the item would be duplicated because your character resets from the save to have the item again, but the storage wasn't reset.

tldr: static variables are very powerful and very dangerous.

Other Changes
  • Balance: Weighted refinement now gives +4 ATK instead of +2. Still keeps SPD nerf.
  • Balance/Fix: Scabbard now has 0 weight instead of 1. This will help get rid of some weird scenarios where you have to un-equip a bunch of weapons first to equip he scabbard for it's weight reduction. Now you can just equip the scabbard.


Hope this brings the game closer to stable for all of your folks. Really sorry to those who experienced these bugs, I know how frustrating it can be to lose progress. I can only deeply apologize and thank you for the patience you have shown me thus far. I really do appreciate it.

Best,
Eldin T.