View Issue Details

IDProjectCategoryView StatusLast Update
0001155Spring engineLinuxpublic2008-10-17 14:56
ReporterTheThinker Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version0.77b4 
Summary0001155: Customformations widget bug...
DescriptionThis bug appeared immediately after updating to the new version of Spring .77b4.

Depending on the Mod, Spring appears to react negatively when the CustomFormations widget is used a certain way. For instance, in M.A. v.1.1, the widget is unloaded whenever I attempt to make a formation via the right-mousebutton-hold technique. The infolog thus reports in M.A.:

2397] false
[ 2397] Error in MousePress(): [string "/usr/share/games/spring/LuaUI/Widgets/unit_..."]:72: attempt to call field 'GetMouseMiniMapState' (a nil value)
[ 2397] Removed widget: CustomFormations

In C.A. version 2954, the bug acts a little differently. While I am able to form formations easily on the field, utilizing the minimap to do so automatically results in LuaUI to be totally unloaded. Infolog reports this:

[ 3640] LuaUI::RunCallIn: error = 2, MouseMove, [string "LuaUI/Widgets/unit_customformations.lua"]:199: attempt to call field 'GetMouseMiniMapState' (a nil value)
[ 3640] LuaUI::RunCallIn: error = 2, MouseMove, [string "LuaUI/Widgets/unit_customformations.lua"]:199: attempt to call field 'GetMouseMiniMapState' (a nil value)
[ 3640] LuaUI::RunCallIn: error = 2, MouseMove, [string "LuaUI/Widgets/unit_customformations.lua"]:199: attempt to call field 'GetMouseMiniMapState' (a nil value)
[ 3641] LuaUI::RunCallIn: error = 2, MouseMove, [string "LuaUI/Widgets/unit_customformations.lua"]:199: attempt to call field 'GetMouseMiniMapState' (a nil value)
[ 3641] LuaUI::RunCallIn: error = 2, MouseMove, [string "LuaUI/Widgets/unit_customformations.lua"]:199: attempt to call field 'GetMouseMiniMapState' (a nil value)
[ 3641] LuaUI::RunCallIn: error = 2, MouseMove, [string "LuaUI/Widgets/unit_customformations.lua"]:199: attempt to call field 'GetMouseMiniMapState' (a nil value)
[ 3641] LuaUI::RunCallIn: error = 2, MouseMove, [string "LuaUI/Widgets/unit_customformations.lua"]:199: attempt to call field 'GetMouseMiniMapState' (a nil value)
[ 3643] 5 errors deep in LuaUI, disabling...
[ 3643] 5 errors deep in LuaUI, disabling...
[ 3643] 5 errors deep in LuaUI, disabling...
[ 3643] 5 errors deep in LuaUI, disabling...
[ 3643] 5 errors deep in LuaUI, disabling...
[ 3643] 5 errors deep in LuaUI, disabling...
[ 3643] 5 errors deep in LuaUI, disabling...
[ 3643] 5 errors deep in LuaUI, disabling...
[ 3643] Reloaded cmdcolors with: cmdcolors.tmp
[ 3643] Disabled LuaUI

Mind you, this bug is only with Spring version .77b4, .77b3, and .77b2; .77b1 was fine and dandy. Attached is the infolog for the last game of CA v.2954.
Additional InformationMy system specs:

Processor Type: 2.8 ghz Celeron D
RAM: 750 mb
Graphics Processor Type: 128 mb Nvidia MX4000
Operating System: Ubuntu Hardy 8.04 (Debian based)
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

Kloot

2008-10-17 14:55

developer   ~0002974

The CF widget in the latest SVN revision of CA (3043) has none of these issues in 77b4.

Issue History

Date Modified Username Field Change
2008-10-17 04:05 TheThinker New Issue
2008-10-17 04:05 TheThinker File Added: infolog.txt
2008-10-17 14:55 Kloot Note Added: 0002974
2008-10-17 14:56 Kloot Status new => closed
2008-10-17 14:56 Kloot Resolution open => no change required