Path-based signalling preview and test version
Moderator: TTDPatch Moderators
Another crash. Two trains leave a station at the same time, wait at the entrance of a PBS block for a train to clear, then pick crossing paths.
Crash occours on December 21st at Gawler Station.
Running alpha 48 on Windows XP.
Crash occours on December 21st at Gawler Station.
Running alpha 48 on Windows XP.
- Attachments
-
- TRP24.zip
- (71.98 KiB) Downloaded 124 times
-
- PBSCrash1.jpg (55.65 KiB) Viewed 4364 times
-
- Tycoon
- Posts: 14275
- Joined: 09 Jan 2003 08:37
- there was road-rail junction (road owner: town)
- I removed (demolished only one, not that with rail) 4 road squares (for a bridge)
- what I see ? both rails are grayed ! (PBS-ed)
- on one of the rails train manage to run and gryed disappeared, on the second one it is still there
- there is/was no pbs signal at any side of the road-rail junction
including: savegame before doing anything,after building bridge(you can demolish bridge to see that one of the rails is still greyed until any train will pass it), ttdpatch.cfg
- I removed (demolished only one, not that with rail) 4 road squares (for a bridge)
- what I see ? both rails are grayed ! (PBS-ed)
- on one of the rails train manage to run and gryed disappeared, on the second one it is still there
- there is/was no pbs signal at any side of the road-rail junction
including: savegame before doing anything,after building bridge(you can demolish bridge to see that one of the rails is still greyed until any train will pass it), ttdpatch.cfg
- Attachments
-
- save.zip
- (464.33 KiB) Downloaded 112 times
what are you looking at? it's a signature!
-
- TTDPatch Developer
- Posts: 417
- Joined: 13 Apr 2004 13:35
- Location: Eindhoven, Netherlands
- Contact:
I'm having some more train crashes with alpha 48. They all mostly look the same, so i'm only posting one savegame, but if you want more, i've got them 

- Attachments
-
- a screenshot
- scr99.png (201.67 KiB) Viewed 1783 times
-
- TRP00.SV1.gz
- The savegame
- (230.92 KiB) Downloaded 148 times
Crash in a tunnel. 1 train holds up a second train at a signal in front of a tunnel. 1st train's back end clears the signal and completely enters the tunnel. As the 2nd train approaches the red light it turns green for same tunnel and crashes with train 1.
- Attachments
-
- JT_train_crash.zip
- (266.11 KiB) Downloaded 129 times
14:31:29 * Cctoide brandishes huge syringe, runs after Singaporekid
14:31:46 * JTanczos trips Cctoide causing him to fall on the syringe
14:32:32 * Cctoide sticks syringe full of Ritalin into JTanczos instead
14:35:25 -!- JTanczos [~JT@JTanczos.users.quakenet.org] has quit [Quit: gasps from the sudden shot of ridalin... Thankfully I saved the Singaporekid from any harm! Hopefully my death has meaning in this cruel world. Dont waste it Singaporekid! dont waste.... *gurgle gurgle* *dead*]
14:35:36 < Singaporekid> Booooring.
14:35:38 < Singaporekid>
14:35:58 < Singaporekid> Besides, ritalin isn't lethal.
14:36:09 * Singaporekid snags some of it for himself
14:36:29 -!- Singaporekid [~notme@cm233.epsilon122.maxonline.com.sg] has quit [Quit: *GURGLE GURGLE* *lol ded*]
14:31:46 * JTanczos trips Cctoide causing him to fall on the syringe
14:32:32 * Cctoide sticks syringe full of Ritalin into JTanczos instead
14:35:25 -!- JTanczos [~JT@JTanczos.users.quakenet.org] has quit [Quit: gasps from the sudden shot of ridalin... Thankfully I saved the Singaporekid from any harm! Hopefully my death has meaning in this cruel world. Dont waste it Singaporekid! dont waste.... *gurgle gurgle* *dead*]
14:35:36 < Singaporekid> Booooring.
14:35:38 < Singaporekid>

14:35:58 < Singaporekid> Besides, ritalin isn't lethal.
14:36:09 * Singaporekid snags some of it for himself
14:36:29 -!- Singaporekid [~notme@cm233.epsilon122.maxonline.com.sg] has quit [Quit: *GURGLE GURGLE* *lol ded*]
I should have posted this before, but this savegame is mad. If I load it here I get about 10 train crashes in a few minutes (with gamespeed on 8x). There is a problem with a PBS signal behind another, causing a train to get stuck (remove the first one when it pops up), but the crashes are shocking and happen at several places on the map.
It was saved in alpha 47 but still causes crashes under 48.
It was saved in alpha 47 but still causes crashes under 48.
- Attachments
-
- TRP09.SV1
- (489.93 KiB) Downloaded 136 times
US Train Set v0.87.1 now released: http://www.tt-forums.net/viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual
I have a minor problem with PBS, running Alpha 48.
In a station entrance with three lanes going to the station, when all lanes can reach any platform, PBS works as it should (blork-test1.png), but when I try to prioritize the lanes, in effect cutting off some platforms from the lower two lanes, PBS gets confused (blork-test2.png).
It seems the PBS sees that there is a free platform, activates the path finding, and doesn't find a path to the free platform and chooses something stupid instead...
In a station entrance with three lanes going to the station, when all lanes can reach any platform, PBS works as it should (blork-test1.png), but when I try to prioritize the lanes, in effect cutting off some platforms from the lower two lanes, PBS gets confused (blork-test2.png).
It seems the PBS sees that there is a free platform, activates the path finding, and doesn't find a path to the free platform and chooses something stupid instead...
- Attachments
-
- With all lanes leading to all platforms, everything works.
- blork-test1.png (16.04 KiB) Viewed 3954 times
-
- Train from the lower tunnel really want to go to the free platform, but there is no rail.
- blork-test2.png (17.39 KiB) Viewed 3954 times
Simple - Don't do that. PBS wasn't designed to be quite that smart, I think.
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
I've already asked for something related - "don't make it a PBS block if there are no non-intersecting paths" - but that's too hard. And this sounds like a similar programming challenge.
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
Believe me... you have no idea how many other setups that would break. I'm trying very, very hard not to add more special cases to PBS, because those already make debugging and fixing problems incredibly hard.sobo wrote:would be good for the future though..
"dont consider possible exits which cannot be within the PBS block.."
Some junction setups just don't work well with PBS. This is one of them.
Is there something in the PBS code that tells trains that if a train was told to skip a light and ended up intersecting a reserved piece of rail, that the rail is marked reserved incorrectly?
EXAMPLE:
Junction:
..S
<|
..S
the lines are rails, ignore the dots, the S's are signals.
A train is ALMOST out of the junction to the north, but there is a HUGE jam because of a lack of foresight on the part of the railroad's engineers (This is in my dad's current game), so the train waiting at the signal to the south is told to skip the light, even though the junction just after it still has a reserved track in it, the straight track. The train is being sent to the depot, and manages to do so safely. However, the train behind it SKIPS the light without being told to, and crashes into the train in front of it! OH NO!
Why does that happen?
EXAMPLE:
Junction:
..S
<|
..S
the lines are rails, ignore the dots, the S's are signals.
A train is ALMOST out of the junction to the north, but there is a HUGE jam because of a lack of foresight on the part of the railroad's engineers (This is in my dad's current game), so the train waiting at the signal to the south is told to skip the light, even though the junction just after it still has a reserved track in it, the straight track. The train is being sent to the depot, and manages to do so safely. However, the train behind it SKIPS the light without being told to, and crashes into the train in front of it! OH NO!
Why does that happen?
AFAICT, trains just unreserve tracks once they pass them, regardless of whether or not they were previously reserved.
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
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Yes, a train wouldn't know if the track is reserved for itself or for another train. If it comes to a tile with reserved track, it can only assume that it must be the right train, because no other train could've got to that tile, since it would've been an intersecting path.
Forcing trains to ignore a PBS signal is a lot more dangerous than with regular signals, for this reason.
Forcing trains to ignore a PBS signal is a lot more dangerous than with regular signals, for this reason.
Interesting PBS problem here, mainly caused by stupid track layout that needs fixing by me but a problem nevertheless. The MP-54 EMU and the S2 Northern will come extremely close to crashing in this game (right in front of you when it loads) because the S2 will not reserve a path properly across the track it uses.
PBS configuration:
PBS configuration:
Code: Select all
pathbasedsignalling.autoconvertpresig on // Convert pre, exit and combo signals into PBS signals
pathbasedsignalling.manualpbssig on // Allow manually setting PBS signals
pathbasedsignalling.preservemanualpresig off // Don't convert junctions with manually set signals into PBS
pathbasedsignalling.showreservedpath on // Show reserved track pieces darker
pathbasedsignalling.shownonjunctionpath on // Show reserved track pieces on non-junction tiles too
pathbasedsignalling.allowunsafejunction off // Don't hold trains at unsafe PBS signal
pathbasedsignalling.allowunsafereverse off // Don't stop trains that can't reverse safely
- Attachments
-
- TRP12.SV1
- (313.83 KiB) Downloaded 134 times
US Train Set v0.87.1 now released: http://www.tt-forums.net/viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual
-
- Tycoon
- Posts: 14275
- Joined: 09 Jan 2003 08:37
agree, I noticed the same thing here ... I had to remove all PBS at stationsKaCzach wrote:Under a48 this station worked fine, after upgrading to a49 this is what I get:
and I have some problems with train taking straight way at PBS junction, it takes a bit detour
what are you looking at? it's a signature!
Who is online
Users browsing this forum: No registered users and 14 guests