The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Simutrans-Extended bug reports => Topic started by: Donald C. on December 27, 2022, 05:43:05 AM

Title: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Donald C. on December 27, 2022, 05:43:05 AM
I'm only using track_signal everywhere, and trains all run normal when they are leaving the depot. But after some time, all my trains are running only at 1 km/h. This bug has been reported 3 years ago, but only when switching from cab signalling, and in a 1.2GB save (my save is only 0.2MB): https://forum.simutrans.com/index.php?topic=19387.0

Save files attached below.
You need to download pak192.comic.ext here: pak192.comic-serverset-extended-nightly.zip
You can open it with the latest nightly version of Simutrans Extended.
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Spenk009 on December 27, 2022, 12:33:28 PM
Your link to the pakset isn't working.

But have you tried putting an end of signalling signal between switching signalling methods to reset the type? It's not a fix, but a solution.
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Donald C. on December 27, 2022, 01:05:33 PM
Pakset download link:https://github.com/Flemmbrav/Pak192.Comic/releases/tag/Nightly

I'm only using one type of signal all the way.

Screenshot attached below.
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Rollmaterial on December 27, 2022, 11:02:58 PM
As Ranran pointed out, you are not supposed to place signals in the middle of a station. Remember that fool-proofing is not the highest development priority in Extended.
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Donald C. on December 28, 2022, 05:11:01 AM
After some testing, I found that trains will reduce their speeds to 1 km/h once they pass through a level crossing, even if there is no signal on the crossing.

The final solution is simple: remove all level crossings.

EDIT: I still find my train running at 1 km/h after leaving a platform without any signals. This bug is exclusive to the now-not updated pak192.comic.ext.
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Flemmbrav on December 28, 2022, 08:49:50 AM
Just to confirm the dat file of the signal isn't faulty:

This should be said dat file:
obj=roadsign
name=track_signal_form
copyright=PappeTeeMaster
waytype=narrowgauge_track
intro_month=1
intro_year=1835
retire_year=1980
retire_month=1
cost=750

working_method=track_circuit_block
is_signal=1
aspects=2
normal_danger=1

icon=> ./images/signals/signal.1.8
cursor=./images/signals/signal.1.9
Image[0-7]=./images/signals/signal.1.<$0>

https://github.com/Flemmbrav/Pak192.Comic/blob/Extended/pakset/infrastructure/track/signals.dat

Anything wrong with that?
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Donald C. on December 28, 2022, 12:48:31 PM
Quote from: (N)Ranran (Hibernating) on December 28, 2022, 09:19:37 AMSince this signal behavior method is for single track, it would be better to have a signal for double track. i.e. absolute block signal.

But which one is the 'absolute block signal' in pak192.comic? I can't find it. I could only find long block signals, which require the train to stop every time when it reaches a signal.
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Flemmbrav on December 28, 2022, 01:18:49 PM
I replaced all track_circuit_block signals to absolute_block.

Could you try downloading the game again and see if it fixes the issue.

https://github.com/Flemmbrav/Pak192.Comic/releases/tag/Nightly
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Andarix on February 07, 2024, 03:11:31 PM
Quote from: Rollmaterial on December 27, 2022, 11:02:58 PMAs Ranran pointed out, you are not supposed to place signals in the middle of a station. Remember that fool-proofing is not the highest development priority in Extended.

This is due to the automatic signal construction every x fields. There it is not checked whether the signal is built on a platform or not. The problem is also likely to affect Simutrans Standard.

I also think the default setting of 2 fields is a bit small.
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Donald C. on February 07, 2024, 03:16:52 PM
Yes, this bug still happens in standard to date, though only on inclines with the track_signal.
https://forum.simutrans.com/index.php/topic,22747.new.html

Also the same question: Which one is the absolute block signal? Can't find any of them.
Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Rollmaterial on February 07, 2024, 07:30:54 PM
In Extended, you will typically need to build a signal box before you can build its respective signals. More info here:

Title: Re: [pak192.comic.ext] Trains running at 1 km/h even in track circuit block mode
Post by: Donald C. on February 08, 2024, 01:43:01 AM
I'm aware of this, but in either cases it's not a bug related to the signal box. Also, this bug exists in the standard version on inclines.

Quote from: Ranran(retired) on December 28, 2022, 09:19:37 AMSince this signal behavior method is for single track, it would be better to have a signal for double track. i.e. absolute block signal.

This anomaly may occur because it is for a single track. Tile reservation is not working properly.
Signals for double tracks have simple tile reservations. A signal in the middle of a station probably wouldn't be a problem.

The culprit is the track_circuit_block signals, that should be replaced by absolute_block.