Map voting broken.

Ask questions and share info about GunGame 5

Map voting broken.

Postby trogdor6666 » Sun Jul 26, 2009 1:36 am

Problem: [Solved; see below]
Map voting initiates during the first map of my server rotation after I restart the server.
On the second map, voting fails to initiate and the map ends, then simply restarts.
I've got the same list of maps in cstrike/maplist.txt and mapcycle.txt and cfg/mani_admin_plugin/votemaplist.txt

If anyone could tell me the problem and how to fix it, I would greatly appreciate it.


EDIT: I figure its good to have things like this on hand/archived.
I tried Google-ing and couldn't find anything, hopefully this can help others.


I solved it myself after many hours of trial and error. I figured out how this thing works. Basically, GunGame has an option were it can use Mani's settings for map voting, but it needs to be enabled.

The fix:
cstrike/cfg/gungame5/gg_default_addons.cfg
//=========================================================
// MAP VOTING
//=========================================================
// A map vote will be triggered once a player reaches a preset level below
// the highest level.
//
// Once all human players have voted, the vote is stopped and the winning
// map is displayed to the players.
//
// Note: This vote does not require any other plugin except EventScripts.
// Note: More map vote options in gg_map_vote.cfg
//
// Example: If "gg_vote_trigger" is set to 3, once a player is 3 levels
// below the highest level, the vote will trigger.
//
// Options: 0 = Disabled
// 1 = Enabled (GunGame Map Voting)
// 2 = Third-party voting system (Uses gg_map_vote_command)

gg_map_vote 2

//=========================================================
// MAP VOTE COMMAND
//=========================================================
// If gg_map_vote is set to 2, this is the command that will be issued
// when the vote is triggered.
//
// Examples: Mani: gg_map_vote_command "ma_voterandom end 4"
// BeetlesMod: gg_map_vote_command "admin_votemaps"
// SourceMod: gg_map_vote_command "sm_mapvote"

gg_map_vote_command "ma_voterandom end 4"


Make yours look like that, and it should work.
trogdor6666

Recruit
Recruit
 
Posts: 2
Joined: Thu Jul 02, 2009 3:58 am
Steam Friends Name: trogdor6666


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 19 guests