Page 1 of 77 1231151 ... LastLast
Results 1 to 10 of 770
  1. #1
    Plugin Developer
    Join Date
    May 2012
    Location
    germany, flensburg
    Posts
    301

    xVotemap 1.5.6.0

    Versions <= 1.3.1 by aether. You can find versions < 1.5 here:
    https://forum.myrcon.com/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

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

    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


    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.


    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.


    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.


    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

    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 Attached Files
    Last edited by grizzlybeer; 15-07-2014 at 17:47.

  2. #2

  3. #3
    Thx dude, will test it when R4 is live in some minutes =)

  4. #4
    Senior Member
    Join Date
    Dec 2011
    Location
    UK
    Posts
    233
    Many thanks Grizzly, will report back any issues, donation winging its way to you now and very much looking forward to 'truebalancer'

  5. #5
    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.

  6. #6
    Procon Plugin Tester
    Join Date
    May 2011
    Location
    Brazil
    Posts
    554
    Yell is working in BF4?
    http://www.phogue.net/forumvb/image.php?type=sigpic&userid=3215&dateline=1326598  261

  7. #7
    Plugin Developer
    Join Date
    May 2012
    Location
    germany, flensburg
    Posts
    301
    Quote Originally Posted by guapoloko View Post
    Yell is working in BF4?
    dont know. but new server patch is incomming anyway. so we need to test it i guess

    Quote Originally Posted by b0wzy View Post
    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 :-)

  8. #8
    Procon Plugin Tester
    Join Date
    May 2011
    Location
    Brazil
    Posts
    554
    For me this has worked perfectly. Now I will test the layer.
    http://www.phogue.net/forumvb/image.php?type=sigpic&userid=3215&dateline=1326598  261

  9. #9
    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 <------------mode type not listed
    [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 <------------mode type not listed
    [16:46:09 53] [xVotemap] Info: Votes: Golmud Railway : 0 <------------mode type not listed
    [16:46:09 54] [xVotemap] Info: Operation Locker Won <----------- mode type not listed

  10. #10
    Plugin Developer
    Join Date
    May 2012
    Location
    germany, flensburg
    Posts
    301
    Quote Originally Posted by BFTALON View Post
    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 <------------mode type not listed
    [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 <------------mode type not listed
    [16:46:09 53] [xVotemap] Info: Votes: Golmud Railway : 0 <------------mode type not listed
    [16:46:09 54] [xVotemap] Info: Operation Locker Won <----------- mode type not listed
    updated. thx for spotting this
    Last edited by grizzlybeer; 01-11-2013 at 21:33.

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •