Search found 6 matches

by The_LORD_thy_GOD
Thu Sep 11, 2025 9:39 pm
Forum: Modding discussion
Topic: `LuaRecord.is_preview` and the `on_pre_build` event.
Replies: 2
Views: 212

`LuaRecord.is_preview` and the `on_pre_build` event.

(In the #mod-dev-help discord channel, Bilka asked for a forum post to be made about this issue. Link to the original discord discussion: here )

We received the following multiplayer crash report:

09-11-2025, 14-34-14.png



Upon analysis, we found the crash is occurring in the `on_pre_build ...
by The_LORD_thy_GOD
Thu May 01, 2025 7:21 am
Forum: Modding interface requests
Topic: Reduce overhead of LuaEntity::get_signals with parameter if_modified_since
Replies: 2
Views: 345

Re: Reduce overhead of LuaEntity::get_signals with parameter if_modified_since

Seconded. This could save considerably Lua time in any mod that uses combinators for gathering input.
by The_LORD_thy_GOD
Tue Apr 01, 2025 1:19 am
Forum: Modding interface requests
Topic: Routing trains to specific stops
Replies: 8
Views: 1365

Re: [2.0.43+] Routing trains to specific stops

For Project Cybersyn we have considered various workarounds, up to and including just forcing the priorities of all same-named stops to 50. Ultimately we settled on issueing a warning when a controlled train lands at a stop with priority not equal to 50.

We have simply been telling people not to ...
by The_LORD_thy_GOD
Mon Mar 31, 2025 9:18 pm
Forum: Modding interface requests
Topic: Routing trains to specific stops
Replies: 8
Views: 1365

Re: [2.0.43+] Routing trains to specific stops

With the addition of the new and very helpful LuaSchedule API, I thought it would be a good time to raise this issue again. Having to use intermediating rail stops causes fundamental issues with the builtin priority and train limits systems.

Being able to schedule a train directly to a specific ...
by The_LORD_thy_GOD
Mon Nov 11, 2024 6:17 pm
Forum: Modding interface requests
Topic: Routing trains to specific stops
Replies: 8
Views: 1365

Re: [2.0] Routing trains to specific stops

Changed the title.

I don't think it's a duplicate, though. All of the information and developer responses in that thread are no longer valid due to the introduction of train priority. This is a new issue that was solvable in 1.1 but isn't in 2.0.
by The_LORD_thy_GOD
Sun Nov 10, 2024 5:43 pm
Forum: Modding interface requests
Topic: Routing trains to specific stops
Replies: 8
Views: 1365

Routing trains to specific stops

Mods that generate train schedules often want to send trains to particular stations, even in the absence of unique station names. However, train schedules send trains by station name and can't target particular stations.

In 1.x, mods like LTN would work around this by adding the coordinates of a ...

Go to advanced search