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

[L4D] Heartbeat Trigger


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Plugin ID:
1125
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    9 
    Plugin Description:
    sm_hb or !hb to force every client in the server to heartbeat
    Old 08-29-2009 , 17:24   [L4D] Heartbeat Trigger
    Reply With Quote #1

    Description:
    This plugin should work in all mods, but it was written for L4D.

    This plugin creates a command sm_hb or !hb which will force every client in the server to send out a heartbeat. This is good when the server is stuck with 7/8 clients and no one is joining.

    This will make every connected client including the server send out a heartbeat.

    I wrote this in my private server plugin, but separated it out into its own plugin due to many requests.

    CVARS:
    sm_heartbeat_version -- Version of the plugin
    sm_heartbeat_auto (Default: 1) -- This will make everyone on the server heartbeat when a client disconnects.
    sm_heartbeat_timeout (Default: 20 seconds) -- This is the timeout value between which the command can be sent. (Admins are immune to this var)

    Commands:
    sm_hb
    !hb

    Version:
    1.0: Release version
    Attached Files
    File Type: sp Get Plugin or Get Source (heartbeat_trigger.sp - 6300 views - 2.8 KB)

    Last edited by bman87; 08-30-2009 at 11:30.
    bman87 is offline
    triggerman
    Senior Member
    Join Date: Jun 2009
    Old 08-29-2009 , 17:37   Re: [L4D] Heartbeat Trigger
    Reply With Quote #2

    does heartbeat actually do anything or is it one of those things that noone is really sure about but they do it anyways?
    triggerman is offline
    an0n1mus1
    Junior Member
    Join Date: Apr 2009
    Old 09-03-2009 , 18:10   Re: [L4D] Heartbeat Trigger
    Reply With Quote #3

    Quote:
    Originally Posted by triggerman View Post
    does heartbeat actually do anything or is it one of those things that noone is really sure about but they do it anyways?
    The reason why heartbeat sometimes fails is because everyone knows about it. Imagine 50+ servers sending hearbeats fighting for that top priority list. Best thing you can do is leave your server for public when you are not using it so it can have a better server ranking.
    an0n1mus1 is offline
    bman87
    Senior Member
    Join Date: Dec 2008
    Location: Michigan
    Old 08-29-2009 , 17:44   Re: [L4D] Heartbeat Trigger
    Reply With Quote #4

    I am not 100% sure, but it seems to help. If heartbeat doesn't do much, don't use the plugin ;)
    bman87 is offline
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 08-29-2009 , 18:42   Re: [L4D] Heartbeat Trigger
    Reply With Quote #5

    i think it should be usefull to alert another players when another survivor it's seeing black and white (about to die).

    can you make it that way?
    LTR.2 is offline
    bman87
    Senior Member
    Join Date: Dec 2008
    Location: Michigan
    Old 08-29-2009 , 20:44   Re: [L4D] Heartbeat Trigger
    Reply With Quote #6

    Quote:
    Originally Posted by LTR.2 View Post
    i think it should be usefull to alert another players when another survivor it's seeing black and white (about to die).

    can you make it that way?
    Why would it matter when they are B&W? You should just use a advertisement plugin
    bman87 is offline
    madcap
    Senior Member
    Join Date: Feb 2009
    Old 09-01-2009 , 14:40   Re: [L4D] Heartbeat Trigger
    Reply With Quote #7

    Quote:
    Originally Posted by LTR.2 View Post
    i think it should be usefull to alert another players when another survivor it's seeing black and white (about to die).

    can you make it that way?
    You want this:
    http://forums.alliedmods.net/showthread.php?t=88715
    madcap is offline
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 08-29-2009 , 20:55   Re: [L4D] Heartbeat Trigger
    Reply With Quote #8

    adversitement plugin for Players on Black and White mode?
    LTR.2 is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 08-29-2009 , 21:20   Re: [L4D] Heartbeat Trigger
    Reply With Quote #9

    I thought the 'heartbeat' command was just to poll the master server's connection and check for any updates? How does it do anything for the client?
    bl4nk is offline
    bman87
    Senior Member
    Join Date: Dec 2008
    Location: Michigan
    Old 08-29-2009 , 23:57   Re: [L4D] Heartbeat Trigger
    Reply With Quote #10

    Whoever the lobby leader of the server is the client responsible for any new players joining the server. At least thats what it seems like for tests ive done. If the lobby leader quits the server, I think its up to the server or another random person in the server.

    This plugin seems to help. If we have 2 people rage quit, typing the !hb command we usually have people start joining right away.

    Like I said before, I was just getting requests for this plugin on my server so I published it here
    bman87 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 05:12.


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