I was having problems with mapchooser/mapvote doing end game votes. The players would select, for example, dustbowl, but the next map in rotation was avanti_b1...the server would switch to avanti_b1 instead of what the players voted, which was dustbowl.
I thought it was a conflict with the mapcycle text files...so I went into server.cfg and changed mapcyclefile mapcycle.txt" to "mapcyclefile mapcycledummy.txt", a file that does not exist.
Then I went to maplists.cfg and changed default - "mapcyclefile" to "mapcycle.txt"
It seems to be working now..
BUT I get this error message:
Quote:
[SM] The plugin list has been refreshed and reloaded.
L 03/22/2009 - 21:177: [mapchooser.smx] Unable to create a valid map list.
L 03/22/2009 - 21:177: [mapvote.smx] Successfully read in the new maps.
|
how do I fix this? What problems could this cause (I tried very quickly, and I did not see any error...)
I'm very new at setting up servers...what is the correct way to "disable" rotation and enable end game voting at the end of each game?
mapvote.cfg
Quote:
// This file was auto-generated by SourceMod (v1.1.0)
// ConVars for plugin "mapvote.smx"
// Specifies if mapvote should run an end of map vote
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_enable "1"
// Map file to read and use.
// If you want diffrent files for diffrent occasion then remove this line
// and add this line but modified into the right config.
// -
// Default: "configs/mapvote.ini"
sm_mapvote_file "configs/mapvote.ini"
// Should it try to fill slots even if map does not fullfill all the requirements.
// 1 = maps without requirment can be added
// 0 = drop slots when maps do not fullfill conditions
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_forceslots "1"
// Should the votes be displayed in random order/scramble the order.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_randomorder "0"
|
mapchooser.cfg
Quote:
// This file was auto-generated by SourceMod (v1.0.3)
// ConVars for plugin "mapchooser.smx"
// Specifies how many more frags are allowed when map is extended.
// -
// Default: "10"
// Minimum: "5.000000"
sm_extendmap_fragstep "10"
// Specifies how many more rounds each extension makes
// -
// Default: "5"
// Minimum: "5.000000"
sm_extendmap_roundstep "5"
// Specifies how much many more minutes each extension makes
// -
// Default: "15"
// Minimum: "5.000000"
sm_extendmap_timestep "10"
// Enable sounds to be played during vote start and end (assuming correct pure mode and the resp. sound variable is diffrent from "")
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.100000"
sm_mapvote_enablesounds "1"
// Specifies if MapChooser should run an end of map vote
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_endvote "0"
// Specifies how many past maps to exclude from the vote.
// -
// Default: "5"
// Minimum: "0.000000"
sm_mapvote_exclude "0"
// Number of extensions allowed each map.
// -
// Default: "0"
// Minimum: "0.000000"
sm_mapvote_extend "1"
// Specifies how many maps to include in the vote.
// -
// Default: "5"
// Minimum: "2.000000"
// Maximum: "6.000000"
///NOTSURE///sm_mapvote_include "6"
// Specifies whether or not MapChooser should pick a map if no votes are received.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_novote "1"
// Should the option that a player vote on get printed (1 - yes print player votes, 0 - don't print).
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mapvote_printvotes "1"
// How many vote options the hint box should show. 0 will disable it
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "5.000000"
sm_mapvote_showvotes "5"
// Sound that is being played when a vote ends. (relative to $basedir/sound/)
// -
// Default: "sourcemod/mapchooser/voteend.mp3"
sm_mapvote_sound_voteend "sourcemod/voteend.wav"
// Sound that is being played when a vote starts. (relative to $basedir/sound/)
// -
// Default: "sourcemod/mapchooser/votestart.mp3"
sm_mapvote_sound_votestart "sourcemod/votestart.wav"
// Specifies when to start the vote based on time remaining.
// -
// Default: "3.0"
// Minimum: "1.000000"
sm_mapvote_start "3.0"
// Specifies when to start the vote base on frags remaining.
// -
// Default: "5.0"
// Minimum: "1.000000"
sm_mapvote_startfrags "5.0"
// Specifies when to start the vote based on rounds remaining.
// -
// Default: "2.0"
// Minimum: "1.000000"
sm_mapvote_startround "0"
// Specifies how long the mapvote should be available for.
// -
// Default: "20"
// Minimum: "5.000000"
// Maximum: "25.000000"
sm_mapvote_voteduration "20"
|
mapvote.ini
Quote:
"Standard Maps"
{
"slots" "6"
"cp_dustbowl" {}
"cp_gravelpit" {}
"ctf_2fort" {}
"pl_badwater" {}
"pl_goldrush" {}
"cp_egypt_final" {}
}
"TFC Classic Maps"
{
"slots" "7"
"ctf_2fort_classic_v2" {}
"rock2_b1" {}
"ctf_badlands_classic_b3e" {}
"avanti_b1" {}
"ctf_crossover_b3" {}
"ctf_well_classic_b2" {}
"cp_warpath2" {}
}
"TF2 Custom Maps"
{
"slots" "12"
"cp_beetle_b1" {}
"cp_museum_b2" {}
"cp_oilfield_v2" {}
"ctf_convoy_v2" {}
"ctf_happyfarm" {}
"pc_sawmill_b6" {}
"pl_cranetop_b8" {}
"pl_frontier_b2" {}
"pl_halfacre_rc2" {}
"pl_hoodoo" {}
"pl_swift_final" {}
"pl_waste_b4" {}
}
|
If you are wondering why I am using this advanced mapvote plugin for voting...it is because I want to show all the maps, not just six.