Jump to content

xVotemap 1.5.6.0


ImportBot

Recommended Posts

Originally Posted by grizzlybeer*:

 

Versions

showthread....map-v1-3-1-BF3*

 

Description

 

Calls an in-game vote for the next map near the end on the round. Randomly selects four maps (by default, can be adjusted) from the current maplist to vote on. Before the options are displayed, a banner can be shown to get the players attention that voting is about to commence.

 

The votes are tallied and if there are more votes than the set threshold, the winner is the map with the most votes. If there is a tie, the winner is selected at random from the tied maps. The next map is announced and it can be periodically displayed until the end of the round.

 

In-game Screenshots

Posted Image

Four displayed voting options without gamemode showing. Also shows vote confirmation message.

Posted Image

Optional voting banner used to get the attention of players before/during a vote.

 

Installation

BF3: Unzip the 'xVotemap.cs' into your '..\Plugins\BF3' folder.

BF4: Unzip the 'xVotemap.cs' into your '..\Plugins\BF4' folder.

 

In-game Commands

/# While a vote is in progress, votes for the option represented by the #.

 

/v Displays the vote options while a vote is in progress. If typed before a vote, it will display the predicted amount of time before the vote begins.

 

/nextmap Displays the next map.

 

/votemap Initiates/restarts a votemap if the player has map changing priviledges in Procon.

 

enablevotemap Enables the votemap plugin if the player has map changing priviledges in Procon.

 

disablevotemap Disables the votemap plugin if the player has map changing priviledges in Procon.

 

 

Settings

Posted Image

 

Display

Enable Vote Banner_: Is the banner (designed to get the attention of players) displayed before the voting commences.

 

Voting Options Interval: Integer, in seconds, representing how often the map vote options are displayed once the voting poll opens.

 

Next Map Display Interval: Integer, in seconds, representing how often the winning next map is displayed after the voting is over but the round hasn't ended yet. A value of -1 will disable nextmap messages.

 

Show Gamemode in Voting Options? Determines if the shorthand notation for the gamemode is displayed in the voting options. This is most useful for those running mixed mode servers, especially if the same map is in the maplist with different gamemodes.

 

Map Options

Number of Vote Options Integer, between 2 and 8, representing the number of vote options to be displayed when a mapvote is called.

 

Exclude Current Map From Vote Options_: If yes, the current map with be excluded from the next map voting options, so to not allow the same map to be played twice.

 

Randomness: An integer from 0 to 10 representing the randomness of the map options for a vote. The algorithm changes the probability of each map and gamemode pair being selected as a vote option depending on how long ago it was last played.

 

Posted Image

Randomness = 0: Will rotate through the maplist, only showing the maps that haven't been played in a long time. Players should end up playing every map in the cycle.

 

Posted Image

Randomness = 5: Maps that haven't been played in a long time will have the highest probablity and recently played maps will have the lowest probability of being selected as vote options.

 

Posted Image

Randomness = 10: Every map has the same chance of being selected as an option. Players will tend to play the most popular maps repeatedly.

 

Voting

Trigger: If Automatic, the voting will be triggered automatically near the end of the round. If Manual, the voting will have to be triggered manually with the /votemap command.

 

Voting Threshold: Integer, representing the minimum total number of votes that must cast for the highest voted map to become the nextmap. If no map reaches this threshold, then the map will just roll over to the next map in the maplist.

 

Voting Duration: Integer, in seconds, representing the target length of time the voting poll is open for.

 

Time between Voting End and Round End (Conquest): Integer, in seconds, representing how long from the end of the round the voting will finish. In other words, at what time you want the voting to take place, mear seconds before the end of round or in the middle of round sometime.

 

Voting Start Time from Start of Round (Rush and Defuse (Elimination)): Integer, representing the time when voting will start, in seconds from the start of the round. In rush, there is no way to predict when the round will finish with the current RCON information, as the status of MCOMs are unknown. So you must estimate how long the shortest rush round would take and start the vote a couple of minutes earlier in order to ensure a vote will take place.

 

Xtras

Debug Level: Integer between 0 and 5, where 0 outputs no plugin debug messages, and 5 which outputs even the most mundane steps.

 

Development

Known issues BF3/BF4

If the maplist is changed during a vote the winning map will not correctly be the next map.

 

Known issues BF4

For TDM the gameserver reports 4 teams. (There are only 2)

 

Future Work

Improve Rush (and compatible) Auto Trigger

Improve map sorting algorithm.

Add maplist change event.

 

Change Log

1.5.6.0

NEW: New gamemode Chain Link (Dragon's Teeth DLC) is now supported.

 

1.5.5.1

Fix: added missing gamemode [CA] (CarrierAssaultSmall0) to vote options.

 

1.5.5.0

NEW: New gamemode Carrier Assault (Naval Strike DLC) is now supported

Fix: Next map display on round over scoreboard limited to last round

Fix: vote threshold display did not take vipvotes into account

 

1.5.4.2

Fix: Restarting a running vote did not properly reset the votes

 

1.5.4.1

New: Options (say, yell) to control the display of the next map/winning map

Fix: Added next map display when the scoreboard is displayed (THX to Hand of Shadow)

Fix: Changed Include/Exclude VIPs to Sync VIPs

 

1.5.4.0

NEW: Automatic Update Check

NEW: customizable votebanner

NEW: Show number of votes for each map

NEW: exclude current gamemode from vote options

NEW: time limit effective for all gamemodes (bf4 round time limit)

Fix: increase possible number of vote options

Fix: fixed error removing duplicates

Fix: Version Number

 

1.5.3

FIX: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes is now fixed (for all gamemodes)

FIX: Changed some messages to better reflect the current status

FIX: If the gameserver (for whatever reason) reports total-rounds = 0, votemap will asume total-rounds = 1. This should fix a bug some users are having. (votemap just not running, saying 'not next round')

 

1.5.2

FIX: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes is now fixed

FIX: increased default maxplayers to 70

NEW: Dynamic prefix vote options. THX to Hand of Shadow

 

1.5.1

FIX: Short Tags for BF4 Gamemodes. Thx BFTALON

 

1.5

NEW: BF4 Support

 

1.4.4

FIX: too many reservedSlots (ServerVIPs) requests

NEW: some things i forgot :biggrin:

 

1.4.3

Added: End Game Modes (CTF)

 

1.4.2

Fix: Public confirmation message was not updating correctly

Fix: Removal of duplicates in vote options was not working under certain circumstances

 

1.4.1

Added: Aftermath Modes (Scavenger)

Added: Option to enable/disable auto including ServerVIPs/ReservedSlots in VIP List

 

1.4.0

Added: VIP List

Added: VIP VoteCount

Fixed: show maps only once if they are double in maplist.

Fixed: GameModes

 

1.3.1 (09/04/12)

Fixed: /votemap to start a map vote.

 

1.3.0 (07/04/12)

Added: Yell announcement.

Added: In-game enable and disable.

 

1.2.3 (30/03/12)

Fixed: Mapnames fixed from patch.

 

1.2.2 (09/02/12)

Fixed: Maplist sort for 'Map Only' and 'Gametype Only'. Will still work on a better algorithm too.

 

1.2.1 (06/02/12)

Added: Information link with Ultimate Map Manager to ensure the voted map will be the next map if the maplist needs to change and it is still in the maplist.

Fixed: Remove current map bug.

Added: Improved map options display. Should reduce the chance of very long options.

Fixed: Gamemode should appear throughout the in-game message, if turned on.

 

1.2.0 (24/01/12)

Added: Ability to disable vote results from being displayed.

Added: Option to change the way the maplist is sorted.

Added: Option to display the nextmap before the vote.

Added: Option to set minimum and maximum player count limits for if the vote will take place.

 

1.1.5 (19/01/12)

Added: More debug messages

Fix: Serverinfo bug possibly =\

Change: Renamed to xVotemap. Delete old CxVotemap.

 

1.1.4 Stable (15/01/12)

Fix: /votemap command now works on all rounds.

Fix: Between rounds error bug.

 

1.1.3 Beta (09/01/12)

Fix: Votemap starting too early.

 

1.1.2 Beta (09/01/12)

Fix: Minimal changes.

 

1.1.1 Beta (09/01/12)

Fix: Several bugs that were in the new randomness code. A lot of console debug text has been added, most will be removed or suppressed when this version is proved stable.

 

1.1.0 Beta (07/01/12)

Added: Randomness, a new algorithm to decide which maps are chosen to be vote options.

Added: Ability to disable votemap starting automatically.

 

1.0.1 Stable (06/01/12)

Fixed: Tweaked various algorithms

Fixed: Squad rush bug

 

1.0.0 Stable (05/01/12)

Added: Warning for incorrect vote command

 

Attached Files:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by b0wzy*:

 

I'm getting an error showing up... it seemed to be running okay when the server was full with 64 people on conquest, then we had a server crash and it went back to the first maplist, which are all TDM maps.

 

Plugin logging started: Friday, 1 November 2013 20:40:40

[20:40:40] Loading plugin cache..

[20:40:40] Preparing plugins directory..

[20:40:40] Moving legacy plugins..

[20:40:40] Creating compiler..

[20:40:40] Configuring compiler..

[20:40:40] Running with native .Net..

[20:40:40] Building sandbox..

[20:40:40] Configuring sandbox..

[20:40:40] Compiling and loading plugins..

[20:40:40] Compiling CBasicInGameInfo.cs... Using Cache

[20:40:40] Loading CBasicInGameInfo... Loaded

[20:40:40] Compiling CInGameAdmin.cs... Using Cache

[20:40:40] Loading CInGameAdmin... Loaded

[20:40:40] Compiling CSpambot.cs... Using Cache

[20:40:40] Loading CSpambot... Loaded

[20:40:40] Compiling CUltimateMapManager.cs... Using Cache

[20:40:40] Loading CUltimateMapManager... Loaded

[20:40:40] Compiling TeamspeakSync.cs... Using Cache

[20:40:41] Loading TeamspeakSync... Loaded

[20:40:41] Compiling xVotemap.cs... Using Cache

[20:40:41] Loading xVotemap... Loaded

[20:40:41] In-Game Admin Enabled!

[20:40:41] UltimateMapManager: Enabled!

[20:40:43] xVotemap Enabled!

[20:40:43] [xVotemap] Info: Not last round. Stopping voting system.

[20:40:43] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[20:40:43] [xVotemap] Error: Object reference not set to an instance of an object.

[20:42:31] xVotemap Disabled =(

[20:42:42] UltimateMapManager: Disabled =(

[20:42:46] UltimateMapManager: Enabled!

[20:42:46] xVotemap Enabled!

[20:42:47] [xVotemap] Info: Not last round. Stopping voting system.

[20:42:47] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[20:42:47] [xVotemap] Error: Object reference not set to an instance of an object.

[20:43:04] xVotemap Disabled =(

[20:43:05] xVotemap Enabled!

[20:43:16] [xVotemap] Info: Not last round. Stopping voting system.

[20:43:16] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[20:43:16] [xVotemap] Error: Object reference not set to an instance of an object.

[20:43:31] UltimateMapManager: TASK -> 0 players. Need to change to Map List 0 [Deathmatch].

[20:43:31] UltimateMapManager: WORK -> Changing to Map List 0 [Deathmatch].

[20:43:32] UltimateMapManager: INFO -> Next round requested. Rounds run on this map list: 0

[20:43:32] [xVotemap] Work: Skipped Level: Stopping voting system

[20:43:32] [xVotemap] Info: Maplist change detected

[20:43:41] [xVotemap] Info: Level loaded: Paracel Storm [TDM], Round 1 of 1

[20:43:41] [xVotemap] Work: Level loaded: Last round detected, starting voting system

[20:43:47] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[20:43:47] [xVotemap] Error: Index was outside the bounds of the array.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by grizzlybeer*:

 

Yell is working in BF4?

dont know. but new server patch is incomming anyway. so we need to test it i guess

 

I'm getting an error showing up... it seemed to be running okay when the server was full with 64 people on conquest, then we had a server crash and it went back to the first maplist, which are all TDM maps.

 

Plugin logging started: Friday, 1 November 2013 20:40:40

[20:40:40] Loading plugin cache..

[20:40:40] Preparing plugins directory..

[20:40:40] Moving legacy plugins..

[20:40:40] Creating compiler..

[20:40:40] Configuring compiler..

[20:40:40] Running with native .Net..

[20:40:40] Building sandbox..

[20:40:40] Configuring sandbox..

[20:40:40] Compiling and loading plugins..

[20:40:40] Compiling CBasicInGameInfo.cs... Using Cache

[20:40:40] Loading CBasicInGameInfo... Loaded

[20:40:40] Compiling CInGameAdmin.cs... Using Cache

[20:40:40] Loading CInGameAdmin... Loaded

[20:40:40] Compiling CSpambot.cs... Using Cache

[20:40:40] Loading CSpambot... Loaded

[20:40:40] Compiling CUltimateMapManager.cs... Using Cache

[20:40:40] Loading CUltimateMapManager... Loaded

[20:40:40] Compiling TeamspeakSync.cs... Using Cache

[20:40:41] Loading TeamspeakSync... Loaded

[20:40:41] Compiling xVotemap.cs... Using Cache

[20:40:41] Loading xVotemap... Loaded

[20:40:41] In-Game Admin Enabled!

[20:40:41] UltimateMapManager: Enabled!

[20:40:43] xVotemap Enabled!

[20:40:43] [xVotemap] Info: Not last round. Stopping voting system.

[20:40:43] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[20:40:43] [xVotemap] Error: Object reference not set to an instance of an object.

[20:42:31] xVotemap Disabled =(

[20:42:42] UltimateMapManager: Disabled =(

[20:42:46] UltimateMapManager: Enabled!

[20:42:46] xVotemap Enabled!

[20:42:47] [xVotemap] Info: Not last round. Stopping voting system.

[20:42:47] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[20:42:47] [xVotemap] Error: Object reference not set to an instance of an object.

[20:43:04] xVotemap Disabled =(

[20:43:05] xVotemap Enabled!

[20:43:16] [xVotemap] Info: Not last round. Stopping voting system.

[20:43:16] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[20:43:16] [xVotemap] Error: Object reference not set to an instance of an object.

[20:43:31] UltimateMapManager: TASK -> 0 players. Need to change to Map List 0 [Deathmatch].

[20:43:31] UltimateMapManager: WORK -> Changing to Map List 0 [Deathmatch].

[20:43:32] UltimateMapManager: INFO -> Next round requested. Rounds run on this map list: 0

[20:43:32] [xVotemap] Work: Skipped Level: Stopping voting system

[20:43:32] [xVotemap] Info: Maplist change detected

[20:43:41] [xVotemap] Info: Level loaded: Paracel Storm [TDM], Round 1 of 1

[20:43:41] [xVotemap] Work: Level loaded: Last round detected, starting voting system

[20:43:47] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[20:43:47] [xVotemap] Error: Index was outside the bounds of the array.

thx for your report. this is a known error. it should not stop the plugin from working. this bug appears now and then after a map loads. just not disable the plugin and it will do its work :-)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BFTALON*:

 

Hey grizzly im not seeing the modes in procon for shorthand so people know what type of map they are voting for .. the new modes like what i added in my earlier version . (OB) and (DF) . right now it just blank no mode listed . my edits fixed that problem . maybe we can add those back in?

 

 

[16:46:09 36] [xVotemap] Info: Voting Ended. 3% of the players voted.

[16:46:09 39] [xVotemap] Info: Votes: Siege of Shanghai : 0

[16:46:09 40] [xVotemap] Info: Votes: Dawnbreaker : 0

[16:46:09 43] [xVotemap] Info: Votes: Operation Locker [CQ]: 0

[16:46:09 47] [xVotemap] Info: Votes: Golmud Railway [CQ]: 0

[16:46:09 50] [xVotemap] Info: Votes: Operation Locker : 3

[16:46:09 53] [xVotemap] Info: Votes: Golmud Railway : 0

[16:46:09 54] [xVotemap] Info: Operation Locker Won

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by grizzlybeer*:

 

Hey grizzly im not seeing the modes in procon for shorthand so people know what type of map they are voting for .. the new modes like what i added in my earlier version . (OB) and (DF) . right now it just blank no mode listed . my edits fixed that problem . maybe we can add those back in?

 

 

[16:46:09 36] [xVotemap] Info: Voting Ended. 3% of the players voted.

[16:46:09 39] [xVotemap] Info: Votes: Siege of Shanghai : 0

[16:46:09 40] [xVotemap] Info: Votes: Dawnbreaker : 0

[16:46:09 43] [xVotemap] Info: Votes: Operation Locker [CQ]: 0

[16:46:09 47] [xVotemap] Info: Votes: Golmud Railway [CQ]: 0

[16:46:09 50] [xVotemap] Info: Votes: Operation Locker : 3

[16:46:09 53] [xVotemap] Info: Votes: Golmud Railway : 0

[16:46:09 54] [xVotemap] Info: Operation Locker Won

updated. thx for spotting this
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by guapoloko*:

 

What would that be?

 

[19:29:27 65] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[19:29:27 65] [xVotemap] Error: Index was outside the bounds of the array.

[19:29:57 65] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[19:29:57 65] [xVotemap] Error: Index was outside the bounds of the array.

[19:30:27 69] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[19:30:27 69] [xVotemap] Error: Index was outside the bounds of the array.

[19:30:57 72] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[19:30:57 72] [xVotemap] Error: Index was outside the bounds of the array.

[19:31:27 76] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[19:31:27 76] [xVotemap] Error: Index was outside the bounds of the array.

[19:31:57 79] [xVotemap] Error: EXCEPTION CAUGHT IN: SetVoteStartAndEndTimes

[19:31:57 79] [xVotemap] Error: Index was outside the bounds of the array.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by utopiate*:

 

I installed this minutes after you posted Grizzly. Server has been going strong since. I haven't been in the server myself yet but from chat and debug, players are voting and the plugin is changing to the voted map. 48 slot CQ server. Nice work buddy :ohmy:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by OscarMike*:

 

What value for "Votes Threshold (votes)" are you guys running? I've set it to fairly low (12) and mostly the votes fail due to only having around 8 votes.. (full slot Bf4 conquest large server). I don't really want to set it too low :>

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by utopiate*:

 

What value for "Votes Threshold (votes)" are you guys running? I've set it to fairly low (12) and mostly the votes fail due to only having around 8 votes.. (full slot Bf4 conquest large server). I don't really want to set it too low :>

4

 

The plugin is showing me what maps are most popular so all good

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

What value for "Votes Threshold (votes)" are you guys running? I've set it to fairly low (12) and mostly the votes fail due to only having around 8 votes.. (full slot Bf4 conquest large server). I don't really want to set it too low :>

1.

 

all votes counts, it gives me the idea that more people will start voting because every single vote matters.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by OscarMike*:

 

4

1. All votes counts, it gives me the idea that more people will start voting because every single vote matters.

Thanks guys. I will try and reduce it to a smaller value. I have the feeling that at least on my servers a lot of players have the chat closed and do not see the vote. Will have to keep an eye on it. Maybe players just don't want to vote at the moment :>
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Xjmhd*:

 

Thanks guys. I will try and reduce it to a smaller value. I have the feeling that at least on my servers a lot of players have the chat closed and do not see the vote. Will have to keep an eye on it. Maybe players just don't want to vote at the moment :>

I've been running with 4 on my servers, people don't seem to vote on my CQ-L server however on my rush server the vote passes 90% of the time.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by anthnyjb*:

 

not 100% on mine...

when vote banner doesnt appear and when the map options come up in chat it says a random player is admin saying it so the options overlap onto two lines...

 

any ideas?

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.