Ammo Loader+


More than just a turret loader. Auto load everything from turrets to artillery wagons to furnaces and even the player themselves. Auto upgrade ammo and fuel without tedious manual replacement. Infinite range and compatible with Factorissimo2.

Content
22 days ago
0.14 - 2.0
24.5K
Logistics

b Crash after placement of Radar

5 years ago

On placing a Radar, Version 0.17.52 of Ammo Loader+ will crash with the following message. I'm currently playing with Warptorio2 and quite a few other mods. I can get around the crash with disabling the mod via the ctrl-alt-shift-= and re-enabling it after I place the radar.

Error Message is as below.

Error while running event ammo-loader::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
ammo-loader/lib/util.lua:33: in function 'isValid'
ammo-loader/lib/TrackedChest.lua:51: in function 'isTrackable'
ammo-loader/lib/TrackedChest.lua:110: in function 'new'
ammo-loader/lib/createdQ.lua:202: in function 'tick'
ammo-loader/lib/Handlers.lua:129: in function <ammo-loader/lib/Handlers.lua:126>
stack traceback:
[C]: in function 'index'
__ammo-loader
/lib/util.lua:33: in function 'isValid'
ammo-loader/lib/TrackedChest.lua:51: in function 'isTrackable'
ammo-loader/lib/TrackedChest.lua:110: in function 'new'
ammo-loader/lib/createdQ.lua:202: in function 'tick'
ammo-loader/lib/Handlers.lua:129: in function <ammo-loader/lib/Handlers.lua:126>

5 years ago

Just An update, it seems possible it is a conflict with the mod Big Brother, after removing the mentioned mod the error no longer occurs.

5 years ago

Hi, thanks for reporting this!

Big brother probably silently replaces the radar via script which causes the error. I should be able to get a workaround up without much trouble. I'll let you know when Ive updated the mod.

5 years ago

I get the same error when placing a ghost turret
game version : 0.17.68
mod version : 0.17.52
other mods : Infinity Mode 0.5.0

5 years ago

I just uploaded a potential fix. Let me know if you still have issues after updating.

5 years ago

Appears to work. Doing a little additional testing but so far no problems.

New response