Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convars not saving/applying #1

Closed
Laygend opened this issue Jan 4, 2014 · 1 comment
Closed

Convars not saving/applying #1

Laygend opened this issue Jan 4, 2014 · 1 comment

Comments

@Laygend
Copy link

Laygend commented Jan 4, 2014

Setting the Convars for example mu_scoreboard_show_admins, I have that disabled within my server.cfg so it would look like mu_scoreboard_show_admins 0, which doesn't work. Then i proceeded to do it within the server, logged in with rcon and typed in rcon mu_scoreboard_show_admins 0 which also has no affect.

@H3llGhost
Copy link

I have the same issue and found out that there is something wrong with the ConVar sync.
I have done the same as Laygend and added mu_scoreboard_show_admins to my server.cfg.

The value is correct on server-side, but it seems not to be replicated to client-side when connecting to the server.
To test the replication I have changed the value on the server to 2 and voila the client got 2 too.
And to test the HUD itself I have changed it back to 0 and it works. Admins aren't highlighted any longer.

One comment about the ConVars, it should be okay only to use FCVAR_REPLICATED instead of using FCVAR_REPLICATED and FCVAR_NOTIFY. I think no players is interested in such configuration change. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants