Page 1 of 1
Crash when loading saved game
Posted: 19 Jul 2005 01:19
by Flamelord
Sorry, this one's probably something really obvious that I should have thought of already. This game crashes EVERY time I try to load it. It gives me the "Some Game Data May Be Lost" message, and about as soon as I unpause, it crashes. It normally takes 5-7 seconds. This is one of my favorite games, and I'll be sad if I lose it

.
Posted: 19 Jul 2005 02:18
by DaleStan
Make sure you've got the most recent version of the US Stations. If that doesn't fix the crash, complain to Oracle.
As for the game-data-may-be-lost-message, you probably need to turn some more switches on. semaphores is the only one that looks suspicious, but I could have missed one, or it could be one that's completely missing from the cfg.
Posted: 19 Jul 2005 03:37
by Flamelord
I've always had Semaphores OFF. I don't really like them. I'll try getting the newest version of the U.S. Station Set, if I can find it.
Posted: 19 Jul 2005 05:24
by Rob
You also could try
sv1fix.
I'm not sure if it will help, but trying won't hurt.
ps if you work on that savegame, do make a backup first in case you do something terrible to it.

Posted: 20 Jul 2005 04:36
by Flamelord
It still won't load without crashing, why would I need to back up?

Nah, I'll do it anyway. Thanks for pointing me to that tool. I suppose if SV1Fix can't save it, I should find Oracle and complain to... them (Him? Her? You never can tell with screen names, but I'd guess Oracle's a guy).
EDIT: Okay, I tried SV1Fix to no avail. It told me that there was no problem with it, and when I tried to play it, it still crashed. So, now I am led to wonder, what is the preferred method of communicating with Oracle? Will he come and see this topic, or will I have to point him toward it?

Posted: 20 Jul 2005 05:48
by Rob
The game doesn't crash here.
Maybe you could try to rename ttdpatch.cfg and run the following command:
ttdpatchw.exe -!T- -W ttdpatch.cfg to create a new default config file.
It might well be the USstationset, because I haven't turned it on here, so try to disable that in the nefgrfw.cfg file too.
ps a morevehicle switch setting of 40 is absurd.
I have a setting of 12 and I have about 504 trains 274 roadvehicles 5 aircraft and 293 ships running.
Posted: 20 Jul 2005 06:50
by DaleStan
Well, we *know* the crash is due to the USStations set; the crashlog says so.
It looks to me like it's because the AI callback uses variable 40. A patchteam member would know for sure.
(Aegir? Can you confirm?
/me hides.)
Posted: 20 Jul 2005 09:54
by Csaboka
The AI callback can't use 4x variables, that's for sure...
Posted: 20 Jul 2005 15:07
by Oracle
DaleStan, you are right. It is due to the AI callback trying to use 40+x variables, but only because of me not being careful and just using any other action 2 as the "callback failure" action 2 - and the one I chose of course uses variable 40. I've now changed it to a pure graphics action 2 and it seems to work. Look out for a new version later tonight which should fix this problem.
Sorry about this - that's twice I've messed the AI callbacks up

.
(Flamelord, I am male, by the way

)
Posted: 20 Jul 2005 21:11
by Flamelord
Thanks for finding and replying, Oracle. I'll be watching for the new version with anticipation; I'd really like to be able to use that savegame again!

Posted: 20 Jul 2005 21:14
by Oracle
I've just released it - it should fix your problem.
Posted: 20 Jul 2005 21:33
by Flamelord
Yeah, I looked for it just after I posted. I found it and extracted it to my newgrf directory to replace the old version, started up TTDPatch, and loaded my game. No Crash!
Thanks for fixing the problem!