bugBos Wars - Bugs: bug #30374, crash when trying to load a saved...

 
 

bug #30374: crash when trying to load a saved game for a removed campaign

Submitter:  Marc Dequènes (Duck) <duck>
Submitted:  Wed 07 Jul 2010 01:05:44 AM UTC
   
 
Severity:  3 - Normal Item Group:  * Bug
Status:  Wont Fix Privacy:  Public
Assigned to:  jsalmon3 Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 29 Jun 2023 10:39:46 PM UTC, comment #3: 


comment #2:

> I was not asking for compatibility, i know it could be quite difficult, i was asking for the game to check the save game and warn the user it could not be loaded instead of crashing. Would you please do something to improve the situation ?


Hmm... I agree, the game shouldn't just crash. Implementing a simple check is a good idea.

Andy Alt <andya1973>
Tue 20 Jul 2010 08:46:16 AM UTC, comment #2: 

I was not asking for compatibility, i know it could be quite difficult, i was asking for the game to check the save game and warn the user it could not be loaded instead of crashing. Would you please do something to improve the situation ?

Marc Dequènes (Duck) <duck>
Tue 20 Jul 2010 07:36:23 AM UTC, comment #1: 

Thanks for the bug report but we do not maintain compatibility between versions.  A save game from 2.5 will only work with 2.5.

Jimmy Salmon <jsalmon3>
Wed 07 Jul 2010 01:05:44 AM UTC, original submission:  

When loading saved games from a previous version, i crashed the game.  Since 2.6 the 'elites' campaign has been suppressed from the game, and the loader should handle that properly and warn the user.

Crash trace:
Starting saved game
Can't open file 
'/usr/share/games/boswars/campaigns/elites/level04.smp': No such file  or directory
[string "/home/duck/.boswars/save/duck2.sav.gz"]:272: attempt to call  global 'LoadTileModels' (a nil value)
stack traceback:
[string "/home/duck/.boswars/save/duck2.sav.gz"]:272: in main chunk
[C]: in function 'StartSavedGame'
[string "/usr/share/games/boswars/scripts/guichan.lu..."]:643: in 
function <[string "/usr/share/games/boswars/scripts/guichan.lu..."]:636>
[C]: in function 'run'
[string "/usr/share/games/boswars/scripts/guichan.lu..."]:669: in 
function <[string "/usr/share/games/boswars/scripts/guichan.lu..."]:628>
[C]: in function 'run'
[string "/usr/share/games/boswars/scripts/guichan.lu..."]:832: in 
function 'RunMainMenu'
[string "/usr/share/games/boswars/scripts/guichan.lu..."]:845: in main chunk

You can reproduce this problem with the following saved game:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=duck7.sav.gz;att=2;bug=473673

Marc Dequènes (Duck) <duck>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by andya1973 (Posted a comment)
  • -email is unavailable- added by duck (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-20 jsalmon3 StatusNone Wont Fix
        Assigned toNone jsalmon3
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code