Pathfinding problem on custom bridge heads

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Pathfinding problem on custom bridge heads

Post by DaleStan »

When loading the attached save, you are looking at train 132 enter a depot for servicing, prior to making its way to the SE towards its next station.
While it is pulling out of the depot, train 134 (which shares orders with 132, and should follow the exact same path) comes careening over the bridge, realizes its desired path is blocked, and heads off to the SW instead.

Observed in TTDPatch a67, a60, and a55

stuff.rar contains the usual; save and both cfg files.
Attachments
stuff.rar
(287.78 KiB) Downloaded 35 times
screenies.png
screenies.png (15.46 KiB) Viewed 830 times
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
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

To save me some time, can you determine whether it's really the bridgehead that's causing the trouble? Just temporarily replace the bridge with regular track (of course you'll have to remove the tracks below), to see if it's a general pathfinding issue or really specific to bridgeheads.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

I have similar constructs elsewhere on the map, so I assumed..., but we all know what they say about assuming, right? Anyway, it came true.

It happens even if there isn't a bridge there.

Savegame, with normal track, from just before Train 132 reserves its path into the block. Same newgrfw and ttdpatch.
Attachments
TRP01.rar
(278.15 KiB) Downloaded 30 times
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
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 15 guests