Crash when loading saved game

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Crash when loading saved game

Post 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 :( .
Attachments
Crash12.zip
This is the Zip. Is it missing any files?
(263.51 KiB) Downloaded 51 times
Additional Livery Set
Official TT-Jewel Staite FanClub
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post 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.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post 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.
Additional Livery Set
Official TT-Jewel Staite FanClub
User avatar
Rob
Tycoon
Tycoon
Posts: 4355
Joined: 31 Dec 2002 16:52
Location: Ven-Zelderheide, The Netherlands

Post by Rob »

You also could try sv1fix.

I'm not sure if it will help, but trying won't hurt. :wink:

ps if you work on that savegame, do make a backup first in case you do something terrible to it. :roll:
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Image
Still the best OS around
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post by Flamelord »

It still won't load without crashing, why would I need to back up? :P 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? :?
Additional Livery Set
Official TT-Jewel Staite FanClub
User avatar
Rob
Tycoon
Tycoon
Posts: 4355
Joined: 31 Dec 2002 16:52
Location: Ven-Zelderheide, The Netherlands

Post 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.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Image
Still the best OS around
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post 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.)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

The AI callback can't use 4x variables, that's for sure...
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post 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 :roll:.

(Flamelord, I am male, by the way :wink:)
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post 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! :)
Additional Livery Set
Official TT-Jewel Staite FanClub
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

I've just released it - it should fix your problem.
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post 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!
Additional Livery Set
Official TT-Jewel Staite FanClub
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 4 guests