callvote xp_rotation
hello m8's server admin needs ur help
any1 knows how to make a callvote option that will allow players to switch xp_rotation variable???
and second question. is it possible that pukbuster cvar check lags the server??
this is my pb cfg:
[code:1]
//-------------------------------------- Main -----------------------------
pb_sv_enable
pb_sv_guidrelax 1
pb_sv_CQC 1
pb_sv_sswidth 1024
pb_sv_ssheight 768
pb_sv_scoreKick -10
pb_sv_extChar 1
pb_sv_emptyname 1
pb_sv_cvarempty
//-------------------------------------- Cheats ---------------------------
pb_sv_cvar aim IN 0
pb_sv_cvar glow IN 0
pb_sv_cvar ignorewalls IN 0
pb_sv_cvar pingpredict IN 0
pb_sv_cvar autoaim IN 0
pb_sv_cvar autofire IN 0
pb_sv_cvar ogc_aim IN 0
pb_sv_cvar ogc_bot IN 0
pb_sv_cvar ogc_fov IN 0
pb_sv_cvar ogc_glow IN 0
pb_sv_cvar ogc_mode IN 0
pb_sv_cvar ogc_names IN 0
pb_sv_cvar ogc_wall IN 0
pb_sv_cvar ogc_trans IN 0
pb_sv_cvar ogc_weapons IN 0
pb_sv_cvar cl_punkbuster IN 1
pb_sv_cvar safe IN 0
pb_sv_cvar radar IN 0
pb_sv_cvar mode IN 0
pb_sv_cvar names IN 0
pb_sv_cvar bunny IN 0
pb_sv_cvar nofx IN 0
pb_sv_cvar wall IN 0
pb_sv_cvar shoot IN 0
pb_sv_cvar weapons IN 0
pb_sv_cvar alias IN 0
pb_sv_cvar guid IN 0
//-------------------------------------- Hacks ---------------------------
pb_sv_cvar cg_fov IN 90 125
pb_sv_cvar com_maxfps IN 30 1024
pb_sv_cvar r_shownormals IN 0
pb_sv_cvar cl_packetdup IN 0 5
pb_sv_cvar cl_timenudge IN -50 0
pb_sv_cvar rate OUT 0 2499
pb_sv_cvar snaps IN 10 125
pb_sv_cvar cg_shadows IN 0 1
//-------------------------------------- Bad Names ----------------------
pb_sv_badname 60 UnamedPlayer
pb_sv_badname 30 ogc
pb_sv_badname 30 noskill
pb_sv_badname 30 noname
pb_sv_badname 30 AimBot
pb_sv_badname 30 unnamed
[/code:1]
Hmmm... As far as I know there is no option to allow voting on a rotation config file Instead you could try adding the below code to your config
[code:1]set g_allowVote "1"
set xp_vote "map_restart,nextmap,map"[/code:1]
I know this is just a half of success, but better something than nothing
take a look into the rotation.txt in e+ folder!
# Excessive Plus for Quake III Arena
#
# www.excessiveplus.net
// comment
# comment
// this will be executed before each map
timelimit: 20
fraglimit: 35
g_gametype: 0
q3dm1 {
fraglimit: 50
}
q3dm2
q3dm3
q3ctf1 {
g_gametype: 4
timelimit: 15
capturelimit: 10
/load conf/excessive3
}
// this will be ffa! remember the "g_gametype: 0"
q3ctf4
so u can add / load different configs and change commands. dont know if it works with xp_vote "map, capturelimit or fraglimit" just try and plz take a statement here so other ppl can get this too like me
load extern cfg with
/exec q3config.cfg
for ur second problem. of course if pb check cvars and scan client pcs the server lags .. but only the first minutes! moreover if u have enable "pure" server, it takes some more time.
I've tried this on windows server and it works. The game went from FFA to RTF
have a couple of rotations text files
ffamaps.txt
rtfmaps.txt
//-------in your server.cfg-------
set xp_vote "kick,nextmap,xp_rotation"
//-------IN game---------
/callvote xp_rotation rtfmaps.txt
/callvote nextmap
It will stay on the new rotation untill its voted on again or the server restarts.
Old Vamp - you rule
/callvote xp_rotation rtfmaps.txt
WLC - you need to put it into console, exactly like OldVamp wrote it. You have to vote on xp_rotation change, not on 1vs1.txt file
Oops :oops: hehe Sorry 8-[
thx Stollo, but i need to change the rotation files coz' they change not only the maps but also gametype, fraglimit, timelimit.