project-navigation
Personal tools

Author Topic: cant load saved game  (Read 3748 times)

Offline jack1232

  • Rookie
  • ***
  • Posts: 51
    • View Profile
cant load saved game
« on: July 17, 2009, 10:16:21 pm »
Linux
SVN : 25209

Code: [Select]
====== UFO Initialized ======

Switch grab input off
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added base subsystem
added campaign subsystem
added hospital subsystem
added market subsystem
added research subsystem
added employee subsystem
added aliencont subsystem
added production subsystem
added aircraft subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added alien base subsystem
added xvirate subsystem
added installation subsystem
added messageoptions subsystem
Campaign data loaded - size 4232916 bytes
...techs: 195
...buildings: 23
...ranks: 0
...nations: 8
...cities: 7

Loading savegame xml (size 37655)
Loading savegame
...version: 3
...game version: 2.3-dev
...xml Size: 550715, compressed? y
Shutdown gametype 'Campaign mode'
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added base subsystem
added campaign subsystem
added hospital subsystem
added market subsystem
added research subsystem
added employee subsystem
added aliencont subsystem
added production subsystem
added aircraft subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added alien base subsystem
added xvirate subsystem
added installation subsystem
added messageoptions subsystem
Campaign data loaded - size 4232916 bytes
...techs: 195
...buildings: 23
...ranks: 0
...nations: 8
...cities: 7

Load 'slot7' 17 subsystems
...Running subsystem 'base'
INVSH_GetItemByID: Item "craft_ufo_ripper" not found.
B_Load: Could not find item 'craft_ufo_ripper'
INVSH_GetItemByID: Item "craft_ufo_mothership" not found.
B_Load: Could not find item 'craft_ufo_mothership'
INVSH_GetItemByID: Item "craft_ufo_gunboat" not found.
B_Load: Could not find item 'craft_ufo_gunboat'
...subsystem 'base' - loaded.
...Running subsystem 'campaign'
...subsystem 'campaign' - loaded.
...Running subsystem 'hospital'
...subsystem 'hospital' - loaded.
...Running subsystem 'market'
INVSH_GetItemByID: Item "craft_ufo_ripper" not found.
BS_Load: Could not find item 'craft_ufo_ripper'
INVSH_GetItemByID: Item "craft_ufo_mothership" not found.
BS_Load: Could not find item 'craft_ufo_mothership'
INVSH_GetItemByID: Item "craft_ufo_gunboat" not found.
BS_Load: Could not find item 'craft_ufo_gunboat'
...subsystem 'market' - loaded.
...Running subsystem 'research'
RS_GetTechByID: Could not find a technology with id "rs_craft_ufo_gunboat"
......your game doesn't know anything about tech 'rs_craft_ufo_gunboat'
RS_GetTechByID: Could not find a technology with id "rs_craft_ufo_ripper"
......your game doesn't know anything about tech 'rs_craft_ufo_ripper'
RS_GetTechByID: Could not find a technology with id "rs_craft_ufo_mothership"
......your game doesn't know anything about tech 'rs_craft_ufo_mothership'
...subsystem 'research' - loaded.
...Running subsystem 'employee'
...subsystem 'employee' - loaded.
...Running subsystem 'aliencont'
...subsystem 'aliencont' - loaded.
...Running subsystem 'production'
...subsystem 'production' - loaded.
...Running subsystem 'aircraft'
...subsystem 'aircraft' - loaded.
...Running subsystem 'messagesystem'
ufo: src/client/campaign/cp_messages.c:126: MS_AddNewMessageSound: Assertion `pedia' failed.
./ufo(Sys_Backtrace+0x1f)[0x8191196]
./ufo[0x81911f6]
[0xb7f74400]
/lib/tls/i686/cmov/libc.so.6(abort+0x188)[0xb77c7098]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb77be5ce]
./ufo(MS_AddNewMessageSound+0x18f)[0x80b78de]
./ufo(MS_LoadXML+0x225)[0x80b7cdc]
./ufo[0x80eb228]
./ufo[0x80ebf1a]
./ufo(Cmd_ExecuteString+0xcb)[0x813334c]
./ufo(Cbuf_Execute+0x15a)[0x8132119]
./ufo[0x808ee44]
./ufo(CL_Frame+0xdf)[0x808f330]
./ufo[0x814027f]
./ufo(Qcommon_Frame+0x9a)[0x8140548]
./ufo(main+0x66)[0x818fef9]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb77b0775]
./ufo[0x8069ca1]
./ufo(Sys_Backtrace+0x1f)[0x8191196]
./ufo(Sys_Error+0x22)[0x8190310]
./ufo(Sys_InitSignals+0x0)[0x8191209]
[0xb7f74400]
/lib/tls/i686/cmov/libc.so.6(abort+0x188)[0xb77c7098]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb77be5ce]
./ufo(MS_AddNewMessageSound+0x18f)[0x80b78de]
./ufo(MS_LoadXML+0x225)[0x80b7cdc]
./ufo[0x80eb228]
./ufo[0x80ebf1a]
./ufo(Cmd_ExecuteString+0xcb)[0x813334c]
./ufo(Cbuf_Execute+0x15a)[0x8132119]
./ufo[0x808ee44]
./ufo(CL_Frame+0xdf)[0x808f330]
./ufo[0x814027f]
./ufo(Qcommon_Frame+0x9a)[0x8140548]
./ufo(main+0x66)[0x818fef9]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb77b0775]
./ufo[0x8069ca1]
Error: Received signal 6.
 


When I load game , it drops to desktop.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: cant load saved game
« Reply #1 on: July 17, 2009, 10:38:35 pm »
Linux
SVN : 25209

---stripped--

When I load game , it drops to desktop.

Must be a corrupted save.

There was a bug: On saving tech mails (research proposals, and results) technology index was saved. Whenever we added a new tech to the game the indexes were shifted. In mailclient you could see weird tech mails with "0 Jan 01" arrival date and empty.
I fixed this, now we're saving tech id's ("rs_something"). But maybe loading an old save (with incorrect ids), then resaving and load again can cause such issues.

Is it the case? Did you have such corrupt mails? Could you try to reproduce it with a new campaign?

thx.
-geever

Offline jack1232

  • Rookie
  • ***
  • Posts: 51
    • View Profile
Re: cant load saved game
« Reply #2 on: July 17, 2009, 11:57:46 pm »
Yes that was corrupted saved game.
 Close topic

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: cant load saved game
« Reply #3 on: July 18, 2009, 12:05:39 am »
Yes that was corrupted saved game.
 Close topic

Well, I found out it was not the real problem. We (may) have removed some tech which your save had had and messagesystem didn't handle it well. I fixed this issue in r25210. (btw a new campaign is recommended, I don't know what issues the corrupted save can cause)

Now I'm working on a related bug: scientists on an invalid topic (tech was removed) are not freed.

However these bug would not happen with the players using the released version I want it to be reliable and flexible.

happy testin'
-geever

odie

  • Guest
Re: cant load saved game
« Reply #4 on: July 19, 2009, 08:17:04 pm »
Well, I found out it was not the real problem. We (may) have removed some tech which your save had had and messagesystem didn't handle it well. I fixed this issue in r25210. (btw a new campaign is recommended, I don't know what issues the corrupted save can cause)

Now I'm working on a related bug: scientists on an invalid topic (tech was removed) are not freed.

However these bug would not happen with the players using the released version I want it to be reliable and flexible.

happy testin'
-geever

geever, i have tested a very old save (which contains research on one of the older tech).

This is tested and proven.

Eg, if u r researching on that old tech, then update and upgrade to a newer svn with that tech alr removed, the scientists are researching a 'ghost technology proposal'. This cause system to crash.

Thats why, when i update to a major revision..... sigh, i start a new game which brings me back to ZERO. lol. That is why those of u who face the same issue as me and jack, just start a new campaign, choose easy (for quicker startup) and play from there to do beta testing. Or u can do what i do, fiddle with the startup file for more cash. lol. (A WHOLE LOT MORE> :P)

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: cant load saved game
« Reply #5 on: July 19, 2009, 09:33:14 pm »
Well, I put a @todo on that issue and postpone. There are much more serious bugs to fix.

-geever

odie

  • Guest
Re: cant load saved game
« Reply #6 on: July 20, 2009, 12:08:51 pm »
Well, I put a @todo on that issue and postpone. There are much more serious bugs to fix.

-geever

AGREED! The PF still not fully fixed, though stepup for stairs helped! Plus a whole lot of maps installation projectiles and WOOOOOOOOOOo. so many many more than this bug impt fixes! :D

All the best! I am seeing alot of progress, and esp new prefabs and models! :D Nice nice nice!