Page 1 of 1
[Fixed] Small bug after update to 0.16.31
Posted: Mon Mar 19, 2018 8:39 pm
by ssilk
Error while running event LogisticTrainNetwork::on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:1384: bad argument #0 to 'get_merged_signals' (Wrong number of arguments.)
(LTN versoin is 1.7.5)
Mail me if you need the map, Optera.
Re: Small bug after update to 0.16.31
Posted: Mon Mar 19, 2018 8:51 pm
by skyfan_muk
Am getting this too; have a large-ish LTN with 30+ trains and several depots.
skyfan_muk
Re: Small bug after update to 0.16.31
Posted: Mon Mar 19, 2018 8:52 pm
by Optera
I haven't had time to keep up with api changes or play Factorio for some weeks.
Going by the latest API documentation
get_merged_signals should still work in 0.16.31 as it did in 0.16.24.
Maybe 0.16.31 broke this function.
Re: Small bug after update to 0.16.31
Posted: Mon Mar 19, 2018 9:06 pm
by Bilka
It's indeed the base game's fault:
viewtopic.php?f=30&t=58861
Error: Migrating to 0.16.31
Posted: Tue Mar 20, 2018 8:54 pm
by cebor
Hello,
getting the following errors while migrating from 0.16.30 to 0.16.31.
Code: Select all
9.970 Error InterruptibleStdioStream.cpp:54: Reading stdin failed
9.989 Error MainLoop.cpp:1031: Exception at tick 44280001: Error while running event LogisticTrainNetwork::on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:1384: bad argument #0 to 'get_merged_signals' (Wrong number of arguments.)
9.989 Error ServerMultiplayerManager.cpp:96: MultiplayerManager failed: "Error while running event LogisticTrainNetwork::on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:1384: bad argument #0 to 'get_merged_signals' (Wrong number of arguments.)"
BTW great addon!
Re: Error: Migrating to 0.16.31
Posted: Tue Mar 20, 2018 10:17 pm
by jodokus31
You should use 0.16.32, because it was a bug in base game
Re: Small bug after update to 0.16.31
Posted: Wed Mar 21, 2018 2:11 am
by skyfan_muk
Confirmed; fixed in 0.16.32
Skyfan