Vehicle Wagon 2


Take with you a fully charged and battle-ready vehicle and take it on a rail trip. --------------------------------------------------------------------------------- Возьмите с собой полностью заряженный и готовый к бою транспорт и отправьте его в путешествие по железной дороге.

Content
3 months ago
0.17 - 2.0
26.7K
Transportation Trains Combat

b AAI Flame Tank Incompatibility

16 days ago
(updated 16 days ago)

Hi!
Returned an error:

The mod Vehicle Wagon 2 (4.1.16) caused a non-recoverable error. Please report this error to the mod author.
Error while running event VehicleWagon2::on_tick (ID 0) Robot256Lib/script/save_restore.lua: 173: Arguments count error for 'spill_item_stack': Expected 1 argument but 2 were given
stack traceback:
[C]: in function 'spill_item_stack'
Robot256Lib_/script/save_restore.lua: 173: in function 'spillStack' Robot256Lib__/script/carriage_replacement.lua:329: in function
'replaceCarriage'
VehicleWagon2/script/loadVehicleWagon.lua:33: in function
'loadVehicleWagon'
VehicleWagon2/control.lua:179: in function
<VehicleWagon2/control.lua:112>

This seemed odd to me, as it worked before with the AAI Flame Tank (by Earendel if this is relevant). A fix or advice would be appreciated!
Thanks in advance.

Edit: It happened with all other vehicles too

11 days ago

Thanks for the report! I found an incorrect API call in Robot256Lib. Please update it and see if that fixes it.

New response