kyranf / robotarmyfactorio

A mod to add robot troop units and perhaps associated support buildings and items to produce and control them.
MIT License
35 stars 11 forks source link

Crash #153

Closed OvermindDL1 closed 2 years ago

OvermindDL1 commented 5 years ago
4750.804 Error MainLoop.cpp:1143: Exception at tick 7676959: The mod Robot Army caused a non-recoverable error.
Please report this error to the mod author.

Error while running event robotarmy::on_player_selected_area (ID 49)
LuaUnitGroup API call when LuaUnitGroup was invalid.
stack traceback:
        __robotarmy__/robolib/eventhandlers.lua:111: in function 'reportSelectedUnits'
        __robotarmy__/control.lua:71: in function <__robotarmy__/control.lua:70>
stack traceback:
        [C]: in function '__index'
        __robotarmy__/robolib/eventhandlers.lua:111: in function 'reportSelectedUnits'
        __robotarmy__/control.lua:71: in function <__robotarmy__/control.lua:70
4750.813 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Robot Army caused a non-recoverable error.
Please report this error to the mod author.

Error while running event robotarmy::on_player_selected_area (ID 49)
LuaUnitGroup API call when LuaUnitGroup was invalid.
stack traceback:
        __robotarmy__/robolib/eventhandlers.lua:111: in function 'reportSelectedUnits'
        __robotarmy__/control.lua:71: in function <__robotarmy__/control.lua:70>
stack traceback:
        [C]: in function '__index'
        __robotarmy__/robolib/eventhandlers.lua:111: in function 'reportSelectedUnits'
        __robotarmy__/control.lua:71: in function <__robotarmy__/control.lua:70>
kyranf commented 5 years ago

I have a fix for this in the unstable branch, but it's hard for me to test it. maybe if you send me the server's save file zip i can try to reproduce it?

OvermindDL1 commented 5 years ago

Can grab it from here and load up (after synching mods of course), recently added the shortcut mod in the most recent save that moved its tool to the quick-select bar but otherwise it's normal. Description of how to replicate is on the factorio mod port mod post about this issue, it's a bit finicky and random but it 'eventually' happens following those instructions the couple other players state.

kyranf commented 2 years ago

I expect this is resolved now?

OvermindDL1 commented 2 years ago

I have been running it on a new server set up a month ago without issues thus far, it is a different set of mods but I'd probably lean to it being resolved by now regardless, lol.