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

[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 , 01: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 - 910 views - 2.8 KB)

    Last edited by DarthNinja; 11-06-2012 at 03:42. Reason: changed status
    Mitch is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 10-28-2012 , 02: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 01:53. Reason: no need to quote the ENTIRE OP.
    Mr. Man is offline
    TheDOO
    Member
    Join Date: Nov 2007
    Old 11-01-2012 , 23: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-01-2012 at 23:29.
    TheDOO is offline
    TheDOO
    Member
    Join Date: Nov 2007
    Old 11-05-2012 , 01: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 , 03: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 , 00: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



    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 22:32.


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