Why can anyone change server CVARs?

Talk about multiplayer ZDoom games here.
Forum rules
Image

Why can anyone change server CVARs?

Postby Player701 » Sun Dec 09, 2018 1:43 pm

I'm not sure if it is a bug, so I'd like to ask a question first, and this forum looks like the most appropriate place to do it.

I may be having memory issues, but I think I remember that server CVARs used to be read-only for all players except the arbitrator (usually the host, but if the hosting player quits the game, another player will get this role). But now I've suddenly noticed that any player can change the value of any server CVAR, be it a custom CVAR defined in CVARINFO, or a built-in gameplay option. Is this supposed to happen or is it a bug? If it's the former, does anyone know when and why this change was introduced?

Also, here is an excerpt from ZDoom Wiki on server CVARs:
ZDoom Wiki wrote:This CVAR is shared by all players, and in network games, only select players can change it.

This doesn't make much sense because the wiki doesn't explain what kind of players are considered "select".
User avatar
Player701
You are now breathing manually.
 
Joined: 13 May 2009
Location: Russian Federation
Discord: Player701#8214

Re: Why can anyone change server CVARs?

Postby Rachael » Sun Dec 09, 2018 2:05 pm

That's a bug. Only the first player, or anyone they designate, should be able to change CVARs. Though, the actual security on that is rather lax.
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

Re: Why can anyone change server CVARs?

Postby Player701 » Sun Dec 09, 2018 2:10 pm

OK, time for some bisecting...
User avatar
Player701
You are now breathing manually.
 
Joined: 13 May 2009
Location: Russian Federation
Discord: Player701#8214

Re: Why can anyone change server CVARs?

Postby Rachael » Sun Dec 09, 2018 2:14 pm

In your bisecting you'll discover another bug where no one at all can change server cvar's in a net game. So be aware of that, too. It'll be before this bug, obviously, but I don't know if it's the fix that introduced this bug.
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest