PDA

View Full Version : Voting flags breakdown


bummerman
06-23-2006, 05:16 PM
I want to know the number equivalents of all the voting options that can be disabled under the command "seta g_voteFlags "0""...for those who don't know, each potential voting item that you want disabled has a corresponding #, so you add those number equivalents together and in place of the zero you have the sum of, all the added digits. So, like in Doom 3, where everyone spends all their time trying to kick better players rather than play, you can simply disable that particular vote:insomnia:

bummerman
06-25-2006, 12:22 AM
Well I put a couple numbers in place of "0" such as 116 and 248 and they all disable every voting option but "restart" which is better than nothing i guess

bummerman
06-25-2006, 09:22 AM
checking for signature add on:doh:

mcraddick
07-19-2006, 12:57 PM
Hi bummerman,

I also replied to your other post concerning the voting flags, but will also answer this question for any other's benefit.

The simplest way to find out the values to use for g_voteflags is simply to type "g_voteflags" at the console - this will print out a list of all of the numbers for the voting options. Here are the values for easy reference:



"g_voteflags"
vote flags, bit mask of votes not allowed on this server
bit 0 (+1) restart now
bit 1 (+2) time limit
bit 2 (+4) frag limit
bit 3 (+8) game type
bit 4 (+16) kick player
bit 5 (+32) change map
bit 6 (+64) spectators
bit 7 (+128) next map



Let us know if you are still having problems.

bummerman
07-19-2006, 03:09 PM
what's the 1 for the "next match"?The client in game voting options has that on the list too.:doh: never mind..Actually, I thought I had disabled "change map" but it seemed to allow me to choose a map to vote on. Apparently, I didn't go the extra step and actually try and call a vote:doh:

Circus
07-29-2006, 11:23 PM
seta g_voteFlags "??"

I want to disable all voting options so what number do I put in seta g_voteFlags "??"

And If I want to enable just change map then what number do I use for that?

Lets ay I want to just have changemap and timelimit only enabled then which number to I use for that?

I tried all number combos and it did nothing!:mad:

TerminX
07-29-2006, 11:26 PM
Since it's a mask of flags which determine which options are not allowed on the server, you need to add the numbers of the features you wish to disable together. A value of 255 would disable everything and a value of 0 would leave everything on.

Circus
07-29-2006, 11:44 PM
OK thanks! So seta g_voteFlags "222" will just enable restartmap and changemap options only, cool..

LOL, Geees got to have the thinking cap on here fellas!

:nelson: