New stations crashing a40
Moderator: TTDPatch Moderators
New stations crashing a40
I've just created a 'clean' copy of TTD with alpha 40 to catch up on all the new stuff that's been released recently, but if I load some of the new stations (either MB's waypoints or the US set stations) the game crashes instantly when I click on the new 'station type' drop down selector.
I'm using the config generated by default by the patch, and it happens when either of these are the only new graphics files loaded. I've got v0.2 of newstatsw.grf and v0.83 of usstatsw.grf. Here's a crash log:
I'm using the config generated by default by the patch, and it happens when either of these are the only new graphics files loaded. I've got v0.2 of newstatsw.grf and v0.83 of usstatsw.grf. Here's a crash log:
- Attachments
-
- CRASH000.TXT
- (1.56 KiB) Downloaded 86 times
Yeah, I appreciate that it's nigh on impossible to sort out if you can't replicate it. Turning off everything except for the offending grf(s) was one of the first things I tried.Patchman wrote:I'm afraid it's very hard to try and help... if I can't make it crash on my computer too.
I wonder if there's possibly some other .grf file that's interfering? For a test, you could take out everything but one station .grf file and see if that helps.
Ah well, I'll just have to stick to a37 if I want to play with new stations I guess.
Quick update here: I think this one was actually mostly my fault. I installed the game on Mrs. Cornelius' PC with the latest patch and grf versions and all works fine. I reinstalled on my (virtual) PC and it was still crashing, but when I turned off the new sprite sorter it was all right. The station type text doesn't display though - it's either blank or random sprite garbage.
I still get this problem. Most times I can play with new stations - the game seems to stabilise after a few crashes, but with MB's new stations 0.3 and alpha 46 it's just not having it. Perhaps I need to get hold of an old PC to play on instead of persisting with the Virtual one on my Mac 

- Attachments
-
- CRASH000.TXT
- (1.6 KiB) Downloaded 65 times
Have you tried most-current-Patch? 40 is a little old now you know.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
The crashlog was made by a46. This one is a bit more enlightening, it shows that this happens when trying to display the name of some station. I'm still not sure how it can crash, since the name appears to have been set properly (or else ESI would be zero).
What operating system do you have? I'm asking since it seems to assign memory that later become unassigned again, or the crash would've happened when the name was set instead of read.
What operating system do you have? I'm asking since it seems to assign memory that later become unassigned again, or the crash would've happened when the name was set instead of read.
Windows 2000 running on Virtual PC on Mac OS XPatchman wrote:What operating system do you have? I'm asking since it seems to assign memory that later become unassigned again, or the crash would've happened when the name was set instead of read.

When stations occasionally work their names are corrupted (random garbage strings or nothing at all get displayed in the drop-downs) so yeah that seems to be the crux of the problem.
If you can explain how I do that I'll try it. Otherwise Mrs. Cornelius says I can use her PC to play the game... which is probably a decision she'll come to regretPatchman wrote:Well, I'm afraid I can't help you unless you use some debugger and debug the name assignment and subsequent access to see what's going wrong.

But it used to work, right? What changed?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Who is online
Users browsing this forum: No registered users and 20 guests