Raised This Month: $89 Target: $400
 22% 

[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:
    36 
    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 - 4555 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
    bman87
    Senior Member
    Join Date: Dec 2008
    Location: Michigan
    Old 08-29-2009 , 17:44   Re: [L4D] Heartbeat Trigger
    Reply With Quote #3

    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 #4

    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 #5

    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
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 08-29-2009 , 20:55   Re: [L4D] Heartbeat Trigger
    Reply With Quote #6

    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 #7

    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 #8

    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
    Whosat
    Senior Member
    Join Date: Nov 2007
    Location: Singapore
    Old 08-29-2009 , 23:59   Re: [L4D] Heartbeat Trigger
    Reply With Quote #9

    Haha wait some people are getting confused over the 'heartbeat' word. They're thinking its the heartbeat you hear when your screen goes b/w after being incapped a couple of times.

    You should name it Server Heartbeat Trigger instead or something like that
    __________________
    Whosat is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 08-30-2009 , 00:12   Re: [L4D] Heartbeat Trigger
    Reply With Quote #10

    Quote:
    Originally Posted by bman87 View Post
    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
    The lobby leader has no influence over the server. It might work to issue the command on the server, but I'm certain the command does nothing if ran by a client.
    bl4nk 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 10:16.


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