News:

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

Trains teleporting through wormholes.

Started by Vladki, September 16, 2016, 10:02:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

After restarting the experimental server I have to resolve some deadlocks. But then I noticed something really weird. See this screenshot


Look at the left side of station - there you see a few bulk waggons, without engine. The corresponding engine went through a wormhole to the right side of station. Just a while before this happened, the same did a log goods train which can be see split and stuck (head-on collision with DMU) nearby.
It seems that all trains visiting trnava cargo station are affected. They all come from right, and reverse at the station. So they have no reason to approach from left.

I have a bad feeling that this save is seriously corrupted, and we should start from scratch.

jamespetts

Does the problem recur after the trains have been sent to a depot and emerged again? If so, the problem may be a current bug in the code rather than legacy data from times when the game had bugs now fixed left over in the saved game.
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.

Vladki

#2
I have sent those trains to depot and released again, and it is still the same

Another problem - related to that  - these trains do not unload properly.

In fact all trains are affected - look e.g. at the dairy or grain mill. It is just not as spectacular as at the cargo station

jamespetts

#3
I think that this is an issue with route splicing and choose signals; I am investigating further. Perhaps we could in the meantime fork the version with this bug as Simutrans-Salvador-Dali? There is a sort of satisfying rhythmic logic to their circumperambulations.

Edit: I think that I have fixed this: I should be grateful if you could re-test to confirm. Thank you.
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.

Vladki

Tested on the server game (updated exe and pak), and ot looks good.  :thumbsup: