PDA

View Full Version : Callvote Problem...please help


Free
11-21-2002, 09:59 PM
For some reason my server won't allow people to vote, I have allowvote set to one in the server.cfg, any ideas? Here's my server.cfg



// Server Name
seta sv_hostname " Xtreme Gamers-Public- www.xg.webhop.net"

// public info
seta "Administrator" "I-LAN Admin"
seta "Email" "michael@ilangame.com"
seta "URL" "www.ilangame.com"
seta "Location" "Boston, MA [East Coast]"
seta "CPU" "Dual 1.6GHz, AMD Athlon XP w/1.5GB Ram"
seta "ICQ" ""
seta "Clan" ""
seta "Connection" "Dual OC-192 + Quad OC48"

//GameType & Map Rotation
//Is set in the map rotation file.
//exec maprotations/dmrotation.cfg //Starts the server in Death Match (Free For All) mode.
//exec maprotations/tdmrotation.cfg //Starts the server in Team Death Match mode.
//exec maprotations/rmrotation.cfg //Starts the server in Round Match mode.
//exec maprotations/objrotation.cfg //Starts the server in Objective mode.
exec maprotations/towrotation.cfg //Starts the server in Tug Of War mode.

//Passwords
seta rconpassword "xxxxxxxxxxx"
seta sv_privatePassword "xxxxxxxxxx"

// Voting
set g_allowvote "1"

// Team Play Settings
seta g_teamForceBalance "1"
seta g_teamdamage "1"
seta sv_invulnerabletime "3"
seta g_teamkillwarn "3"
seta g_teamkillkick "5"
seta g_teamswitchdelay "30"
seta g_allowjointime "30"
seta g_forceteamspectate "1"

// Max Players and Saved Private Possitions
seta sv_maxclients "16"
seta sv_privateClients "2"

// AntiFlooding Setttings
seta sv_floodProtect "1"
seta sv_flood_waitdelay "20"
seta sv_flood_persecond "1"

// Downloads and ping/rate settings
seta sv_allowDownload "1"
seta sv_maxPing "500"
seta sv_minPing "0"
seta sv_maxRate "8000"

// Health Settings
seta g_healthdrop "1" // When enabled players will drop a health pack when killed
seta g_healrate "10" // Determines how fast players heal when they use a health pickup

// Realism
seta g_realismmode "0" // Toggles realistic mode

// Fast Run Speed
// When checked, the speed at which players can run through levels is increased.
// Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed
seta sv_dmspeedmult "1.100000"

// Time & Frag Limits
seta timelimit "20"
seta fraglimit "0"
seta sv_team_spawn_interval "15" // This sets a delay in seconds between spawns. This is useful if you would like the player spawned in batches, rather than one at a time.
seta maprotationtime "25" // This sets the maximum amount of time in minutes players will spend in a particular map.
seta g_inactiveKick "120"
seta g_inactiveSpectate "60" //ammount of time someone is innactive before it makes them a spectator
seta roundlimit "10" // This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.

//Master Servers
seta sv_gamespy "1" //lists in the gamespy master server. Setting the second master server probably does the same thing
seta sv_master1 "mohmaster.2015.com"
seta sv_master2 "master0.gamespy.com"

// Server Config & MISC Settings
seta sv_pure 0 (This is the defualt, it disables PAK checking - I wouldnt change it without reserach)
seta com_hunkMegs "96"
seta com_zoneMegs "32"
seta dmflags "0"
seta g_forceready "1"
seta g_forcespawn "1"
seta g_gravity "512.000000"

Mr_nStuff
11-21-2002, 10:59 PM
Try w/o quotes.. And alot of Spearhead variables work more often when you use the set command rather than the seta command.

set g_allowvote 1

Lots of strange bugs for shore... So if that don't work try typing on the console:

rcon g_allowvote 1

General_Death
11-22-2002, 08:28 AM
1 not "1"

That should do it. ;)

Free
11-22-2002, 08:42 AM
Tried that didn't work, thanks for the input though. Any other suggestions out there?

Free
11-22-2002, 08:47 AM
Actually, I just found this out (shoulda tested it sooner), but I can go into the console and do a callvote through that and it works....could my callvote.cfg be screwed up?

Hammer
11-24-2002, 10:00 AM
For some reason my server won't allow people to vote, I have allowvote set to one in the server.cfg, any ideas? Here's my server.cfg


We're seeing the same problem on the Mohaa Crew server managed by I-Lan. Have checked all the configuration against another server that is working and they're identical, except the I-Lan one keeps saying CAN'T VOTE ON THIS SERVER. :evil: :evil: :evil:

--[MC] Hammer
Mohaa Crew Clan
www.mohaacrew.com

Hammer
11-24-2002, 01:08 PM
First, comment out the g_allowvote from the server.cfg:
// set g_allowvote "1"
For some unknown reason, setting it causes the server to disable the call vote menu (although callvote from the console still works). :?: :?: :?:

I tried different variations of the command (set, seta, sets, "1", 1) and the only way to get it to work was to remove it. g_allowvote is enabled by default anyway!

Also fix a typo (missing comment //) on the sv_pure line:
seta sv_pure 0 //(This is the defualt, it disables PAK checking - I wouldnt change it without reserach)
Appears all I-Lan MOHAAS config files have this typo! :evil: :(

Then create an empty ...\mainta\configs\unnamedsoldier.cfg file (create configs since it will not exist). The one provided by I-Lan under the classic MOHAA folder contains a setting for g_allowvote 0 (at least it did in our case).

--[MC] Hammer

General_Death
11-25-2002, 09:33 AM
To call votes this line has to be this format in your server.cfg:

// Allow Vote
// Enables players to call a vote.
set g_allowvote 1

if it is and you still cant vote either there is another conflict in your server.cfg or you may have probs with your callvote.cfg.

Heres my callvote.cfg as a sample:

// callvote options script
//-------------------------
// This is a server-side file that is used to specify what things can be voted for,
// and what the valid voting options for them are. The options clients are allowed
// to do a callvote on are determined by the settings in this file on the server.

// the format is as follows:
// "Option Name" "Command" <Type>
// {
// "Choice Name 1" "VoteString1"
// "Choice Name 2" "VoteString2"
// ...
// }

// "Option Name" is the name that will be displayed for that voting option.
// Command is the command that a change will be voted for.
// <Type> is an optional parameter specifying what kind of option it is
// Valid option types are:
// - "nochoices" : Provides no additional choices are info entry, it just is. (default)
// - "list" : Provides a list of choices for the option
// - "text" : Pops up a text entry window for the option
// - "integer" : Pops up an integer number entry window for the option
// - "float" : Pops up a floating point number entry window for the option
// - "client" : Pops up a list of players in the game for the option
// - "clientnotself" : Pops up a list of other players in the game for the option
// { and } specify the begining and end of a list of choices for a voting
// option. No list should be specified for any type besides list.

"Team-Match Map" "g_gametype" list
{
"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
}

"Round-Based-Match Map" "g_gametype" list
{
"Bahnhof - dm/MP_Bahnhof_DM" "3; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "3; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "3; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "3; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "3; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "3; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "3; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "3; map dm/MP_Verschneit_DM"
"Southern France - dm/mohdm1" "3; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "3; map dm/mohdm2"
"Remagen - dm/mohdm3" "3; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "3; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "3; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "3; map dm/mohdm6"
"Algiers - dm/mohdm7" "3; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "3;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "3;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "3;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "3;map obj/MP_Flughafen_TOW"
}

// Loads an objective map and makes sure the game is in objective mode
"Objective Map" "g_gametype" list
{
"The Hunt - obj/obj_team1" "4;map obj/obj_team1"
"V2 Rocket Facility - obj/obj_team2" "4;map obj/obj_team2"
"Omaha Beach - obj/obj_team3" "4;map obj/obj_team3"
"The Bridge - obj/obj_team4" "4;map obj/obj_team4"
"St Renan - obj/obj_renan" "4;map obj/renan"
"StLo - obj/obj_stlo" "4;map obj/stlo"
}

// Loads an objective map and makes sure the game is in objective mode
"Tug-of-War Map" "g_gametype" list
{
"Ardennes - obj/MP_Ardennes_TOW" "5;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "5;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "5;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "5;map obj/MP_Flughafen_TOW"
}

//"Next Map" "nextmap" nochoices

//"Disallow Weapon" "" list
//{
//"Rifle" "g_weapon_rifle 0"
//"Sniper Rifle" "g_weapon_sniper 0"
//"Submachinegun" "g_weapon_smg 0"
//"Machinegun" "g_weapon_mg 0"
//"Rocket Launcher" "g_weapon_rocket 0"
//"Shotgun" "g_weapon_shotgun 0"
//}

//"Allow Weapon" "" list
//{
//"Rifle" "g_weapon_rifle 1"
//"Sniper Rifle" "g_weapon_sniper 1"
//"Submachinegun" "g_weapon_smg 1"
//"Machinegun" "g_weapon_mg 1"
//"Rocket Launcher" "g_weapon_rocket 1"
//"Shotgun" "g_weapon_shotgun 1"
//}

//"Only One Weapon" "" list
//{
//"Rifle" "g_weapon_rifle 1;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
//"Sniper Rifle" "g_weapon_rifle 0;g_weapon_sniper 1;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
//"Submachinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 1;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
//"Machinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 1;g_weapon_rocket 0;g_weapon_shotgun 0"
//"Rocket Launcher" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 1;g_weapon_shotgun 0"
//"Shotgun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 1"
//}

//"Allow All Weapons" "g_weapon_rifle 1;g_weapon_sniper 1;g_weapon_smg 1;g_weapon_mg 1;g_weapon_rocket 1;g_weapon_shotgun 1" nochoices

"Health Drop" "set" list
{
"On" "g_healthdrop 1"
"Off" "g_healthdrop 0"
}

"Realistic Mode" "set" list
{
"On" "g_realismmode 1;reloadmap"
"Off" "g_realismmode 0;reloadmap"
}

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

"Score Limit" "fraglimit" integer

"Time Limit" "timelimit" integer

"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}

"Kick Client" "clientkick" clientnotself

"Heal Rate" "set" list
{
"Instant" "g_healrate 0"
"5 per Second" "g_healrate 5"
"10 per Second" "g_healrate 10"
"20 per Second" "g_healrate 20"
}

"Team Spawn Delay" "set" list
{
"0 Seconds" "sv_team_spawn_interval 0"
"5 Seconds" "sv_team_spawn_interval 5"
"10 Seconds" "sv_team_spawn_interval 10"
}

"Lean + Strafe Option" "set" list
{
"on" "dmflags 262144"
"off" "dmflags 0"
}

"Team Kill Kick" "set" list
{
"3 times" "set g_teamkillkick 3"
"4 times" "set g_teamkillkick 4"
"5 times" "set g_teamkillkick 5"
}

Free
11-25-2002, 03:19 PM
Actually, I did what Hammer suggested and removed the g_allowvote setting from the server.cfg, and put in the blank unnamedsoldier.cfg file and now it works fine. Guess maybe this is just an issue with the I-Lan installations. Anyway, thanks for all the suggestions. And thank you Hammer for the solution.