Advanced Belts

by Buggi

Mod adds 3 new tiers of belts, splitters and undergrounds belts past Turbo tier. Has support for loaders from other mods. (AAI, Deadlock, etc)

Content
a month ago
2.0
4.43K
Logistics

b Crash with aai-loaders-stacking-filtering

2 days ago

When loading aai-loaders-stacking-filtering with this mod it crashes with:

   6.092 Error ModManager.cpp:1765: Failed to load mod "aai-loaders-stacking-filtering": __aai-loaders-stacking-filtering__/prototypes/stacking.lua:45: attempt to index local 'orig_tech' (a nil value)
stack traceback:
        __aai-loaders-stacking-filtering__/prototypes/stacking.lua:45: in function 'generate_tech'
        __aai-loaders-stacking-filtering__/prototypes/stacking.lua:71: in function 'make_stacking'
        __aai-loaders-stacking-filtering__/data.lua:24: in main chunk

This does appear to be a bug with that mod as they assume the unlocking technology for the loader is the same name as the loader itself, which seems... very odd, and definitely breaks with technologies that unlock many things, like say Logistics 5 (which unlocks many items, thus which should it be named for if that were the case).

However, that mod hasn't had updates in 9 months and this same bug has been reported to them in the past and the author has not appeared. Optimally I'd think it best if this mod subsumed that mods functionality (perhaps behind a configuration setting of course) considering it's seeming inactivity, but a workaround appears to be to register a technology of the same name as your new loaders, then in the data post phase remove those technologies and move their effects to the main logistics technologies you add instead (which could also be a configuration option to do that part if someone perhaps wants loaders unlocked separately). I think that is all that would be necessary to get them to work together?

References

Prior report from someone else to that mod with no response: https://mods.factorio.com/mod/aai-loaders-stacking-filtering/discussion/6843c3685045af68c795120b
My report to the mod just now with detailed information: https://mods.factorio.com/mod/aai-loaders-stacking-filtering/discussion/68eb468facb3c53399b5a04f

2 days ago

For note, unsure if this is needed anymore, one person made 3 mods that adds those features in piecemeal to all loaders, these combined seem to do everything we want and they work properly with everyone, so for anyone else curious, these work great with this mod:
https://mods.factorio.com/mod/stacking-loaders
https://mods.factorio.com/mod/loaders-make-full-stacks
https://mods.factorio.com/mod/lane-filtered-loaders

New response