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

5 years ago
(updated 5 years ago)

Seems that when a tech is finished researching this happens

Error while running event ammo-loader::on_nth_tick(3)
ammo-loader/lib/HiddenInserter.lua:222: stack overflow
stack traceback:
ammo-loader/lib/HiddenInserter.lua:222: in function 'isValid'
ammo-loader/lib/DB.lua:113: in function <ammo-loader/lib/DB.lua:104>
(...tail calls...)
ammo-loader/lib/TrackedSlot.lua:516: in function 'registerCons'
ammo-loader/lib/TrackedSlot.lua:623: in function 'setProv'
ammo-loader/lib/TrackedSlot.lua:314: in function 'destroy'
ammo-loader/lib/DB.lua:114: in function <ammo-loader/lib/DB.lua:104>
(...tail calls...)
ammo-loader/lib/HiddenInserter.lua:254: in function 'giveHeld'
ammo-loader/lib/HiddenInserter.lua:295: in function 'destroy'
ammo-loader/lib/TrackedSlot.lua:319: in function 'destroy'
ammo-loader/lib/DB.lua:114: in function <ammo-loader/lib/DB.lua:104>
(...tail calls...)
...
ammo-loader/lib/DB.lua:114: in function <ammo-loader/lib/DB.lua:104>
(...tail calls...)
ammo-loader/lib/HiddenInserter.lua:254: in function 'giveHeld'
ammo-loader/lib/HiddenInserter.lua:295: in function 'destroy'
ammo-loader/lib/TrackedSlot.lua:319: in function 'destroy'
ammo-loader/lib/DB.lua:114: in function <ammo-loader/lib/DB.lua:104>
(...tail calls...)
ammo-loader/lib/idQ.lua:94: in function 'pop'
ammo-loader/lib/idQ.lua:105: in function 'cycle'
ammo-loader/lib/Force.lua:409: in function 'purgeAndSearch'
ammo-loader/lib/Force.lua:484: in function 'tick'
ammo-loader/lib/Force.lua:473: in function 'tickAll'
ammo-loader/control.lua:131: in function <ammo-loader/control.lua:116>

5 years ago

Thanks for the report, I'll look into it

5 years ago

I just uploaded 0.17.45 with a potential fix. Let me know if you still have problems

5 years ago

All works again when i finish a new tech. Thnx.

5 years ago

Crashed when opening power armor:
The mod Ammo Loader+ caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ammo-loader::on_nth_tick(3)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
ammo-loader/lib/TrackedSlot.lua:291: in function 'inv'
ammo-loader/lib/TrackedSlot.lua:295: in function 'slot'
ammo-loader/lib/TrackedSlot.lua:319: in function 'destroy'
ammo-loader/lib/DB.lua:114: in function <ammo-loader/lib/DB.lua:104>
(...tail calls...)
ammo-loader/lib/idQ.lua:94: in function 'pop'
ammo-loader/lib/idQ.lua:105: in function 'cycle'
ammo-loader/lib/Force.lua:409: in function 'purgeAndSearch'
ammo-loader/lib/Force.lua:484: in function 'tick'
ammo-loader/lib/Force.lua:473: in function 'tickAll'
ammo-loader/control.lua:131: in function <ammo-loader/control.lua:116>
stack traceback:
[C]: in function 'index'
__ammo-loader
/lib/TrackedSlot.lua:291: in function 'inv'
ammo-loader/lib/TrackedSlot.lua:295: in function 'slot'
ammo-loader/lib/TrackedSlot.lua:319: in function 'destroy'
ammo-loader/lib/DB.lua:114: in function <ammo-loader/lib/DB.lua:104>
(...tail calls...)
ammo-loader/lib/idQ.lua:94: in function 'pop'
ammo-loader/lib/idQ.lua:105: in function 'cycle'
ammo-loader/lib/Force.lua:409: in function 'purgeAndSearch'
ammo-loader/lib/Force.lua:484: in function 'tick'
ammo-loader/lib/Force.lua:473: in function 'tickAll'
ammo-loader/control.lua:131: in function <ammo-loader/control.lua:116>

5 years ago

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

5 years ago

Yup, it's fixed, thanks

New response