Server Plugin: UMC for Empires

Discussion in 'General' started by CyberKiller, Jul 1, 2014.

  1. CyberKiller

    CyberKiller Nyooks!

    Messages:
    1,107
    Likes Received:
    8
    Trophy Points:
    0
    Plugin is discontinued for now due to bugs with map nominations.
    The plugin source can now be found forked some from the main umc branch here: https://github.com/CyberKiller/Ultimate-Mapchooser

    Basically this is a modified version of Ultimate Map Chooser for empires mod.
    It includes a new UMC plugin (umc-emp-mapvote) to enable start (after comm vote ends) or end of map (cv death, ticket win, ect) votes in empires.
    umc-core and umc-randomcycle have also had some empires specific bugs fixed as well.
    It's still just a beta so there might be some bugs, please let me know if there are any.

    Do not download this for your game, it is just for servers.
    Make sure to uninstall any old versions of umc and it's configs before installing any parts of this one or they will conflict.

    (You can probably reuse the old map cycle file though)

    Download beta 0.5: https://www.dropbox.com/s/5ceirbg9cq9oc4d/umc-empires-beta-0.5.zip?dl=0

    Readme:
    Code:
    What is this?:
        This is a version of ultimate map chooser that has been modified to work properly with empires mod.
        Changes are:
        umc-emp-mapvote: a new module for umc that enables start or end of match map votes for empires mod.
        umc-randomcycle: will now set the next map at the end of rounds correctly on empires mod.
        umc-core: fixed instant map change votes putting the server in limbo on empires mod (this affects all umc modules)
       
        Based off git commit: https://github.com/Steell/Ultimate-Mapchooser/commit/d22c65bb8b12c5e338ff80c0cebb151d75ca375d
        Built using sourcemod-1.6.0-hg4310-windows.
       
    
    How to install:
        Remove all old umc plugins from sourcemod\addons and sourcemod\addons\disabled.
        If you are moving from a very old version of umc then I recommend backing up the old config files for it then reconfiguring from scratch. (I recommend backing up your old config files anyway)
        Extract the zip to your empires folder and install and configure umc as normal as detailed here: https://code.google.com/p/sourcemod-ultimate-mapchooser/wiki/HelpFAQ?tm=6
        Do not use this with any other version of umc or it's plugins.
       
        The empires game directory must be called 'empires' for instant map changes on vote success to work correctly.
        Failure to have the correct game directory name will result in the server getting stuck in limbo on end of map votes map changes!
        In other words it has to be like this: "..\empires\maps\emp_canyon.bsp".
        NOT like this: "..\EmpMainServer\maps\emp_canyon.bsp".
    
    umc-emp-mapvote documentation:
        Edit the config file for it in: \cfg\sourcemod\umc-emp-mapvote.cfg
        I recommend enabling the umc-randomcycle plugin which will act as a fail-safe and set the next map just before the map changes if a vote has not happened.
        There is also the command !umc_emp_enablemapvote to re-enable the map vote if it has been disabled by !setnextmap.
    
    Known Issues:
        Map nominations ignore map time limits.
    
    Credits:
        Steell + other umc contributors: for making umc in the first place.
        CyberKiller: for the changes listed at the top of this readme.
     
    Last edited: Mar 3, 2017
  2. Neoony

    Neoony Member

    Messages:
    1,370
    Likes Received:
    106
    Trophy Points:
    0
    looks nice...best would be vote at the end of map..
     
  3. FN198

    FN198 Member

    Messages:
    2,434
    Likes Received:
    0
    Trophy Points:
    0
    I feel like this is the best time to vote for maps.
     
  4. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Yeah, who ever thought it was a good idea to vote at the beginning of a match?In any multiplayer game, it's a bad idea, but especially so in Empires.

    Empires matches are long. People come and go. In some cases, you're basically asking one group of people to decide a map for an almost entirely different group of players. That's silly.

    Also, I got shit to do at the beginning of a match. I don't want to worry about voting for a fucking map. After a CV is in flames, everyone is in cooldown mode and more apt to give a shit about voting for stuff.

    Finally, nominations. We don't have enough nominations because people are (rightfully) worried about shit like com voting, squads, loadouts and other important pregame shit. It's much easier to find a moment of downtime in the next 30-60 min for a quick nomination than in the 2-3 min before a match.
     
  5. Z100000M

    Z100000M Vithered Weteran

    Messages:
    9,120
    Likes Received:
    70
    Trophy Points:
    0
    I dont see why are we having this argument in the first place.
    Voting at round end has none of the typical voting shit and all of the advantages.
    The only reason that i remember that it hasnt been done so, over the last 5 or so years we've had plugins, was" Lol i dunno how, you do it if you want smartypants."
     
  6. BigTeef

    BigTeef Bootleg Headshot master

    Messages:
    7,036
    Likes Received:
    36
    Trophy Points:
    0
    Will this system prevent escort being voted 20 times a day?
     
  7. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Yes, it gets capped at 5/day while the extra 15 get picked up by cod.
     
  8. Grantrithor

    Grantrithor Member

    Messages:
    9,820
    Likes Received:
    11
    Trophy Points:
    0
    Apparently the reason was that there was no trigger that could throw an event to be catched by sourcemod. It turns out that it doesn't really take much effort to make one of those throwable events, so nothing.
     
  9. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Voting was only ever at the start of the map because the plugins we had didn't support end of map voting, and no-one was around to fix them. Now we have game-end events to hook onto, and Cyberkiller has fixed the plugin.
     
  10. CyberKiller

    CyberKiller Nyooks!

    Messages:
    1,107
    Likes Received:
    8
    Trophy Points:
    0
    More like had to write a whole new plugin for UMC, end of map voting requires handling the modifying of mp_chattime and a change to random map fail-safe if the end vote fails.
     
    Last edited: Jul 2, 2014
  11. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Seems like a pretty typical project manager - technician relationship.

     
  12. Deiform

    Deiform Member

    Messages:
    2,492
    Likes Received:
    10
    Trophy Points:
    0
    What exactly is the hook though? When the cv dies? Now you're going to make everyone wait 30 seconds while the vote takes place (and any revotes because maps were tied)? Other source games have strict time limit rounds so they can throw up the vote 1 minute from the end.

    End of map voting in Empires is going to significantly slow down the games and I bet you see people disconnect more at the end of maps. I'm going to be annoyed that I have to wait 60 seconds after the map ends for the vote to complete, plus 20 seconds for map change and then 90 seconds for a comm vote. It makes sense to put it at the start of the map - it's constant, people are used to it, there's a revote command for people who are retards and spam 1 and it doesn't add on meaningless time to a map.

    If you're too busy to not nominate maps are the start of the round when you have 2 fucking minutes to sort your shit out then you're fucking retarded. There is literally nothing to do at the start of a round except run in a direction (there are no map exceptions to this where you can run in a straight line and read what maps are next). If you're too busy at the start of the round to not concentrate on voting then you have serious issues and you're probably the retarded intern from Scrubs who can't walk and write at the same time because it makes him feel nauseous.
     
    Last edited: Jul 6, 2014
  13. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    personally i prefer mapcycles since it takes longer for a map to come up again (unless its somemap - district - somemap - district - ...). or well at least it feels like

    ideally it would adapt itself by the average of active players over the last round.
    if people really want to play a certain map theres always RTV.

    the big downside about voting at mapstart is that on some maps the vote pops up during first contact, so if it has to be voting i prefer at round end the instant comm blows up.
     
    Last edited: Jul 6, 2014
  14. CyberKiller

    CyberKiller Nyooks!

    Messages:
    1,107
    Likes Received:
    8
    Trophy Points:
    0
    It's more like 5 seconds for a vote to appear after the round ends (eg, on cv death) then 20 seconds for a vote to take place then 5 seconds for the map to change after the vote completes (most of these times are configurable).
    Being as the round end time without the end votes was 40 seconds anyway, I don't see how it would slow rounds down.
     
  15. Neoony

    Neoony Member

    Messages:
    1,370
    Likes Received:
    106
    Trophy Points:
    0
    The "rtv" doesnt really rock the vote in empires.
    It just starts the nextmap after successful rtv (you probably know that, just saying)
    So its more of a "rock the nextmap".

    So the only way to play specific map is to nominate it at the start of the map and having it chosen when the normal vote starts.

    There was soooo many times when the current map sucked and everybody tryed to rtv only to get another shit map to get everybody to rtv again.

    So something like "votemap" would be nice there, although I dont think you would be able to get enough people to vote for 1 map ever anyway.

    The other thing could be that the RTV would be starting another vote that you could nominate into. This is how its normally.

    So Iam still for having vote on the end of map.
    Dont think there would be any much of a slowdown and I wouldnt mind it anyway.

    Even if it would be slowing anything down its still a good trade to put a bit of patience into it, to get some more quality out of the voting...
     
  16. Deiform

    Deiform Member

    Messages:
    2,492
    Likes Received:
    10
    Trophy Points:
    0
    Why is it 40 seconds to end anyway? Seems like a long time to stare at a dead vehicle.
     
  17. Neoony

    Neoony Member

    Messages:
    1,370
    Likes Received:
    106
    Trophy Points:
    0
    so that we can do the usual ritual of killing ourselves? :headshot:

    :|ove:
     
  18. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    If the vote is delayed until the end of the round, then it might as well work that way. :3
     
  19. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    It's to force a short reflection of "y u dun goofd" on the losing team.
     
  20. CyberKiller

    CyberKiller Nyooks!

    Messages:
    1,107
    Likes Received:
    8
    Trophy Points:
    0
    rtv works like this if it succeeds:
    If a vote has not already set the next map then do a map vote that changes the map as soon as it finishes.
    If a vote has set the next map already then change to the next map.

    So with start of map votes rtv will almost always just change to the map that was voted.
     

Share This Page