SRCDS Steam group


Sourcemod + Map Vote
#1
I know I set it up in DODS and Sourcemod to make a vote at the end of every map to decide where the server goes. However, I can't seem to get that to work on my Arena TF2 Server.

Does anyone know of the config or plugin that can get this working?
Reply
#2
Beaverbeliever Wrote:I know I set it up in DODS and Sourcemod to make a vote at the end of every map to decide where the server goes. However, I can't seem to get that to work on my Arena TF2 Server.

Does anyone know of the config or plugin that can get this working?

I just saw your thread here. Basically, Sourcemod is being used to handle the map cycle, furthermore voting is enabled for that rotation.

For Arena and Sourcemod, there are a few caveats to keep in mind. First, to explain w/o SM.

There is a separate config file that sets the arena mapcycle called -- arena_mapcycle.txt located in the .../tf/ folder. I'm assuming you know this already. Furthermore, there is a file called -- config_arena.cfg located in the .../tf/cfg/ folder, also I'm assuming you know this.

Judging by your OP, this is strictly Arena maps? I just want to be sure about that. Also, have you inquired over at SM already since this thread?
[Image: MJRNUT-1.jpg]
Reply
#3
I know a lot about Sourcemod and SRCDS, I was merely asking whether or not it was possible for a random map vote to take place with 3 minutes or so left in the map, so the most popular map is always on the server.
Reply
#4
Beaverbeliever Wrote:I know a lot about Sourcemod and SRCDS, I was merely asking whether or not it was possible for a random map vote to take place with 3 minutes or so left in the map, so the most popular map is always on the server.

Then yes you can w/ SMs default plugins: http://wiki.alliedmods.net/Map_Management_Plugins_(SourceMod)

Its very common to setup a vote w/ x amount of time left on current map.
[Image: MJRNUT-1.jpg]
Reply
#5
I set sm_mapvote_endvote to 1, but it won't do a vote at the end of the map. I put that line in sourcemod.cfg.
Reply
#6
For clarity, our server uses the following plugins: rtv, nextmap, and mapchooser.

rtv and mapchooser generate their own cfg files in /cfg/sourcemod

I see you put that one cvar into sourcemod.cfg. The default (0) for that is in the mapchooser.cfg file. I do not know the execution order of the files, but I suspect it is sourcemod.cfg, followed by the other files, which would mean your cvar would change back to the default.

To do a map vote w/ 3 minutes remaining, there is a cvar for that in mapchooser.cfg file.
[Image: MJRNUT-1.jpg]
Reply
#7
Well done Beaver....

Rolleyes
[Image: MJRNUT-1.jpg]
Reply
#8
I thought I moved mapchooser from disabked. Apparently not.

Thanks very much!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)