Raised This Month: $ Target: $400
 0% 

[TF2]Merasmus Timer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mitch
Junior Member
Join Date: Aug 2011
Plugin ID:
3334
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A fairly basic timer to predict the spawning of Merasmus.
    Old 10-28-2012 , 02:48   [TF2]Merasmus Timer
    Reply With Quote #1

    Description:
    A fairly basic timer to predict the spawning of Merasmus that shows the time until the next time he will spawn

    I
    nfo
    :

    The times are based off of the
    tf_merasmus_spawn_interval(default 180)
    and tf_merasmus_spawn_interval_variation(default 30) ingame Cvars.

    Cvars
    :
    sm_meras_timer_version "1.0"; Version Cvar.

    Commands:
    None

    Screenshots:
    counting down: (top left corner)
    http://cloud-2.steampowered.com/ugc/...BA5785B0504D6/

    Installation:
    Place meras_timer.smx into the addons/sourcemod/plugins/ folder.

    Versions:

    1.0, Initial release;
    1.1. Fixed an issue with client counts;
    Attached Files
    File Type: sp Get Plugin or Get Source (meras_timer.sp - 830 views - 2.8 KB)

    Last edited by DarthNinja; 11-06-2012 at 04:42. Reason: changed status
    Mitch is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 10-28-2012 , 03:37   Re: [TF2]Merasmus Timer
    Reply With Quote #2

    This is fantastic! Thank you very much! Now everyone knows "exactly" when he's coming

    Last edited by DarthNinja; 10-29-2012 at 02:53. Reason: no need to quote the ENTIRE OP.
    Mr. Man is offline
    TheDOO
    Member
    Join Date: Nov 2007
    Old 11-02-2012 , 00:27   Re: [TF2]Merasmus Timer
    Reply With Quote #3

    Seems to have a small issue when a round ends. Sometimes the timer will read 0 on both high and low, yet he still doesn't show up for another 20+ seconds

    Usually happens when the timer only has a few seconds left on the low side and the round ends. I'm guessing the actual merasmus timer might not take into account some of the after round stuff possibly?

    Last edited by TheDOO; 11-02-2012 at 00:29.
    TheDOO is offline
    TheDOO
    Member
    Join Date: Nov 2007
    Old 11-05-2012 , 02:00   Re: [TF2]Merasmus Timer
    Reply With Quote #4

    Is there another cvar now after the update? Merasmus seems to be spawning almost every 30 seconds after his death. Timer is nowhere near accurate anymore.
    TheDOO is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-06-2012 , 04:41   Re: [TF2]Merasmus Timer
    Reply With Quote #5

    Here are some issues that prevent this from being approved:
    • You declare a number of global variables that are only used in one function.
    • "Timer" is a reserved word; Don't use it as a variable or function name.
    • Your client count is currently hardcoded to 10. However the required number of players can be changed with the cvar tf_merasmus_min_player_count. Also I believe only players on teams are counted.
    • You should use !IsFakeClient instead of !IsClientReplay(i) && !IsClientSourceTV(i).
    • The plugin currently checks the values of tf_merasmus_spawn_interval and tf_merasmus_spawn_interval_variation more often than needed. Use HookConVarChange to cut down on updates and make them happen immediately.
    __________________
    DarthNinja is offline
    XyzKiller
    Junior Member
    Join Date: Mar 2012
    Old 11-07-2012 , 01:03   Re: [TF2]Merasmus Timer
    Reply With Quote #6

    Also what seems to happen, after beating Merasmus a couple times, he spawns very quickly after being defeated. Like 30 seconds most and he will respawn when around level 5+
    XyzKiller 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 01:32.


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