View Issue Details

IDProjectCategoryView StatusLast Update
0003280Spring engineGeneralpublic2013-03-16 21:14
Reporterabma Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
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

Relationships

has duplicate 0003278 resolvedabma AAI fails to initialize 

Activities

abma

2012-09-14 14:13

administrator   ~0009192

Last edited: 2012-09-14 14:14

for sure this causes desyncs, too...

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

abma

2012-09-14 14:39

administrator   ~0009195

seems to be an old bug...

jK

2012-09-14 16:38

developer   ~0009196

Last edited: 2012-09-14 16:43

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).

abma

2012-09-14 16:45

administrator   ~0009197

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

Kloot

2012-09-14 17:11

developer   ~0009198

Last edited: 2012-09-14 17:14

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.

jK

2012-09-15 05:35

developer   ~0009199

one more reason to split synced & unsynced luarules

abma

2012-09-18 12:06

administrator   ~0009210

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

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
2012-09-14 14:13 abma Note Added: 0009192
2012-09-14 14:14 abma Note Edited: 0009192
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
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
2012-09-14 17:14 Kloot Note Edited: 0009198
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