Raised This Month: $12 Target: $400
 3% 

[TF2] MvM Slot Manager - 0.2


Post New Thread Reply   
 
Thread Tools Display Modes
Author
lucasdidur
Senior Member
Join Date: Jan 2011
Location: Brazil
Plugin ID:
3185
Plugin Version:
0.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Manages MvM server slots, and limit at 6 players connected
    Old 08-19-2012 , 18:59   [TF2] MvM Slot Manager - 0.2
    Reply With Quote #1

    [Eh Aqui] MvM Slot Manager





    Description

    This plugin manage players connected on MvM servers. He lock to a maximum of 6 players connected, and has support reserved slot with kick a player to enter the game but keeping amount of max players.



    Cvars

    eh_mvm_version
    Default: 0.1
    Show the Plugin version

    eh_mvm_kicktype
    Default: 1
    Type to choose how client is kicked by reserved slot (0 - Highest Ping / 1 - Highest Connection Time / 2 - Random Player)



    Command

    eh_playercount
    Description: Show the number of current players connected
    Aliase: !playercount



    Extension requirements

    Connect: http://forums.alliedmods.net/showthread.php?t=162489



    Changelog

    0.2
    * Fix plugin not count Replay or SourceTV as bot
    + Added a version to use old Snapshot of Connect - ehaqui_mvm_slot_connectold.smx
    + Added command aliase to player count - !playercount






    OBS: If you found a bug, please report, is Beta yet. And sorry for my english.
    Total views: 30
    Attached Files
    File Type: sp Get Plugin or Get Source (ehaqui_mvm_slot.sp - 416 views - 5.4 KB)
    File Type: smx ehaqui_mvm_slot.smx (4.5 KB, 402 views)
    File Type: smx ehaqui_mvm_slot_connectold.smx (4.5 KB, 282 views)
    __________________




    Last edited by lucasdidur; 08-24-2012 at 09:01. Reason: English Fixes, sorry.
    lucasdidur is offline
    Maxunit
    SourceMod Donor
    Join Date: Jul 2005
    Old 08-19-2012 , 20:38   Re: [TF2] MvM Slot Manager
    Reply With Quote #2

    If the server has 6 players, is this plugin just kicking every 7th player after he connected? I heard this method ruins the server ranking (where mine says: "Good" and "Upwards Fast" so far...).

    Otherwise, great plugin, have been searching for a plugin, which makes use of reserved slot properly on MvM.
    Maxunit is offline
    Send a message via ICQ to Maxunit Send a message via AIM to Maxunit Send a message via MSN to Maxunit
    lucasdidur
    Senior Member
    Join Date: Jan 2011
    Location: Brazil
    Old 08-19-2012 , 20:42   Re: [TF2] MvM Slot Manager
    Reply With Quote #3

    Quote:
    Originally Posted by Maxunit View Post
    If the server has 6 players, is this plugin just kicking every 7th player after he connected? I heard this method ruins the server ranking (where mine says: "Good" and "Upwards Fast" so far...).

    Otherwise, great plugin, have been searching for a plugin, which makes use of reserved slot properly on MvM.
    When he reaches 6 players connected, it uses the Connect function to reject the player connection, but if the player who is connecting is an admin, some player is kicked from server, but keeping 6 players.
    __________________




    Last edited by lucasdidur; 08-20-2012 at 15:42.
    lucasdidur is offline
    fefobiz
    SourceMod Donor
    Join Date: Jul 2012
    Old 08-20-2012 , 15:23   Re: [TF2] MvM Slot Manager
    Reply With Quote #4

    Google translate ftw.
    fefobiz is offline
    lucasdidur
    Senior Member
    Join Date: Jan 2011
    Location: Brazil
    Old 08-20-2012 , 17:52   Re: [TF2] MvM Slot Manager
    Reply With Quote #5

    Quote:
    Originally Posted by fefobiz View Post
    Google translate ftw.
    Yes, as English is not my primary language, I ask for help to Google.
    __________________



    lucasdidur is offline
    Sazpaimon
    Member
    Join Date: Apr 2008
    Old 08-20-2012 , 20:47   Re: [TF2] MvM Slot Manager
    Reply With Quote #6

    1. Replay isn't being counted, so if you have replay enabled, the playercount is always one too high.
    2. You should really consider using OnClientPreConnect instead of OnClientPreConnectEx so users will not have to download the snapshot version of Connect for this to work.
    3. I'm not a huge fan of the "eh" prefix but that's just me.
    Sazpaimon is offline
    lucasdidur
    Senior Member
    Join Date: Jan 2011
    Location: Brazil
    Old 08-20-2012 , 21:21   Re: [TF2] MvM Slot Manager
    Reply With Quote #7

    Quote:
    Originally Posted by Sazpaimon View Post
    1. Replay isn't being counted, so if you have replay enabled, the playercount is always one too high.
    2. You should really consider using OnClientPreConnect instead of OnClientPreConnectEx so users will not have to download the snapshot version of Connect for this to work.
    3. I'm not a huge fan of the "eh" prefix but that's just me.
    Thank you for you feedback.
    __________________



    lucasdidur is offline
    lucasdidur
    Senior Member
    Join Date: Jan 2011
    Location: Brazil
    Old 08-20-2012 , 21:22   Re: [TF2] MvM Slot Manager
    Reply With Quote #8

    Update:

    0.2
    * Fix plugin not count Replay or SourceTV as bot
    + Added a version to use old Snapshot of Connect - ehaqui_mvm_slot_connectold.smx
    + Added command aliase to player count - !playercount
    Attached Files
    File Type: sp Get Plugin or Get Source (ehaqui_mvm_slot.sp - 301 views - 5.5 KB)
    File Type: smx ehaqui_mvm_slot.smx (4.5 KB, 319 views)
    File Type: sp Get Plugin or Get Source (ehaqui_mvm_slot_connectold.sp - 281 views - 5.5 KB)
    File Type: smx ehaqui_mvm_slot_connectold.smx (4.5 KB, 298 views)
    __________________




    Last edited by lucasdidur; 08-20-2012 at 21:22.
    lucasdidur is offline
    Seven.
    Junior Member
    Join Date: Aug 2009
    Old 08-21-2012 , 05:06   Re: [TF2] MvM Slot Manager - 0.2
    Reply With Quote #9

    This plugin seems like a good solution.
    __________________
    Seven. is offline
    mixmastermike
    New Member
    Join Date: Aug 2012
    Old 08-23-2012 , 19:16   Re: [TF2] MvM Slot Manager - 0.2
    Reply With Quote #10

    Hi, thanks for the plugin! Is it possible for the kick type option to add "shortest connection time"?
    That would be great! Thx!

    Greets Mike
    mixmastermike is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 06:25.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode