MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
295 stars 283 forks source link

Incomplete saving during save and close, feat: partial Princess AI shift. #5561

Open LeeryArch opened 2 months ago

LeeryArch commented 2 months ago

MegaMek HQ edition, 0.49.19.1 Windows. 11.0.22

Trying to make massive game, when attempting to save and close get told to post here. Reloading the save gives this 1st screenshot, but the 2nd one is with full units. image image

2nd screenshot is from a save I made without closing that works perfectly fine and retains all data, except all objective building hexes where removed from the bot's programming and the Princess bot went back to DEFAULT instead of DEFAULT v2 BRAVER.

Log File: megamek.log Broken Save: Reorder_Objectives.sav.gz Complete Save: Game_Start.sav.gz Custom Unit (Triumph ICV) as .txt so GitHub will take it: Triumph (ICV).txt Player Name: LeeryArch

Thanks for everything and best of luck!

Thom293 commented 2 months ago

It may not be the issue - but sometimes when loading very large saves it will take a long time to populate the list. Like minutes. I had a regiment v regiment battle that would take a while to load.

And yes - I have noticed before that if you change the bot behaviour in one place, it will save with the save. but if you change it in another place, it will not and return to default. I cant recall which spot would not save though. But however you changed it try the other place (the edit bots menu or on bottom left) and see if it will save that way.

The other option is - once you get all of the forces set up, export them as a mul file so you dont lose them. Then can load the .muls. Its an imperfect solution, but will keep you from having to edit forces a second time at least.