TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
178 stars 74 forks source link

Server hud settings are not saving #610

Closed SebastianL-NT closed 4 years ago

SebastianL-NT commented 4 years ago

Version: GitHub, 0.7.2b

Description: Default/forced hud settings are not saving. Reset every map change.

Steps to reproduce the behaviour:

  1. Change default/forced hud. (as superadmin)
  2. Wait for map change.
  3. Check setting again and you can see that "pure_skin" is default again.

Expected behaviour: Change settings, check it after map change and it should stay

No errors at all. I can see only this:

[TTT2][HUDManager] Storing data in database...
[TTT2][HUDManager] Storing data in database...
[TTT2][HUDManager] Storing data in database...
[TTT2][HUDManager] Storing data in database...
SebastianL-NT commented 4 years ago

Update: Enabled/Disabled setting is also not working.

What I setup: https://steamuserimages-a.akamaihd.net/ugc/1282913108359222083/587594C67B502405F70AA7685DD241CFA2AD4283/

What I can see after map change: https://steamuserimages-a.akamaihd.net/ugc/1282913108359222371/C03AFB37EAD00A766129903EC761F0565F0B25E4/

People are still sending me screenshots with pure_skin selected as default even when It is disabled. It's what I can see in sv.db: https://gyazo.com/bda6890f7c894ea24dfd1b2743f1b045 https://gyazo.com/e8de8782e0c491b21e7b8a35147bf456