Mode limiting

Mode limiting

Postby envoid » 28 Jan 2012, 00:23

Hello.

I'm not really a developer and was landed to this forum from the RE website Forum link. We're trying to get the server part a little more configured but is running quite well. Our problem is the mode limiting with mutator limiting. The wiki does not explain the values well and am finding things just aren't doing what I think they should be doing per the wording of the wiki.

For instance, we primarily just want deathmatch with no survivor, duel, or onslaught mutators. So I set sv_modelimit to 8, sv_mutslimit to 3919 and sv_defaultmode to 3, but find survivor is enabled and several other game types are enabled as well.

I did enter the admin password from my machine so I don't know if this is influencing things but the server is running CTF before I ever connect.

Could anyone shed some light on the way these values are actually calculated?

Thank you very much!
envoid
 
Posts: 2
Joined: 28 Jan 2012, 00:14

Re: Mode limiting

Postby arand » 28 Jan 2012, 18:57

First off,
{l Code}: {l Select All Code}
sv_[mode, muts]limit
has been renamed to
{l Code}: {l Select All Code}
sv_[mode, muts]lockfilter
(The server examples did unfortunately not get updated at the same time)

I'm not

Also make sure to
{l Code}: {l Select All Code}
/writevars
when you have it setup correctly

You may also need
{l Code}: {l Select All Code}
/sv_rotatemodefilter
/sv_rotatemutsfilter

in order to filter the gametypes the server will choose randomly itself without voting

Also, the numbers for the modes and muts may have changed, menu.cfg has the current values:
{l Code}: {l Select All Code}
modevar "editing" modeselected 1
modevar "campaign" modeselected 2
modevar "deathmatch" modeselected 3
modevar "capture-the-flag" modeselected 4
modevar "defend-the-flag" modeselected 5
modevar "bomber-ball" modeselected 6
modevar "time-trial" modeselected 7

mutsvar "multi" modeselected mutsselected (<< 1 0)
mutsvar "medieval" modeselected mutsselected (<< 1 3)
mutsvar "survivor" modeselected mutsselected (<< 1 6)
mutsvar "hover" modeselected mutsselected (<< 1 9)
mutsvar "expert" modeselected mutsselected (<< 1 12)
mutsvar "teamplay" modeselected mutsselected (<< 1 1)
mutsvar "ballistic" modeselected mutsselected (<< 1 4)
mutsvar "arena" modeselected mutsselected (<< 1 7)
mutsvar "jetpack" modeselected mutsselected (<< 1 10)
mutsvar "resize" modeselected mutsselected (<< 1 13)
mutsvar "instagib" modeselected mutsselected (<< 1 2)
mutsvar "duel" modeselected mutsselected (<< 1 5)
mutsvar "onslaught" modeselected mutsselected (<< 1 8)
mutsvar "vampire" modeselected mutsselected (<< 1 11)

c.f. https://sourceforge.net/apps/mediawiki/ ... me::server
User avatar
arand
 
Posts: 211
Joined: 26 Mar 2011, 21:42

Re: Mode limiting

Postby envoid » 30 Jan 2012, 19:44

arand, thank you very much!! The server is working how we'd like now (DM only). I haven't really tried the sv_rotate[mode, muts]filter options yet but maybe later depending how we play. But this definitely got us working! thank you again!
envoid
 
Posts: 2
Joined: 28 Jan 2012, 00:14

Re: Mode limiting

Postby Blindman » 22 Feb 2012, 19:47

I am having the same issue, but Im having trouble deciphering the above post, I have the actual mode limited to DM, however I'm still seeing the muts as selectable in voting, I'd rather not have most of them on as it's just to much.
Are these actual commands from the console or written into the serverexec?
ty
Blindman
 
Posts: 80
Joined: 22 Feb 2012, 05:10

Re: Mode limiting

Postby Blindman » 24 Feb 2012, 18:00

Ok so that limits available voting muts, what controls the default muts as in what it goes to when the server starts?
Blindman
 
Posts: 80
Joined: 22 Feb 2012, 05:10

Re: Mode limiting

Postby ZeroKnight » 24 Feb 2012, 19:26

Blindman {l Wrote}:I have the actual mode limited to DM, however I'm still seeing the muts as selectable in voting

Are you identified as master/admin on your server? By default, masters/admins can choose filtered modes/mutators.


Blindman {l Wrote}:Ok so that limits available voting muts, what controls the default muts as in what it goes to when the server starts?

As stated in arand's post:
arand {l Wrote}:You may also need
{l Code}: {l Select All Code}
/sv_rotatemodefilter
/sv_rotatemutsfilter

in order to filter the gametypes the server will choose randomly itself without voting


Use the same values you would use to limit mode/mut voting. For values, reference arand's post again, or a "cleaner" table can be found on the wiki: http://sourceforge.net/apps/mediawiki/r ... rver#Modes

Add the bit shifted values of the modes/mutators you DO want. So, for example, if you wanted to limit to say, FFA Arena Team Deathmatch, you would use 8 for the modefilter, and 130 for the mutfilter. ( 2 (team) + 128 (arena) = 130 )

If you need more help, feel free to ask :)
[ Github ][ WazuClan -- irc.wazuclan.com #wazuclan ][ Zero's Archive of RE Extensions, Scripts, WeapMods & More! ]
User avatar
ZeroKnight
 
Posts: 524
Joined: 08 Jun 2011, 01:24
Location: Ohio, United States

Re: Mode limiting

Postby Blindman » 27 Feb 2012, 03:02

Ahh thanks.
Blindman
 
Posts: 80
Joined: 22 Feb 2012, 05:10

Re: Mode limiting

Postby TristamK » 01 Apr 2012, 22:00

how unlock multi mut. for time-trial mode ?
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: Mode limiting

Postby TristamK » 03 Apr 2012, 19:45

hmmm . no working ...
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: Mode limiting

Postby TristamK » 03 Apr 2012, 21:02

no problem =)
Ok . who knows : how vote for multi time-trial from console ?
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: Mode limiting

Postby arand » 03 Apr 2012, 21:46

I've updated the wiki page for the server and added a dedicated page for Mode/Mutator filtering:
https://sourceforge.net/apps/mediawiki/ ... amefilters
Should hopefully be somewhat more clear.
User avatar
arand
 
Posts: 211
Joined: 26 Mar 2011, 21:42

Re: Mode limiting

Postby TristamK » 05 Apr 2012, 14:14

ok . how vote for team time-trial ?
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Re: Mode limiting

Postby arand » 05 Apr 2012, 17:37

TristamK {l Wrote}:ok . how vote for team time-trial ?

Simple answer: You don't.

If you insist:
{l Code}: {l Select All Code}
diff --git a/src/game/gamemode.h b/src/game/gamemode.h
index 199b086..6ec4c2d 100644
--- a/src/game/gamemode.h
+++ b/src/game/gamemode.h
@@ -104,7 +104,7 @@ gametypes gametype[] = {
     {
         G_TRIAL,        G_M_NONE,
         {
-            G_M_INSTA|G_M_ARENA|G_M_MEDIEVAL|G_M_BALLISTIC|G_M_ONSLAUGHT|G_M_HOVER|G_M_JETPACK|G_M_VAMPIRE|G_M_EXPERT|G_M_RESIZE,
+            G_M_MULTI|G_M_INSTA|G_M_ARENA|G_M_MEDIEVAL|G_M_BALLISTIC|G_M_ONSLAUGHT|G_M_HOVER|G_M_JETPACK|G_M_VAMPIRE|G_M_EXPERT|G_M_RESIZE,
             G_M_NONE, G_M_NONE, G_M_NONE
         },
         "time-trial",                       { "", "", "" },

Will only work if server and client are likewise modded, won't make is possible to add bots to trial.
User avatar
arand
 
Posts: 211
Joined: 26 Mar 2011, 21:42

Re: Mode limiting

Postby TristamK » 07 Apr 2012, 00:56

Thanks arand =)
Sorry for my bad English. Sometimes i use google translator.
The official group of the Cube 2 Sauerbraten and Red Eclipse in vkontakte -> https://vk.com/cube_engine_news - VK support English too ;) . Also you can find all news about Cube 2\Red Eclipse in this group too
Topic with FULL information about Time-Trial . All maps , video , tutorials here . Also here you can see all best times on maps .
My youtube chanel
User avatar
TristamK
 
Posts: 274
Joined: 30 Oct 2011, 11:47
Location: Belorus

Who is online

Users browsing this forum: No registered users and 1 guest