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 with "attempt to index local 'forceRetreatTables'" #138

Closed blubFisch closed 3 years ago

blubFisch commented 6 years ago

Hi, I got this in mp game after my teammate set up a guard station and tried around with it (the station wouldn't deploy any bots at all)

8510.661 Error MainLoop.cpp:1029: Exception at tick 507420: Error while running event robotarmy::on_tick (ID 0)
__robotarmy__/robolib/retreat.lua:63: attempt to index local 'forceRetreatTables' (a nil value)
8510.661 Error ClientMultiplayerManager.cpp:95: MultiplayerManager failed: "Error while running event robotarmy::on_tick (ID 0)
__robotarmy__/robolib/retreat.lua:63: attempt to index local 'forceRetreatTables' (a nil value)"
kyranf commented 6 years ago

the guard station is not deploying bots? that's strange. can you reproduce this issue?

as for the retreat table being nil, i'll have to add a bug fix for that in the upcoming update. thanks