ZElectricVehicles (quality fork)


Adds an Electrical Transformer to allow vehicles to function on battery. Original author N0TZ3R0. Modified by theSunLike to make quality transformers to create quality electric fuel.

Content
2 months ago
2.0
289
Transportation

b aai programable vehicles erro

3 months ago
(updated 3 months ago)

Error MainLoop.cpp:1456: Exception at tick 367071: The AAI Programmable Vehicles (0.8.3) mod caused an unrecoverable error.

Please report this error to the mod author.

Error while running event aai-programmable-vehicles::on_player_alt_selected_area (ID 58)
Error when running interface function AAI-ZElectricVehicles_on_entity_replaced.on_entity_replaced: ZElectricVehiclesQF/control.lua:167: attempt to call global 'onBuilt_Entity' (a nil value)
stack traceback:
ZElectricVehiclesQF/control.lua:167: in function <ZElectricVehiclesQF/control.lua:167>
stack traceback:
[C]: in function 'call'
aai-programmable-vehicles/control.lua:120: in function 'raise_event'
aai-programmable-vehicles/control.lua:1049: in function 'unit_create_entity_from_entity'
aai-programmable-vehicles/control.lua:1375: in function 'unit_update_mode'
aai-programmable-vehicles/control.lua:1394: in function 'unit_set_mode'
aai-programmable-vehicles/control.lua:1426: in function 'unit_set_target_position'
aai-programmable-vehicles/control.lua:2673: 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>
951,705 Info AppManager.cpp:352: Deleting active scenario.

3 months ago
(updated 3 months ago)

Possibly fixed in Version: 1.1.1 Date: 2025.10.29
I've changed function call to (hopefully) the right one. (I have no aai vehicles installed to test it properly)

3 months ago

Well, at least there were no errors when using the remote control for the units.

3 months ago

You can mark the mod as resolved; it didn't cause any errors with AAI Programmable Vehicles

3 months ago

Thanks for response!

This thread has been locked.