Skip to content

Train System Utilities 1.0.5

Choose a tag to compare

@hololocheck hololocheck released this 18 Jul 06:55
· 12 commits to master since this release

Train System Utilities 1.0.5

A multiplayer fix: creating a station group no longer kicks everyone off the server.

πŸ“¦ Installation β€” one jar

Put the single file below into your mods/ folder, and delete the old 1.0.4 jar.

File What it is
trainsystemutilities-1.0.5.jar The mod. The required Manta UI library is bundled inside it β€” you do not download Manta separately.

βœ… Dependencies (all required)

Dependency Required version Tested with
Minecraft 1.21.1 1.21.1
NeoForge 21.1.220 or newer 21.1.221
Create for 1.21.1 6.0.10
GeckoLib 4.7 or newer 4.8.4
Manta bundled bundled inside this jar

Create and GeckoLib are not bundled β€” install them yourself. Manta is included inside the mod jar.

What's fixed

  • Creating a station group no longer disconnects players on a server. Saving a station
    group ran a station-structure analysis on the server's main thread. On anything but a small
    station that could hold the thread past the 30-second keep-alive window, and every connected
    player was dropped with "Timed out". The analysis turned out to be dead code β€” nothing ever
    read its result β€” so it is gone. In-station navigation is unaffected: its route analysis
    always ran in the background, and still does.

  • Route analysis no longer stalls the server. That background build read the world one
    block at a time from worker threads. A chunk lookup made from any thread other than the
    server's main thread is bounced to the main thread, so this flooded it with work. Chunks are
    now fetched once and reused. On an eight-platform station the whole analysis finishes in
    about a second, and the main thread is busy for 11 milliseconds.

    Neither problem was visible in singleplayer, because a local connection has no read timeout.

  • Wiki: the station range tool no longer documents a command that does not exist. The page
    pointed at /tsu sg manage. There is no such command β€” station group management is a mode
    of the tool itself: hold it, Alt + mouse wheel to the GUI mode, then right-click.

Full changelog: v1.0.4...v1.0.5