News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Recent posts

#71
Simutrans Tutorial / Re: Tutorial - code review
Last post by Andarix - January 16, 2026, 01:07:26 PM
#72
[ES]Español (Spanish) / Re: Opción de no quebrar en el...
Last post by AndreuVNG - January 16, 2026, 12:41:46 PM
Quote from: Andarix on January 16, 2026, 12:22:06 PMAbajo, en la lista de jugadores.
Oh si gracias. Que memoria!!!
Me cuesta encontrar las cosas en este pak. No me gusta nada los menús, sobre todo el de la administración de lineas. Antes lo tenias todo a la vista y ahora hay muchas pestañitas.
Me tendre que acostumbrar.
Gracias.
#73
[ES]Español (Spanish) / Re: Opción de no quebrar en el...
Last post by Andarix - January 16, 2026, 12:22:06 PM
Abajo, en la lista de jugadores.
#74
Simutrans Tutorial / Re: Tutorial - code review
Last post by Andarix - January 16, 2026, 12:18:46 PM
What confuses me is that the line is being renamed.

And there is another error. If the stops are built automatically, the stop check for the timetable does not work.
#75
[ES]Español (Spanish) / Opción de no quebrar en el pac...
Last post by AndreuVNG - January 16, 2026, 12:10:22 PM
Hola.
En el pack 120 había la opción de seguir jugando aún con quiebra económica.
Ahora estoy con la 124.3.1 y no encuentro la opción para habilitar seguir jugando.
¿Sabéis donde esta la opción?
Gracias

#76
Patches & Projects / Re: tool_wayremover_t can be u...
Last post by poppo - January 16, 2026, 11:39:46 AM
OK, but I do not want to ignore one-way sign on them.
Also, my change allows decorating those 0kmh way with catenary (because we only watch the max-speed of testdriver).
#77
Simutrans Tutorial / Re: Tutorial - code review
Last post by Yona-TYT - January 16, 2026, 11:38:40 AM
I'm stuck here; it seems the time and load values don't match the ones mentioned.
simscr01.png
#78
Simutrans Tutorial / Re: Tutorial - mail extension
Last post by Andarix - January 16, 2026, 11:32:32 AM
Another question is how it should be built.

There are several options.

  • Extension building (possibly involving demolition)
  • Build a post office stop next to it
  • Build a combined passport/post office stop next to it
  • Build a combined passport/post office stop above it

Build either one if possible, with the following priority:

  • Free tile
  • Post stop next to it
  • Replace pass/post stop (if present)
  • Demolish and build next to it (this would happen very rarely)

With option 3, it's also possible to build next to it. The general question here is whether to build next to it or over it.

Option 4 is likely to be very rare in a purely automatic search.

Or should there be a fixed ratio?
#79
Patches & Projects / Re: tool_wayremover_t can be u...
Last post by prissi - January 16, 2026, 11:29:20 AM
Since the 0km/h was meant for things like city walls and non-navigatable rivers, it was somewhat intended to not remove those.

There are other things around the wayremoval tool, like obeying the ribis of one way signs.

Also, I would rather add a flag to vehikel_t, "bool removal_driver:1;" which then could to all kind of action one deemed useful during removal like ignoring one way roads etc. That is much easier than handing down a parameter and also more efficient as that memory locations stays in the chache compared to a parameter on the stack.
#80
Simutrans Tutorial / Re: Tutorial - mail extension
Last post by Yona-TYT - January 16, 2026, 11:08:13 AM
That seems fine to me, and since there is a mix between empty plots and plots with buildings, it is necessary to indicate when both steps (remove and build) must be carried out and when only the extension building needs to be built.