Bug #1182

setl seems to be broken

Added by Harlekin 5 months ago. Updated 4 months ago.

Status:Can't reproduce% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:Mod QAGAME
Target version:2.78
OS: Arch:

Description

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?

History

#1 Updated by Spyhawk 5 months ago

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

#2 Updated by IR4T4 5 months ago

Try this:

setl g_gametype "2" 
setl g_friendlyFire "1" 

#3 Updated by IR4T4 4 months 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 4 months ago

  • Target version changed from 2.77 to 2.78

In that case, delaying to later.

Also available in: Atom PDF