View Issue Details

IDProjectCategoryView StatusLast Update
0003679Spring engineLuapublic2013-11-03 14:11
Reportersilentwings Assigned ToKloot  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
Product Version94.1 
Summary0003679: calling SetConfig* should take effect immediately
DescriptionSpring.SetConfigInt("ShowPlayerInfo",0) has no effect for me (tested in a widget with BA 7.75).

However, Spring.SetConfigInt("snd_volmaster",0) works fine.
Steps To ReproduceSet ShowPlayerInfo=1 and then load this widget:

function widget:Initialize()
    Spring.SetConfigInt("ShowPlayerInfo",0)
end
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

silentwings

2013-04-06 15:45

reporter   ~0010400

I tested some other settings; some work and some don't but obviously I can't make a full list.

abma

2013-04-08 16:54

administrator   ~0010416

what does "has no effect" mean?

some settings only take effect when spring is restarted...

silentwings

2013-04-08 22:52

reporter   ~0010421

By has no effect I meant 'doesn't have instant effect'. I agree that there are some settings that should only take effect after Spring is restarted, but "ShowPlyaerInfo" should take effect immediately - it's equivalent to typing "/info" ingame.

abma

2013-04-09 00:37

administrator   ~0010422

for the moment use (afaik) Spring.SendCommands("info 1")

the rest is (imo) a feature request...

silentwings

2013-11-03 13:51

reporter   ~0011935

Last edited: 2013-11-03 13:51

this can be closed, no change required

Issue History

Date Modified Username Field Change
2013-04-06 15:44 silentwings New Issue
2013-04-06 15:45 silentwings Note Added: 0010400
2013-04-08 16:54 abma Note Added: 0010416
2013-04-08 16:54 abma Assigned To => abma
2013-04-08 16:54 abma Status new => feedback
2013-04-08 22:52 silentwings Note Added: 0010421
2013-04-08 22:52 silentwings Status feedback => assigned
2013-04-09 00:35 abma Severity major => feature
2013-04-09 00:37 abma Note Added: 0010422
2013-04-09 00:37 abma Assigned To abma =>
2013-04-09 00:37 abma Status assigned => new
2013-04-09 00:53 abma Summary SetConfigInt can't change some values => calling SetConfig* should take effect immediately
2013-11-03 13:51 silentwings Note Added: 0011935
2013-11-03 13:51 silentwings Note Edited: 0011935
2013-11-03 14:11 Kloot Status new => closed
2013-11-03 14:11 Kloot Assigned To => Kloot
2013-11-03 14:11 Kloot Resolution open => no change required