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
1 year, 12 days ago
0.14 - 2.0
28.6K
Logistics

g Odd Crash

1 year, 1 month ago

After filling worker chest with coal.

The mod Ammo Loader+ (2.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ammo-loader::on_tick (ID 0)
__ammo-loader__/lib/Force.lua:869: attempt to index field 'bullet' (a nil value)
stack traceback:
    __ammo-loader__/lib/Force.lua:869: in function 'registerProv'
    __ammo-loader__/lib/TrackedChest.lua:567: in function 'updateCache'
    __ammo-loader__/lib/TrackedChest.lua:603: in function 'tick'
    __ammo-loader__/lib/Force.lua:670: in function 'tickChests'
    __ammo-loader__/lib/Force.lua:430: in function 'tick'
    __ammo-loader__/lib/Force.lua:422: in function 'tickAll'
    __ammo-loader__/lib/Handlers.lua:350: in function <__ammo-loader__/lib/Handlers.lua:333>
1 year, 1 month ago

Was about to post up the same error glad im not alone on this one

1 year, 1 month ago

Same on rockets, for example.

Error while running event ammo-loader::on_tick (ID 0)
ammo-loader/lib/Force.lua:869: attempt to index field 'bullet' (a nil value)
stack traceback:
ammo-loader/lib/Force.lua:869: in function 'registerProv'
ammo-loader/lib/TrackedChest.lua:567: in function 'updateCache'
ammo-loader/lib/TrackedChest.lua:603: in function 'tick'
ammo-loader/lib/Force.lua:670: in function 'tickChests'
ammo-loader/lib/Force.lua:430: in function 'tick'
ammo-loader/lib/Force.lua:422: in function 'tickAll'
ammo-loader/lib/Handlers.lua:350: in function <ammo-loader/lib/Handlers.lua:333>

1 year, 1 month ago

And on Artilery:

Error while running event ammo-loader::on_tick (ID 0)
ammo-loader/lib/Force.lua:869: attempt to index field 'bullet' (a nil value)
stack traceback:
ammo-loader/lib/Force.lua:869: in function 'registerProv'
ammo-loader/lib/TrackedChest.lua:567: in function 'updateCache'
ammo-loader/lib/TrackedChest.lua:603: in function 'tick'
ammo-loader/lib/Force.lua:670: in function 'tickChests'
ammo-loader/lib/Force.lua:430: in function 'tick'
ammo-loader/lib/Force.lua:422: in function 'tickAll'
ammo-loader/lib/Handlers.lua:350: in function <ammo-loader/lib/Handlers.lua:333>

1 year, 1 month ago

And same on railgun, same thing again:

Error while running event ammo-loader::on_tick (ID 0)
ammo-loader/lib/Force.lua:869: attempt to index field 'bullet' (a nil value)
stack traceback:
ammo-loader/lib/Force.lua:869: in function 'registerProv'
ammo-loader/lib/TrackedChest.lua:567: in function 'updateCache'
ammo-loader/lib/TrackedChest.lua:603: in function 'tick'
ammo-loader/lib/Force.lua:670: in function 'tickChests'
ammo-loader/lib/Force.lua:430: in function 'tick'
ammo-loader/lib/Force.lua:422: in function 'tickAll'
ammo-loader/lib/Handlers.lua:350: in function <ammo-loader/lib/Handlers.lua:333>

1 year, 1 month ago
(updated 1 year, 1 month ago)

I commented out line 869 in the file ammo-loader/lib/Force.lua and my problem kinda went away, maybe it will help

1 year, 1 month ago
(updated 1 year, 1 month ago)

Yes, my friend did the same, if I understand him correctly, and it seems works

1 year, 1 month ago

I just released version 2.0.2 that should fix this issue!

New response