Large Train Stations/Trains makes OpenTTD crash?

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Jigsaw_Psyche
Engineer
Engineer
Posts: 8
Joined: 23 Feb 2007 16:40

Large Train Stations/Trains makes OpenTTD crash?

Post by Jigsaw_Psyche »

Hello everyone,

I am rather new to forums and to OpenTTD (although I played TTD a lot) so I am sorry if this has been brought up before (I am not good at searching yet my apologies).


I seem to be having a problem with OpenTTD. Whenever I create a station thats bigger then, say, 20 tiles (length) and put a train on it with a lot of cars and set it going, the game quits on me!

It doesn't do it with smaller (lenghtwise) stations or cars. ie. I can have a BIG station (up to 64 tiles long) with small trains and it doesn't crash on me.


Sorry if I'm explaining this wrong.

Here's the error I get:

Code: Select all

~/games/openttd-0.5.0-RC5-source> ./openttd -d

openttd: yapf/yapf_destrail.hpp:143: bool CYapfDestinationTileOrStationRailT<Types>::PfCalcEstimate(typename Types::NodeList::Titem&) [with Types = CYapfRail_TypesT<CYapfRail2, CFollowTrackT<TRANSPORT_RAIL, true>, CNodeList_HashTableT<CYapfRailNodeT<CYapfNodeKeyExitDir>, 10, 12>, CYapfDestinationTileOrStationRailT, CYapfFollowRailT>]: Assertion `n.m_estimate >= n.m_parent->m_estimate' failed.


I'm using Open TTD 0.5.0 on Suse 10.1 and I compiled the source code.

I have a PIV, 3.06 GhZ, 1 Gb RAM.


I dunno what other information you need, so have a look at the save game (I can hopefully attatch). I just set up a cheat game (lots of money, skip years etc..) so I could set up a 35X3 track with trains. All you have to do it wait.

Thanks for reading everyone; please advise me if this has been posted.

-Jigsaw_Psyche


PS: I don't normally do the 'cheats' menu thing; it crashes without using it too.
Attachments
Big Stations Error.sav
Crash on Big Stations or Trains?
(91.46 KiB) Downloaded 126 times
KUDr
OpenTTD Developer
OpenTTD Developer
Posts: 219
Joined: 11 Jan 2006 21:36
Location: Czech Republic

Post by KUDr »

thanks for the report. It is really new bug. It is related to station with 30 and more tiles length. I will look at it

edit:
done: r8869 /trunk/src/yapf/ (6 files) (2007-02-24 00:17:46 UTC) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche)
Jigsaw_Psyche
Engineer
Engineer
Posts: 8
Joined: 23 Feb 2007 16:40

Post by Jigsaw_Psyche »

KUDr wrote:thanks for the report. It is really new bug. It is related to station with 30 and more tiles length. I will look at it

edit:
done: r8869 /trunk/src/yapf/ (6 files) (2007-02-24 00:17:46 UTC) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche)


Wow thanks so much for the quick reply (and fix!) I really appreciate it!

And although everyone probably says this (heh) thank you to everyone who has the expertise to work on this; its such a great game!!!! *grin*

-Jigsaw_Psyche
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Ahrefs [Bot] and 12 guests