You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was copy-pasting some trains and somehow ended up with a train that just went back and forth on the same route, ignoring any conditions and filling up the cargo beyond the requested amount.
I was able to use the indev menu to figure out that that train was NOT actually part of the cybersyn network, even though it went through the depot multiple times (setting a filter for that particular item showed 0 results). Deleting that train fixed the issue but it would be nice to have some sort of a warning when a train is visiting a cybersyn station without it being connected to the network.
For anyone who wants to check their current network for zombie trains, use this:
/clocaltrains=remote.call("cybersyn", "read_global", "trains")
game.print("Number of trains in cybersyn: " ..table_size(trains))
localgame_trains=game.surfaces[1].get_trains()
game.print("Number of trains in game: " ..#game_trains)
The counts should be identical, ignoring any shuttle trains.
The text was updated successfully, but these errors were encountered:
I was copy-pasting some trains and somehow ended up with a train that just went back and forth on the same route, ignoring any conditions and filling up the cargo beyond the requested amount.
I was able to use the indev menu to figure out that that train was NOT actually part of the cybersyn network, even though it went through the depot multiple times (setting a filter for that particular item showed 0 results). Deleting that train fixed the issue but it would be nice to have some sort of a warning when a train is visiting a cybersyn station without it being connected to the network.
For anyone who wants to check their current network for zombie trains, use this:
The counts should be identical, ignoring any shuttle trains.
The text was updated successfully, but these errors were encountered: