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
19 days ago
0.14 - 2.0
24.4K
Logistics

b Space Exploration - Navigation Satellite crash

4 years ago

So, I just launched my first satellite, opened the Universe Explorer, clicked on an orbiting space platform, and clicked view surface, and as soon as It loaded the new surface, I got the error below. Any help would be appreciated.
P.S. I just tried using the Navigation Satellite while I'm on Nauvis and that also causes a crash.

The mod Ammo Loader+ (0.18.23) 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/TrackedSlot.lua:974: attempt to index field 'player' (a nil value)
stack traceback:
ammo-loader/lib/TrackedSlot.lua:974: in function 'doProvide'
ammo-loader/lib/Force.lua:436: in function 'tickProvidedSlots'
ammo-loader/lib/Force.lua:207: in function 'tick'
ammo-loader/lib/Force.lua:193: in function 'tickAll'
ammo-loader/lib/Handlers.lua:175: in function 'func'
ammo-loader/lib/Handlers.lua:52: in function <ammo-loader/lib/Handlers.lua:39>

4 years ago

Hi there! Thanks for using my mod!

I'm aware of this issue, it's caused by the absence of a null check for player references in certain specific circumstances. I've been hoping to get it fixed, unfortunately I'm currently without power or a computer due to hurricane Laura. It might be a few more weeks before we get power here again, but I'll keep you updated once I upload a fix.

As always, feel free to let me know if you have any other questions in the meantime.

4 years ago

Freak, I hope y'all are safe in spite of that! I know what that's like. (Houston)
I'm praying for y'all, hopefully they will get your power on way sooner than expected.
Anyway, thanks for such an awesome mod, and for such a quick response while y'all are dealing with that mess...
I'll figure something else out for a little while. I've been wanting to do a Warptorio2 playthrough for a while now, so I might just go ahead and play that until you can get this fixed. Please don't frustrate yourself trying to figure out how to fix this without your computer or stress about getting it fixed as soon as your power comes back on. :P

Let me know if there are any bugs others have reported that you would like some help with troubleshooting/reproducing/etc, so you have data to work with whenever you are ready to get back to it. I'm super rusty on Lua, but I've suddenly got lots of free time.

Stay safe!

4 years ago

Well we just got hit by Delta so I'm out of power again --__-- but anyway I managed to get a release up anyway. I believe I was able to fix this issue in 1.0.1, but feel free to let me know if you run into any more problems.

And thanks for using the mod!

New response