Technical support > Feature Requests
Can't load Savegame
kafka:
yes, xml serialization is easy and effective, I use it myself in my own projects though I do not program in c++ anymore but in c# and java. C and c++ are compared to c# and java nasty languages, particularly the missing automatic memory management is a real plague. I would like to help but not in c / c++.
Phantom:
I as a USER look for ways to simplefy the search for errors.
One way is to click as view times as you can to change stuff, save & load and then report the failure if you get any. After that its up to the real programers to figure it. ;)
And YES I did all the game lets me at this point:
- Did wars, land and air...
- Did buy / sell equipment...
- Did build, even hospitals (4 of them)...
- Did hire and fire people...
- Did Build 4 bases and renamed them...
- Did research all the research available:
- All plasma
- All laser
- All particle (cant use the rifle as ammo is not researched it says)
- 3 Aliensraces
- Aliens and alien breathing aparatus
- Got no research left it says (for now) ;)
- Did catpure and study one race...
All these steps i did a SAVE and in the same go a LOAD to test the savegame I just saved.
At this point I was in the 46th save game with out any problems at all !
As the info screen (click on email icon lower right) in research gives me sometimes weird filenames and or weird picture blobs I avoided opening the info screen.
After openening the mentioned infoscreen, forced because of the particle rifle not working with out ammo, my game started having these save games errors again: Load and pup right in to the main menu...
Reading through the log file:
- I had errors on language at start up...
- I had errors with skill >100 (reported in wars)...
- I had errors on missing music on some war maps...
- I had some messages about map items beying missing...
- I had messages of buttons allready existing...
After a restart of an urlier save game all went ok until I got a more serious problem witch is posted in another forum entry, namly an ASSERTION FAILURE, what ever that is :lol:
But thats at save nr 50 something...
Thats all I can say as a game player ! I dont program C/C++ !
What I dont understand:
- Why are the particle rifles I have in stock one group light brown and another group dark brown ? But thats another forum entry question ;) :lol:
Switch:
Same problem here, running Ufo:AI 2.1 compiled from source under Gentoo with locale fr_FR.UTF-8.
This was my first install, I run the game, finish the first mission, saved, and when I came back to load, I was return to the menu and this in the console :
--- Code: ---CL_CampaignActivateStage: stage '.
' not found.
Unable to load campaign 'slot1', unknown stage '.
'
--- End code ---
This is not shown here but there is a ^K just after the point in the ' ' if I open the log in vim.
I used a named starting with a maj, and as i saw here that majs could broke the saves, I tried whitout, that seems to work, at least for a time because now after like 8 or 9 missions, and around the same amount of saves, the loading of the last save failed, with exactly the same problem (and the ^K).
I have built a new base, and an hospital (but at least 2/3 save before the bug appear) and i have accomplish some research.
But viewing all the report here and beeing a software engineer, my guess would be that it's not really related with what you have done or not. What really catch my attention is the fact that it's always a ^K that appear (which i guess correspond to the unicode someone told a few post before).
Anyway, as you, I think that a serialized save would be really better, and xml ones the best.
smalul:
I have the same problem - I can't load any of my saved games (which is very bad, because I played a lot, researched everything I could, and reached the "aliens are invading" stage). My ufoconsole.log shows a similar error when trying to load a saved game:
--- Code: ---====== UFO Initialized ======
Savefile version 6 detected
Global data loaded - size (null)u bytes
...techs: 134
...buildings: 18
...ranks: 8
...nations: 8
CL_CampaignActivateStage: stage 'n' not found.
Unable to load campaign 'slot6', unknown stage 'n'
Changing to Singleplayer
Savefile version 6 detected
Global data loaded - size (null)u bytes
...techs: 134
...buildings: 18
...ranks: 8
...nations: 8
CL_CampaignActivateStage: stage 'n' not found.
Unable to load campaign 'slot5', unknown stage 'n'
Changing to Singleplayer
Savefile version 6 detected
Global data loaded - size (null)u bytes
...techs: 134
...buildings: 18
...ranks: 8
...nations: 8
CL_CampaignActivateStage: stage 'n' not found.
Unable to load campaign 'slot4', unknown stage 'n'
Changing to Singleplayer
Savefile version 6 detected
Global data loaded - size (null)u bytes
...techs: 134
...buildings: 18
...ranks: 8
...nations: 8
--- End code ---
Now, the reason I'm adding my comment here is because someone wrote something about hospitals and this loading bug. Well, in my case, I saw that in a hospital (actually, it's a double hospital) in one of my 3 bases, the stats showed there was 1 soldier healing, but there were no soldiers listed. So I've decided to save, and reload the game to check if that problem is still there, and then I found out ALL my saved won't load. I'm guessing this save bug didn't crash the game, but kept getting saved, and as I played for about 2 hours, and saved before and after every mission, the bug "infected" all my saved games, so I lost them all.
Also - would there be a fix that would allow me to load those "broken" saved games, or am I way too optimistic?
Zenerka:
You are too optimistic, I am afraid. :( We weren't able to find out the real source of savegame bug.
That's why mattn worked hard last week on completely new savegame system. Now I can say it looks like finished, and I hope today we will publish here links to new testinstallers for 2.1.1 with a request of heavy testing. The old saved games won't work here, of course.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version