Auto deploy combat robots


Automatically deploys combat robot capsules when in combat. No special equipment required.

Utilities
5 months ago
1.1 - 2.0
1.94K
Combat

g Mod crashed Error reporting

9 days ago

Ive had the mod on for a few days, but havent had any issues til just now.

Today i crafted combat bots for the first time (Ive never actually ever even tried battle bots before in the years Ive played the game) to see how the mod works and did a little battling Biters clearing the area so I could lay down a new Iron Mine. After setting up the mine, I returned to my main factory base, and entered my Factorissimo Factory Building so I can check how many items i was making there easier.

I left the game running while I laid down to rest a bit with some bots still out remaining from the battle (I also have Schall Combat robotics mod and bot lifetimes extended to 15 minutes.). Some of the robots were timing out which is expected. I may have laid down for a couple hours Im not sure, but I get up and sit down to the game I move my mouse cursor to check how many items i had at this point and got the following error:

The mod Auto Deploy Combat Robots (2.0.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event auto-deploy-combat-robots::on_nth_tick(60)
LuaEntity belongs to surface nauvis-factory-floor (index 4) but a LuaEntity belonging to surface nauvis (index 1) was expected.
stack traceback:
[C]: in function 'create_entity'
auto-deploy-combat-robots/autodeploy.lua:19: in function '_deploy'
auto-deploy-combat-robots/autodeploy.lua:78: in function 'deploy_robots_for_player'
auto-deploy-combat-robots/autodeploy.lua:143: in function <auto-deploy-combat-robots/autodeploy.lua:141>

It took me to the main menu. It mentions factory floor so thats why i brought up the Factorissimo mod, cause I was inside one of those buildings. I dunno if thats a cause or conflict. Just mentioning it. Im pretty sure the error didnt pop up til after i moved the cursor, so It wasnt there waiting for me.

It said to report this error, so here we are.

8 days ago

And just today I entered a Factorissimo Factory, opened the map and on the surfaces menu on the left clicked Nauvis, and got the same error. Ive been able to replicate this one several times.

The previous time I was moving the cursor to hover over the factory circuit item that shows counts of what im crafting in there and it popped up. I dont think i got the cursor all the way to the circuit tho when it showed up.

New response