Train Supply Manager (TSM)


Control train scheduling via a publish/subscribe event based system. Easy to use, and stress tested to gigabase level. Includes automated refueling. Distributed priorities for sourcing, and request priorities. Setup via simple to use GUIs and basic combinators.

Content
7 months ago
0.17 - 1.1
15.6K
Trains

b [fixed 1.1.15] nil backer_name errors

1 year, 1 month ago
(updated 1 year, 1 month ago)

Hey LordKTor,

first of all, thanks for the amazing mod!

I had these errors in my playthrough with latest (1.1.14) version of the mod:

__train-pubsub__/control-util.lua:404: attempt to concatenate field 'backer_name' (a nil value)

The effect was not game breaking, just one of my trains stopped working properly and was getting stuck on one of its endpoint stations. I don't remember what lead to it (massive factory refactoring in progress), and I couldn't isolate the error into a small save file, but commenting that line out seemed to do the trick, though I'm not sure whether the logic after the print fixed the internal state, or I'm just ignoring the error. The train seem to work fine now, but I figured I report this to help improve the mod.

billbo99 β˜†
1 year, 1 month ago

Not sure how a station can have a "nil" value for the station name, but I will add a check
.

New response