| closedMaps in Server but not in Vote |
| Started by MBosta on 06-26-2007, 03:24 PM |
Threads: 30
Joined: Sep 2006
Is there a way to prevent certain maps being in the vote (like forest, etc.) at the same time having them on the server?
Threads: 15
Joined: Jun 2007
yes, you only have to change one line in the "mapchooser.sma"rnand then compile it.rnrnit's around line 74:rn
format(maps_ini_file, 63, "%s/maps.ini", maps_ini_file);rnrnchange that /maps.ini to any filenamernthat you would like to use for the mapend votings.rnrnfor example open maps.ini with notepad, remove the maps that yourndon't want in a mapend vote and then save it as votemaps.inirnrnnow line 74 has to look like this:rn format(maps_ini_file, 63, "%s/votemaps.ini", maps_ini_file);rnrnnow compile it and upload the votemaps.ini into your amxmodx/configs/rnfolder and replace the mapchooser.amxx!rnjust change the map and you have all maps in your menu but only thernones you like in your mapend vote.Threads: 30
Joined: Sep 2006
Thanks for the quick response, and yea it worked. Thanks a bunch bro.
Threads: 5
Joined: Aug 2006
remove map from maps.ini
Threads: 54
Joined: May 2005
remove map from maps.inin nyeah this was what I was thinking ... as long as the BSP exists on the server it is always manually playable ... whether or not it is listed in any "list"
Threads: 30
Joined: Sep 2006
Actually, I tested what Sturm said, and it worked. I set mp_timelimit to 1 and checked the maps that came up, and only the maps that were in votemaps.ini showed up.
Threads: 54
Joined: May 2005
Actually, I tested what Sturm said, and it worked. I set mp_timelimit to 1 and checked the maps that came up, and only the maps that were in votemaps.ini showed up.n noh by no means was I implying his method wouldn't work... it is just kind of an extra few steps to have the same effect as simply removing the map from the cycle text file ... n nI understand why he would do it though being a programmer, alot of us have edited our "default" files and are very comfortable doing so...
Threads: 15
Joined: Jun 2007
i actually suggested to edit the plugin rather than just removing the rnmapname from maps.ini just because it would disapear from thernvotemap menu as well as from the changelevel menu. :D
Threads: 23
Joined: Aug 2007
Hey, my mapchooser.sma is not on the server.nCan I get 1.76c version from someone?nThanksnMeathead

