2025-07-19 23:23 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003280Spring engineGeneralpublic2013-03-16 21:14
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0003280: no start unit is spawned with LuaModUICtrl = 0 in BA 7.71
Descriptionto reproduce:

echo "LuaModUICtrl = 0" >>~/.springrc
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
has duplicate 0003278resolvedabma AAI fails to initialize 
+Relationships

-Notes

~0009192

abma (administrator)

Last edited: 2012-09-14 14:14

View 2 revisions

for sure this causes desyncs, too...

the spring-headless-template config file sets LuaModUICtrl=0, too this is why aai tests currently fail.

~0009195

abma (administrator)

seems to be an old bug...

~0009196

jK (developer)

Last edited: 2012-09-14 16:43

View 2 revisions

It doesn't cause desyncs.
And BAs startunit gadget fails if it relies on it.
It controls if unsynced gadgets are able to call many UnsyncedCtrl functions (they are marked on the wiki).

~0009197

abma (administrator)

set LuaModUICtrl = 0, join some online-game -> desync...

~0009198

Kloot (developer)

Last edited: 2012-09-14 17:14

View 3 revisions

With LuaModUICtrl=0 functions like Spring.GetConfigInt return nil instead of numbers, which causes errors in a few BA gadgets (gfx_customUnitShaders.lua and gfx_dynamic_lighting.lua) during loading. That in turn brings down the LuaRules environment --> desync time.

~0009199

jK (developer)

one more reason to split synced & unsynced luarules

~0009210

abma (administrator)

Note: please revert
https://github.com/spring/spring/commit/031cce4087b8d3b16b9ebd90badf747f4bbc6742
when this bug is fixed
+Notes

-Issue History
Date Modified Username Field Change
2012-09-14 14:07 abma New Issue
2012-09-14 14:08 abma Summary no start unit is spawned with LuaModUICtrl = 1 => no start unit is spawned with LuaModUICtrl = 1 in BA 7.71
2012-09-14 14:10 abma Summary no start unit is spawned with LuaModUICtrl = 1 in BA 7.71 => no start unit is spawned with LuaModUICtrl = 0 in BA 7.71
2012-09-14 14:10 abma Description Updated View Revisions
2012-09-14 14:13 abma Note Added: 0009192
2012-09-14 14:14 abma Note Edited: 0009192 View Revisions
2012-09-14 14:39 abma Note Added: 0009195
2012-09-14 15:12 abma Relationship added has duplicate 0003278
2012-09-14 16:38 jK Note Added: 0009196
2012-09-14 16:43 jK Note Edited: 0009196 View Revisions
2012-09-14 16:45 abma Note Added: 0009197
2012-09-14 17:10 abma Severity block => major
2012-09-14 17:11 Kloot Note Added: 0009198
2012-09-14 17:11 Kloot Note Edited: 0009198 View Revisions
2012-09-14 17:14 Kloot Note Edited: 0009198 View Revisions
2012-09-14 17:16 Kloot Assigned To => Kloot
2012-09-14 17:16 Kloot Status new => feedback
2012-09-15 05:35 jK Note Added: 0009199
2012-09-18 12:06 abma Note Added: 0009210
2012-09-18 12:06 abma Status feedback => assigned
2013-03-16 21:14 Kloot Status assigned => resolved
2013-03-16 21:14 Kloot Resolution open => fixed
+Issue History