project-navigation
Personal tools

Author Topic: Can't load savegame (Jan 5 07:01:21)  (Read 3317 times)

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Can't load savegame (Jan 5 07:01:21)
« on: January 05, 2011, 02:06:25 pm »
Win32 debug rev:
commit 0498978de289000387fa032ff8cac3c01684a8b3
Date:   Wed Jan 5 07:01:21 2011 +0100

    * init the cgame mode in GetCGameAPI


Start new campaign
save it
try to load it
error


Code: (ufoconsole.log) [Select]
2011/01/05 13:55:14Change gametype to 'Campaign mode'
2011/01/05 13:55:15Loading savegame xml (size 31760)
2011/01/05 13:55:15Loading savegame
...version: 4
...game version: 2.4-dev
...xml Size: 404463, compressed? y
2011/01/05 13:55:15Shutdown gametype 'Campaign mode'
2011/01/05 13:55:15Change gametype to 'Campaign mode'
2011/01/05 13:55:15Load 'slot0' 20 subsystems
2011/01/05 13:55:15...Running subsystem 'base'
2011/01/05 13:55:15Building building_entrance not found
2011/01/05 13:55:15Building building_quarters not found
2011/01/05 13:55:15Building building_quarters not found
2011/01/05 13:55:15Building building_aliencontainment not found
2011/01/05 13:55:15Building building_storage not found
2011/01/05 13:55:15Building building_powerplant not found
2011/01/05 13:55:15Building building_command not found
2011/01/05 13:55:15Building building_hangar not found
2011/01/05 13:55:15Building building_intercept not found
2011/01/05 13:55:15Building building_workshop not found
2011/01/05 13:55:15Building building_radar not found
2011/01/05 13:55:15Building building_lab not found
2011/01/05 13:55:15Building building_hospital not found
2011/01/05 13:55:15...subsystem 'base' - loaded.
2011/01/05 13:55:15...Running subsystem 'research'
2011/01/05 13:55:15RS_GetTechByID: Could not find a technology with id "rs_laser"
2011/01/05 13:55:15......your game doesn't know anything about tech 'rs_laser'
2011/01/05 13:55:15RS_GetTechByID: Could not find a technology with id "rs_baselaser"
2011/01/05 13:55:15......your game doesn't know anything about tech 'rs_baselaser'
2011/01/05 13:55:15RS_GetTechByID: Could not find a technology with id "rs_baselaser_ammo"
2011/01/05 13:55:15......your game doesn't know anything about tech 'rs_baselaser_ammo'
2011/01/05 13:55:15RS_GetTechByID: Could not find a technology with id "rs_antimatter"
2011/01/05 13:55:15......your game doesn't know anything about tech 'rs_antimatter'
2011/01/05 13:55:15RS_GetTechByID: Could not find a technology with id "rs_item_antimatter"
............
« Last Edit: January 05, 2011, 07:14:27 pm by Muton »

Offline Kemlo

  • Rookie
  • ***
  • Posts: 66
    • View Profile
Re: Savegame broken
« Reply #1 on: January 05, 2011, 02:34:55 pm »
Just finished compiling the game 5 mins ago and I have the same problem here.

Attached my log.

Offline dodon

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: Savegame broken
« Reply #2 on: January 05, 2011, 03:20:08 pm »
according to Git Bisect

Commit:0498978de289000387fa032ff8cac3c01684a8b3

* init the cgame mode in GetCGameAPI

is the culprit

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Savegame broken
« Reply #3 on: January 05, 2011, 03:57:27 pm »
according to Git Bisect
Commit:0498978de289000387fa032ff8cac3c01684a8b3
* init the cgame mode in GetCGameAPI

is the culprit

So NOT the savegame is broken.....

-geever

Offline dodon

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: Savegame broken
« Reply #4 on: January 05, 2011, 05:09:34 pm »
I don't know what's realy broken.

I wanted to load a savegame from rev 7d9e60e9291d8c496b2edeb37e32dd528ed8f44e but I got an errormessage.
After I reverted the change in 0498978de289000387fa032ff8cac3c01684a8b3 could load the old savegame.

I actualy could load a savegame that is saved with 0498978de289000387fa032ff8cac3c01684a8b3 after I reverted that change.

So, mostlikely the savegame(file) is not broken. But I think the commit 0498978de289000387fa032ff8cac3c01684a8b3 breaks the loading mechanism.