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
10 months ago
0.14 - 2.0
28.1K
Logistics

g [solved] 0.18.3 error

5 years ago
(updated 5 years ago)

I updated to the latest version (from 0.18.1) in an existing game, and got a new error:

Error while running event ammo-loader::on_configuration_changed
ammo-loader/stdlib/Array.lua:85: attempt to get length of upvalue 'self' (a nil value)
stack traceback:
ammo-loader/stdlib/Array.lua:85: in function 'for iterator'
ammo-loader/lib/ItemDB.lua:436: in function 'effectsSummary'
ammo-loader/lib/ItemDB.lua:171: in function 'newAmmo'
ammo-loader/lib/ItemDB.lua:37: in function 'func'
ammo-loader/lib/Initializer.lua:48: in function 'doInit'
ammo-loader/lib/Version.lua:33: in function <ammo-loader/lib/Version.lua:29>

Any ideas ? Great mod though !

5 years ago
(updated 5 years ago)

Having done some digging, it looks like you've introduced a compatibility problem with Natural Evolution Buildings which affects both new and existing games.

5 years ago

Hi there! thanks for letting me know about this issue.

I just uploaded 0.18.4 which should solve the issue. Let me know if you're still having trouble after updating.

5 years ago

Hey, thanks, and yes, works perfectly..

Did I mention it's a great mod ;)

New response