Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › General › Chat › Maps in Server but not in Vote
9 posts, 5 people · 4,168 views Thread Rating: ★★★★★
closedMaps in Server but not in Vote
Started by MBosta on 06-26-2007, 03:24 PM
M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
06-26-2007, 03:24 PM #1

Is there a way to prevent certain maps being in the vote (like forest, etc.) at the same time having them on the server?

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
06-26-2007, 04:53 PM #2

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.

M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
06-27-2007, 03:47 AM #3

Thanks for the quick response, and yea it worked. Thanks a bunch bro.

N nacrotic
posted here
Posts: 16
Threads: 5
Joined: Aug 2006
06-27-2007, 07:21 AM #4

remove map from maps.ini

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
06-27-2007, 07:30 AM #5
remove map from maps.ini
n 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"

M MBosta
started this thread
Posts: 208
Threads: 30
Joined: Sep 2006
06-27-2007, 12:41 PM #6

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.

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
06-27-2007, 02:13 PM #7
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...

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
06-27-2007, 02:38 PM #8

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

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
11-19-2007, 02:59 PM #9

Hey, my mapchooser.sma is not on the server.nCan I get 1.76c version from someone?nThanksnMeathead

Archive › Old Forum Threads › General › Chat › Maps in Server but not in Vote
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC