News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

[10.12] Rail sign bug

Started by ӔO, October 28, 2012, 11:07:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ӔO

Occasionally, convoys will get stuck behind a signal, even if their paths are clear.
It seems to happen more commonly on diagonals or just after exiting a diagonal.

Using 'B' to clear their next block will help the convoys move along.


edit: Also, players, other than the owner, can also interfere with the block reservation of trains.


edit2: Seems to be something with two trains running closely together.

edit3: Seems to be sign on station + two trains running closely together + right after a curve.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

jamespetts

Thank you for the report. Can you be a little more specific - when you say "seems to be..." do you mean that the bug is confined to this situation?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

ӔO

From my testing, it would appear to be that some signal configurations near or on stations may cause the block reservation to act inappropriately.

Hopefully this picture would demonstrate it best.

Top: no
Middle: okay
Bottom: okay

Conditions appear to be signal in the middle of platform with two or more trains running close to each other in serial.
It also seems to occur if a choose signal is placed right after a curve, with two or more trains running close to each other in serial.

It was happening quite frequently on asphix's game.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

asaphxiix

here is a save - see in northern italy

http://simutrans-germany.com/files/upload/nor-italy.sve

edit: just loaded this and I see that upon loading the game, the jam is released...but you can still see the line formed

jamespetts

#4
Hmm. I can see this problem in the very big nor-italy.sve game, but I cannot reproduce it in a simple testing environment, which makes it difficult to find where in the code that the problem is using breakpoints.

AEO - do you think that you could upload the game that you made so as to produce that screenshot above?

Edit: Narrowed down the problem a little: it seems to occur when trains reserve some arbitrary tiles way ahead of where they are on their ultimate route, and in front of some other trains, which are then held back. I have yet to find out why this occurs...
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

jamespetts

I think that I have managed to find and fix this one now: have a look at my 10.x branch. If anyone could test this before I put out the new version, I should be most grateful.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

asaphxiix

I would so like to! I've managed to compile a pak so far... but still compiling the game seems kinda complicated.

you the best james

jamespetts

10.13 with the fix for this now released.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.