Robot Army


Manufacture and deploy automated robot soldiers to attack your foes and defend your factory!

11 days ago
0.13 - 2.0
35.9K

g can't move my army

2 months ago

hey i got this kind of msg. any advice ?

Modyfikacja Robot Army (2.4.21) spowodowała niemożliwy do naprawienia błąd.
Proszę, zgłoś ten błąd autorowi tej modyfikacji.

Error while running event robotarmy::on_tick (ID 0)
LuaCommandable API call when LuaCommandable was invalid.
stack traceback:
[C]: in function 'index'
__robotarmy
/robolib/Squad.lua:651: in function 'validateSquadIntegrity'
robotarmy/robolib/Squad.lua:395: in function 'squadStillExists'
robotarmy/robolib/SquadControl.lua:11: in function 'updateSquad'
robotarmy/robolib/eventhandlers.lua:90: in function 'processSquadUpdatesForTick'
robotarmy/robolib/eventhandlers.lua:439: in function 'tickForces'
robotarmy/robolib/eventhandlers.lua:552: in function <robotarmy/robolib/eventhandlers.lua:549>

2 months ago

Ah, that's annoying - the last couple of patches I have been trying to fix that. The new "LuaCommandables" behaviour from the Factorio game API appears to be less stable than it used to be before that new system. It seems to become invalid very frequently which is messing up my code.

I will have to put more work into working out when/where it becomes invalid. I may even need to do a bug report to the Factorio Devs.

New response