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

b AAI Vehicle Remote Crash

9 months ago

Giving movement order to an AI vehicle with remote causes following crash (which while mentions AAI vehicles first, doesn't happen without Ammo Loader+, so I bring that here, in case it's something fixable on your end.)

Error:

The mod AAI Programmable Vehicles (0.7.25) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event aai-programmable-vehicles::on_player_alt_selected_area (ID 52)
Error when running interface function ammo-loader.on_entity_replaced: ammo-loader/lib/Remote.lua:101: attempt to call field 'onBuilt' (a nil value)
stack traceback:
ammo-loader/lib/Remote.lua:101: in function <ammo-loader/lib/Remote.lua:100>
stack traceback:
[C]: in function 'call'
aai-programmable-vehicles/control.lua:121: in function 'raise_event'
aai-programmable-vehicles/control.lua:1035: in function 'unit_create_entity_from_entity'
aai-programmable-vehicles/control.lua:1349: in function 'unit_update_mode'
aai-programmable-vehicles/control.lua:1368: in function 'unit_set_mode'
aai-programmable-vehicles/control.lua:1400: in function 'unit_set_target_position'
aai-programmable-vehicles/control.lua:2625: in function 'unit_set_command'
aai-programmable-vehicles/scripts/unit-remote.lua:314: in function 'callback'
aai-programmable-vehicles/scripts/event.lua:14: in function <aai-programmable-vehicles/scripts/event.lua:12>

9 months ago

Thanks for letting me know about this! I just uploaded a hotfix for this issue (version 1.1.35).

Let me know if you still have trouble!

9 months ago

No problem, seems to work now.

New response