MantisBT - Zandronum
View Issue Details
0000056Zandronum[All Projects] Bugpublic2010-09-24 09:202018-09-30 19:48
Cutman 
Torr Samaho 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
98c 
98d 
0000056: Bots don't operate correctly when loading save games
If you load a game that was saved in a bot match, bots won't load correctly and do weird things such as sit still forever or not respawn.

Now I know bots aren't too important, but my mod happens to use bots for the single player, and has some exclusive stuff giving the player a reason to actually go through these bot matches.

A simple solution that I would be more than happy with, would be to just simply disable saving games while bots present.
Start up Skulltag's singleplayer campaign.
Save the game.
Load the game.
The bots are now messed up.
Mega Man 8-bit Deathmatch has a single player campaign with some unique stuff in it such as single player scripted boss fights and a story. Newcomers to Skulltag (trust me, there will be a LOT) will not understand why loading a save game in "single player" causes the bots to mess up, and will report it as a bug.

I think a fix would prevent a lot of hassle for the ST devs, and myself ;)
No tags attached.
Issue History
2010-09-24 09:20CutmanNew Issue
2010-09-24 14:43AnonymousNote Added: 0000148
2010-09-24 19:02AnonymousNote Deleted: 0000148
2010-09-25 21:04Torr SamahoNote Added: 0000165
2010-09-25 21:04Torr SamahoStatusnew => feedback
2010-09-25 21:06CutmanNote Added: 0000166
2010-09-25 21:06CutmanStatusfeedback => new
2010-09-25 21:09Torr SamahoNote Added: 0000167
2010-09-25 21:35Torr SamahoNote Added: 0000172
2010-09-25 21:35Torr SamahoAssigned To => Torr Samaho
2010-09-25 21:35Torr SamahoStatusnew => feedback
2010-09-25 21:49unknownnaNote Added: 0000174
2010-09-26 07:57Torr SamahoNote Added: 0000180
2010-09-26 08:22unknownnaNote Added: 0000181
2010-09-26 10:00Torr SamahoNote Added: 0000182
2010-09-26 10:37unknownnaNote Added: 0000183
2010-09-26 19:04Torr SamahoNote Added: 0000189
2010-09-26 19:04Torr SamahoStatusfeedback => resolved
2010-09-26 19:04Torr SamahoFixed in Version => 98d
2010-09-26 19:04Torr SamahoResolutionopen => fixed
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug
2018-09-30 19:48Blzut3Statusresolved => closed

Notes
(0000165)
Torr Samaho   
2010-09-25 21:04   
This is a long known issue and was reported for example already here.

Unfortunately, fixing this is non-trivial and probably not worth the effort. What if I just disable saving when there are bots in the game?
(0000166)
Cutman   
2010-09-25 21:06   
I would be very happy with that! (as I said in the description ;))
(0000167)
Torr Samaho   
2010-09-25 21:09   
Oh, I was so busy digging out the old report that I overlooked that you already proposed this ;).
(0000172)
Torr Samaho   
2010-09-25 21:35   
This should disable saving when there are bots in the game. Please test if it works as intended.
(0000174)
unknownna   
2010-09-25 21:49   
It disables it from the menu, but through the console, it's still possible to save the game while bots are in-game.
(0000180)
Torr Samaho   
2010-09-26 07:57   
Thanks, I forgot about console saving. This should also catch console saving.
(0000181)
unknownna   
2010-09-26 08:22   
Yeah, I can't save through the console now.

But while testing, I noticed that if you start a new game, save the game, close Skulltag, then open Skulltag up again and load the saved game, adding bots in the loaded game will make Skulltag crash with a very fatal error. This happens in 98c as well, though.
(0000182)
Torr Samaho   
2010-09-26 10:00   
The amount of bugs you find en passant is frightening ;). Anyway, revision 2948 should fix the crashes.
(0000183)
unknownna   
2010-09-26 10:37   
Yes, it seems to have fixed the issue.

But one more final thing. When you load a saved game, the bots you added in the former game follow you into the loaded game even when there weren't any bots present in the saved game. Is this intentional?
(0000189)
Torr Samaho   
2010-09-26 19:04   
No, that's not intentional but should be fixed now :).