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
23 days ago
0.14 - 2.0
24.5K
Logistics

b Bug when using multiple ammo

4 years ago

I got this weird bug.. I'm loading standard ammo, and copper ammo (from bobs), which are both identical in their damage etc.
If a turret has one type of ammo and runs out, it seems to only wait for exactly the same type of ammo, even if there is other ammo in the loader. This seems to only happen when you have multiple ammo types, of the same "level".

4 years ago
(updated 4 years ago)

(EDIT: Ignore my post, seems it was fixed just by enabling performance mode.) Think I'm getting this too. I have wooden dart turrets from Bio mod, and despite filling the chest with an abundance of basic darts it refuses to load any of them into the dart turrets. I'm not sure why, but I suspect it noticed the regular darts in my character's inventory (basic darts + copper plating) and is trying to prioritize those.

The turrets show a blue connection line to the chest but are not fed.

Resetting the table doesn't help.

4 years ago
(updated 4 years ago)

Hi Zarnoo! I've been out for a while, but thanks for continuing to support the mod by reporting your issues.

I think this may be due to some optimizations I tried regarding the process of finding providers/consumers without using too much UPS. I attempted "soft" hash removals of providers (O(1) operation compared to iterating the whole list O(n)), but perhaps in some cases this is causing the provider (chest) to not correctly remove depleted ammo from it's potential provider types. This would also explain why performance mode can solve the problem, as this specific part of the algorithm is changed the most between the two modes.

I'll take a look and see what I come up with. As always, thanks for your report, and let me know if you have any more problems!

New response