Bug #1182

setl seems to be broken

Added by Harlekin about 1 year ago. Updated about 1 year ago.

Status:Can't reproduce% Done:


Category:Mod QAGAME
Target version:2.78
OS: Arch:


In my config i got:

setl g_gametype 2
setl g_friendlyFire 1

If i try to change g_friendlyFire via console it responds:
broadcast: print "Server: g_friendlyFire changed to 0\n"
Config cvar "g_friendlyFire" value: 1 does not match the currently set value 0

If i try to change g_gametype from type 4 to 2 via console it responds:
g_gametype will be changed upon restarting. New value: '2’

After the map ends, server is switched to gametype 2. shouldn’t setl lock the settings?


#1 Updated by Spyhawk about 1 year ago

  • Category changed from Server to Mod QAGAME
  • Target version set to 2.77

#2 Updated by IR4T4 about 1 year ago

Try this:

setl g_gametype "2" 
setl g_friendlyFire "1" 

#3 Updated by IR4T4 about 1 year ago

  • Status changed from New to Can't reproduce

Our configs are using setl and it’s a known issue values in the configs have to be surrounded by quotes.

Not surrounded negative numbers in a config might make other calls in the config not executed. This can only be solved by rewriting the parser ...

#4 Updated by Spyhawk about 1 year ago

  • Target version changed from 2.77 to 2.78

In that case, delaying to later.

Also available in: Atom PDF