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

[MvM] Auto-ready


Post New Thread Reply   
 
Thread Tools Display Modes
Author
avi9526
Senior Member
Join Date: Apr 2013
Location: Ukraine
Plugin ID:
3834
Plugin Version:
0.3
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    77 
    Plugin Description:
    Force start of MvM wave if there is enough players that ready
    Old 08-10-2013 , 06:32   [MvM] Auto-ready
    Reply With Quote #1

    Description:
    Force wave start, in MvM game mode, If there is enough players in red team that is ready.

    Cvars:
    mvm_autoready_version - version cvar, don't change

    mvm_autoready_threshold - amount of players that required to be ready to force wave start
    def = 2
    min = 1
    max = inf
    Note: You probably need to set this to some low value like (1 .. 3)

    mvm_autoready_percent - percentage of players that required to be ready to force wave start
    def = 0.6
    min = 0.0
    max = 1.0
    Note: You probably want to set it to something like (0.5 .. 0.75)

    License:
    GPL
    If You found license or copyright violation in this plugin - please, notify me

    Development:
    Source code and change history available here https://bitbucket.org/avi9526/autoready/src

    Changelog:
    Code:
    0.3 - Added code to check relative amount of players
    0.2 - Separate code
    0.1 - Part of modification to plugin «[TF2] MvM - Make players 'ready'»
    Acknowledgements:
    Used others plugins code as an example (Make players ready, MobileUpgrades, 10vM, RTD)

    Known issues:
    When wave start-timer is bellow 10 sec - players can still change ready state, which cause some useless flood in chat from this plugin
    Attached Files
    File Type: sp Get Plugin or Get Source (autoready.sp - 2143 views - 15.0 KB)

    Last edited by avi9526; 08-18-2013 at 11:43. Reason: New version
    avi9526 is offline
    ygor.almeida
    Member
    Join Date: Jul 2010
    Old 08-18-2013 , 02:14   Re: [MvM] Auto-ready
    Reply With Quote #2

    Not able to run the plugins, I configured several options to start the game with 2 or 3 players, but nothing happened. I confirmed that was up and running. Can you help me?
    ygor.almeida is offline
    avi9526
    Senior Member
    Join Date: Apr 2013
    Location: Ukraine
    Old 08-18-2013 , 03:29   Re: [MvM] Auto-ready
    Reply With Quote #3

    Check logs in
    Code:
    <PATH_TO_ROOT_OF_GAME_SERVER>/addons/sourcemod/logs/L*.log
    This plugin print a lot messages in log, so you must see something like
    Code:
    L 08/17/2013 - 21:54:43: [autoready.smx] [Auto-ready] bla-bla-bla
    Logs are named with date, You can copy-paste some latest log file to comment here (when you run this plugin) I will try to find why it's not working.

    Also I planing to do some small fix to this plugin - today or tomorrow…

    I saw some servers running modified version of this plugin and its working well, but they won't tell what they do (((
    __________________
    avi9526 is offline
    avi9526
    Senior Member
    Join Date: Apr 2013
    Location: Ukraine
    Old 08-18-2013 , 11:46   Re: [MvM] Auto-ready
    Reply With Quote #4

    Now plugin check also for relative amount of players, it give more «smooth» forcing

    See graphic:

    N - amount of players on server;
    Nth = mvm_autoready_threshold;
    I - percentage of players that ready;
    Ir = mvm_autoready_percent;
    __________________

    Last edited by avi9526; 08-18-2013 at 11:47.
    avi9526 is offline
    Kleiner
    Member
    Join Date: Dec 2017
    Location: Russia, Chelyabinsk
    Old 11-10-2020 , 10:52   Re: [MvM] Auto-ready
    Reply With Quote #5

    Upload your plugin on github for more easy contributions
    Kleiner is offline
    Kleiner
    Member
    Join Date: Dec 2017
    Location: Russia, Chelyabinsk
    Old 11-10-2020 , 10:53   Re: [MvM] Auto-ready
    Reply With Quote #6

    Please make translations support for your plugin

    Last edited by Kleiner; 11-10-2020 at 10:53.
    Kleiner is offline
    avi9526
    Senior Member
    Join Date: Apr 2013
    Location: Ukraine
    Old 11-11-2020 , 14:38   Re: [MvM] Auto-ready
    Reply With Quote #7

    Hello. I do not play TF2 for 4 years. You can use or upload any of my code under CC-0 license anywhere (if no copyright restricted code present in plugin, I not sure about this plugins being clear). Have a great day
    __________________
    avi9526 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 08:00.


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