Smarter Bot Recharge

by Nexela

Forces some waiting to recharge bots to look for new recharge locations when building additional roboports.

6 years ago
0.14 - 0.16
26

b Crash when placing roboport-like entity

Occurs regardless of whether it is placed via robot or player.
In my case, I'm placing Bob's large charging pads, but it might also affect other roboport-like entities.

Relevant text from log:

Error MainLoop.cpp:788: Exception at tick 11455302: Error while running event on_built_entity (ID 6)
Expected LuaPlayer, index, or name.
stack traceback:
SmarterBotRecharge/control.lua:52: in function <SmarterBotRecharge/control.lua:37>

7 years ago

Can you post a list of the mods you have installed?

7 years ago
(updated 7 years ago)

Sure thing.

It's kinda long, so here's a pastebin of it (Doesn't include Smarter Bot Recharge as it's currently disabled, but aside from that this is everything that was enabled at the time):
http://pastebin.com/cshwMm2J

New response