bugFreeciv - Bugs: bug #20130, Cannot load savegame with ai type...

 
 
Show feedback again

bug #20130: Cannot load savegame with ai type != classic

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Mon 03 Sep 2012 01:16:16 AM UTC  
 
Category: aiSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 15 Nov 2014 05:15:31 PM UTC, comment #1:

Does this still happen? Do you have a savegame for testing?

Jacob Nevins <jtn>
Project Administrator
Mon 03 Sep 2012 01:16:16 AM UTC, original submission:

I have savegame from game where AIs were "threaded":

> ./fcser -f freeciv-T0200-Y01500-auto.sav.bz2

1: Invalid AI type: 'threaded'!
...
1: Failure loading savegame!

> ./fcser -f freeciv-T0200-Y01500-auto.sav.bz2 -L threaded

2: Removing player AI*1.
1: in dai_auto_settler_free() [../../../../src.patched/ai/default/aisettler.c::1156]: assertion 'ai != ((void *)0)' failed.

It seems that it tries to remove initial "classic" ai player when loading savegame with another ai type, but that initial player is not in fact set up at that point (any more or yet)

Marko Lindqvist <cazfi>
Project Administrator

 

(Note: upload size limit is set to 1024 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 jtn (Posted a comment)
  • -unavailable- added by cazfi (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Sep 2012 08:11:04 PM UTCcazfiCategoryNone=>ai
      Planned Release=>2.5.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup