PBS lag time

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
User avatar
Geo Ghost
Moderator
Moderator
Posts: 6565
Joined: 25 Oct 2004 10:06
Location: UK
Contact:

PBS lag time

Post by Geo Ghost »

ok, new error i think.
The new PBS signals on the neew patch have a lag time when changing colour after a train has gone over it.
it apears that 2 of my trains approached two different signals almost at the same time (give or take a couple of milli-seconds) and they both went through them and bang, collision.
Is this 'Lag time' with the signals deliberate, or a little problem.
Posted a pic below to show where it happens.
Attachments
Hey, isnt one suposed to be red?
Hey, isnt one suposed to be red?
SCR140.png (53.1 KiB) Viewed 2068 times
Alfasmurf
Engineer
Engineer
Posts: 2
Joined: 14 May 2005 14:00

Post by Alfasmurf »

i experienced the same thing.. two trains arrived at the same station from opposite ends.. they're both let in, and bang..
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: PBS lag time

Post by PikkaBird »

Geo.c Ghost wrote:ok, new error i think.
The new PBS signals on the neew patch have a lag time when changing colour after a train has gone over it.
I think the problem you have there is the waypoint. The train which is going through the waypoint is let through the signal because there is a clear path to its destination.
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post by Flamelord »

And don't keep depots in PBS blocks, my trains always crash when I have depots in the PBS blocks. Meh, Pikka's probably right about the cause for you, so whatever.
Additional Livery Set
Official TT-Jewel Staite FanClub
User avatar
Geo Ghost
Moderator
Moderator
Posts: 6565
Joined: 25 Oct 2004 10:06
Location: UK
Contact:

Re: PBS lag time

Post by Geo Ghost »

PikkaBird wrote:
Geo.c Ghost wrote:ok, new error i think.
The new PBS signals on the neew patch have a lag time when changing colour after a train has gone over it.
I think the problem you have there is the waypoint. The train which is going through the waypoint is let through the signal because there is a clear path to its destination.
i did wonder that, but it seems to be doing it everywhere. regardless if theres a waypoint there or not :?
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Since you didn't post the savegame (tsk tsk), I can't test it, but I'm pretty sure it happens because of the waypoint. You need to change it so that you have a signal on both sides of it to be safe.
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.
User avatar
Geo Ghost
Moderator
Moderator
Posts: 6565
Joined: 25 Oct 2004 10:06
Location: UK
Contact:

Post by Geo Ghost »

Patchman wrote:Since you didn't post the savegame (tsk tsk), I can't test it, but I'm pretty sure it happens because of the waypoint. You need to change it so that you have a signal on both sides of it to be safe.
Apologise, it appears it must have been the waypoint, because deleteing it, changing the order, or putting a signal after it seems to work. sorry, i thought i had tried that, i obviously hadnt :oops:
User avatar
The Person
Traffic Manager
Traffic Manager
Posts: 249
Joined: 01 Mar 2005 13:41
Location: Where Norwegians are made

Post by The Person »

The way I've understood it PBS signals where a train is passing don't go green before the train has passed. But maybe that's just me thinking that's how it is as PBS signals in my games always work that way, waypoint or not.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

The signal the train is *passing* stays green. The other block-entrance signals go red.
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
The Person
Traffic Manager
Traffic Manager
Posts: 249
Joined: 01 Mar 2005 13:41
Location: Where Norwegians are made

Post by The Person »

That was what I was trying to say in much clearer words. I've always thought it was how PBS is supposed to act.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

So, in other words, do NOT put checkpoints or depots inside of PBS blocks. Right?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Geo Ghost
Moderator
Moderator
Posts: 6565
Joined: 25 Oct 2004 10:06
Location: UK
Contact:

Post by Geo Ghost »

erm...
yes! :P
User avatar
Siema
Traffic Manager
Traffic Manager
Posts: 176
Joined: 24 Oct 2004 23:36
Location: Warsaw, Poland
Contact:

Post by Siema »

Hmm... I place depots in PBS blocks very often and there are no crashes. They appears when there is signal-box or bridge (I don't know if tunnel also) in PBS block. But who knows, maybye depots also causes collisions...
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

Siema wrote:Hmm... I place depots in PBS blocks very often and there are no crashes. They appears when there is signal-box or bridge (I don't know if tunnel also) in PBS block. But who knows, maybye depots also causes collisions...
I haven't seen any problems with bridges. I have seen problems with depots, stations and waypoints, but I don't believe it's a bug, I believe it's acting as intended.

Take the common layout below - a double track coming into a single-track terminus station, with depot.

Train 1 comes into the station.
Train 2 arrives at the signal. The pathfinding sees a clear path into the depot and lets it through.
Train 1 finishes loading, leaves the station, and BOOM, thumps straight into the train entering the depot.

Now, how do we fix this layout? By placing a signal between the depot and the station (if we make it a presig exit, and make the signal from the double track a presig entrance, then trains wanting to enter the station will wait there until the station is vacant).

So the rule is... a pbs block must not contain a station (or waypoint), unless that station is the only possible destination in the block.
Attachments
Image1.gif
Image1.gif (1.11 KiB) Viewed 1896 times
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

There are routing problems with bridges, but I've not seen one cause a crash.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Siema
Traffic Manager
Traffic Manager
Posts: 176
Joined: 24 Oct 2004 23:36
Location: Warsaw, Poland
Contact:

Post by Siema »

I'm not using situation that you described (before fixing), PikkaBird because I find it as mistake and I'm not suprised that this situation causes problems :D But as I said I'm using depots in closed PBS blocks and there are no accidents.
There are routing problems with bridges, but I've not seen one cause a crash.
I have got one, but I haven't seen it also because I wasn't there and after crash I have started to clear this mess and forgot to check what it exactly was (bridge for sure) :roll:
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 21 guests