Unit Control

by Klonan

Control of Units

Utilities
2 years ago
0.17 - 1.1
26.8K
Combat

g 2 Crashes with 0.3.2

2 years ago
(updated 2 years ago)

Hi Klonan

I saw2 crashes when I tested 0.3.2.

It crashed when I start freeplay. Base game 1.1.36 and unit-control is the only mod I enabled.


The mod Unit Control (0.3.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Unit_Control::on_init()
Unit_Control/script/unit_deployment.lua:132: table index is nil
stack traceback:
Unit_Control/script/unit_deployment.lua:132: in function 'reinit_all_deployers'
Unit_Control/script/unit_deployment.lua:155: in function 'on_init'
core/lualib/event_handler.lua:69: in function <core/lualib/event_handler.lua:64>


I see the following when I load my ERM test scenario with ERM - zerg mod. Other race mods crashes with above error instead. Any idea why this happens?


The mod Unit Control (0.3.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Unit_Control::on_configuration_changed
Entity is not crafting-machine.
stack traceback:
[C]: in function 'get_recipe'
Unit_Control/script/unit_deployment.lua:65: in function 'check_deployer'
Unit_Control/script/unit_deployment.lua:133: in function 'reinit_all_deployers'
Unit_Control/script/unit_deployment.lua:165: in function 'on_configuration_changed'
core/lualib/event_handler.lua:87: in function <core/lualib/event_handler.lua:84>


0.2.4 didn't have any issue.

2 years ago

Should be fixed, these 2 were actually the same issue but with different symptoms

2 years ago

0.3.3 fixed above errors. The new control feels GREAT! :)

This is the new error I got.


The mod Unit Control (0.3.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Unit_Control::on_player_selected_area (ID 50)
Unit_Control/script/unit_control.lua:1412: attempt to perform arithmetic on field 'speed' (a nil value)
stack traceback:
Unit_Control/script/unit_control.lua:1412: in function 'unit_follow'
Unit_Control/script/unit_control.lua:1467: in function 'make_follow_command'
Unit_Control/script/unit_control.lua:1490: in function <Unit_Control/script/unit_control.lua:1483>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

2 years ago

Thanks, should be fixed now

New response