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
4 months ago
0.14 - 2.0
26.4K
Logistics

g Ammo Loader Crash

5 months ago

Hello. Since I updated the mods yesterday, it keeps crashing when I load my save game. I don't know which ones exactly, several have been updated. I tried trial and error to determine which one is causing the problem, but unfortunately to no avail.
Please, can you help me? I don't want to play Factorio without ammo loader because your mod is really great.

My error report:

Die Mod Ammo Loader+ (2.0.4) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event ammo-loader::on_tick (ID 0)
LuaItemStack API call when LuaItemStack was invalid for read.
stack traceback:
[C]: in function 'index'
__ammo-loader
/lib/TrackedSlot.lua:934: in function 'clear'
ammo-loader/lib/TrackedSlot.lua:966: in function 'returnItems'
ammo-loader/lib/Force.lua:686: in function 'tickReturn'
ammo-loader/lib/Force.lua:439: in function 'tick'
ammo-loader/lib/Force.lua:422: in function 'tickAll'
ammo-loader/lib/Handlers.lua:354: in function <ammo-loader/lib/Handlers.lua:337>

Here a link of "factorio-current.log" file on pastebin:

https://pastebin.com/p4mp2Zpj

5 months ago

me too

5 months ago

same here

5 months ago

I think I figured it out.
I had coal and wood in a burner, when I deleted or upgraded it, crash.
I think the code cant handle mixed fuel types.

4 months ago

I just released version 2.0.5 which should fix this issue. Let me know if you still have issues after updating!

4 months ago

Works again without any problems. Thanks a huge lot for fixing it.

New response