swap public to private by vote conf

3 replies [Last post]
saristian
Offline
Joined: Apr 2011
Posts:

hi ,

is it possible to change with a conf vote a config of a public server with bot enable "1" to a config of a private server for cw with g_password "xxxxxx ",bot_enable "0" ,g_doWarmup "1" ,xp_matchmode "1",and conversely change a private cw server to a public server with a conf vote ?

i tried with :

in conf "make server private for cw.cfg"

......
Misc {
$g_password = "passxxxxxx " ;
$fraglimit ="25";
$timelimit ="20";
$bot_enable ="0" ;
$g_doWarmup ="1" ;
$g_warmup ="15";
$xp_matchmode ="1" ;
......

and

in conf "make server public.cfg"

......
Misc {
$g_password = "" ;
$fraglimit ="20";
$timelimit ="25";
$bot_enable ="1" ;
$g_doWarmup ="1" ;
$g_warmup ="10"
$xp_matchmode ="0" ;
......

is it possible to do this ? Winking

(HK) GoddaM
goddam's picture
Offline
Joined: Aug 2004
Posts:
Re: swap public to private by vote conf

could have 2 cfgs exactly same apart from stringyou need (like $needpass 1 or $needpass 0 or whatever the cvar ) ~ then just vote.cfg

hope that makes sense, been working long hours and smoking too much scenery.

saristian
Offline
Joined: Apr 2011
Posts:
Re: swap public to private by vote conf

i tested
$bot_enable ="0" ; make the client disconnected when vote , and the conf dont run ,seems can only run if no bot on public

(HK) GoddaM
goddam's picture
Offline
Joined: Aug 2004
Posts:
Re: swap public to private by vote conf

try adding /k allbots somewhere along the way?