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

Submitted by:  Marc Dequènes (Duck) <duck>
Submitted on:  Wed 07 Jul 2010 01:05:44 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Wont FixPrivacy: Public
Assigned to: Jimmy Salmon <jsalmon3>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>In charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by duck (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Jul 2010 07:36:23 AM UTCjsalmon3StatusNone=>Wont Fix
      Assigned toNone=>jsalmon3
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1