Raised This Month: $32 Target: $400
 8% 

[L4D2] AutoHelp


Post New Thread Reply   
 
Thread Tools Display Modes
runkeballe
Member
Join Date: Jul 2011
Old 10-27-2011 , 17:09   Re: [L4D2] AutoHelp
Reply With Quote #11

It's happened several times selfrevive doesnt work, especially when dragged by smoker. (or you end up dragged and selfrevive doesnt start until you are completely grounded)..(still i set a "fast" delay in cfg) So fix it or i'll go over to the previous version as its more reliable! XD...though having to push ctrl leads to people dont know how to use it (language issue XD)...
runkeballe is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 10-28-2011 , 03:08   Re: [L4D2] AutoHelp
Reply With Quote #12

Update: Version 1.2 - Fixed AutoHelp not kicking in when survivors get stuck in a mob during tongue drag. Added cvar autohelp_specials_smoker_drag to govern it and changed the default values for the delays.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_2_autohelp.sp - 513 views - 24.1 KB)

Last edited by chinagreenelvis; 10-28-2011 at 03:14.
chinagreenelvis is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 10-28-2011 , 03:09   Re: [L4D2] AutoHelp
Reply With Quote #13

Quote:
Originally Posted by runkeballe View Post
It's happened several times selfrevive doesnt work, especially when dragged by smoker. (or you end up dragged and selfrevive doesnt start until you are completely grounded)..(still i set a "fast" delay in cfg) So fix it or i'll go over to the previous version as its more reliable! XD...though having to push ctrl leads to people dont know how to use it (language issue XD)...
The problem was that I programmed AutoHelp to kick in when only the tongue choke begins (instead of the grab), and when you get stuck in a mob during the drag, the choke never kicks in. Latest update should fix it, let me know if you still have issues.

Last edited by chinagreenelvis; 10-28-2011 at 03:09.
chinagreenelvis is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 11-01-2011 , 08:40   Re: [L4D2] AutoHelp
Reply With Quote #14

Update: Version 1.2.1 - Code cleanup
Attached Files
File Type: sp Get Plugin or Get Source (l4d_2_autohelp.sp - 545 views - 24.8 KB)
chinagreenelvis is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 11-26-2011 , 03:03   Re: [L4D2] AutoHelp
Reply With Quote #15

Hello, just reporting a bug:

Quote:
L 11/26/2011 - 10:58:50: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":
L 11/26/2011 - 10:58:50: [SM] [0] Line 350, /home/groups/alliedmodders/forums/files/6/6/3/4/6/94632.attach::Timer_Delay()
Quote:
L 11/26/2011 - 10:293: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":
L 11/26/2011 - 10:293: [SM] [0] Line 465, /home/groups/alliedmodders/forums/files/6/6/3/4/6/94632.attach::RestartTimer()
L 11/26/2011 - 10:293: [SM] [1] Line 447, /home/groups/alliedmodders/forums/files/6/6/3/4/6/94632.attach::Event_PlayerHurt()
L 11/26/2011 - 101:55: [SM] Native "GetEntProp" reported: Property "m_humanSpectatorUserID" not found (entity 7/player)

Last edited by Mr. Man; 11-26-2011 at 03:04.
Mr. Man is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 03-09-2012 , 21:55   Re: [L4D2] AutoHelp
Reply With Quote #16

I'm getting a ton of these stack trace errors:

L 03/09/2012 - 18:50:19: SourceMod error session started
L 03/09/2012 - 18:50:19: Info (map "l4dmcd") (file "errors_20120309.log")
L 03/09/2012 - 18:50:19: [SM] Native "GetEntProp" reported: Property "m_humanSpectatorUserID" not found (entity 3/player)
L 03/09/2012 - 18:50:19: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":
L 03/09/2012 - 18:50:19: [SM] [0] Line 350, /home/groups/sourcemod/upload_tmp/phpiUDTOa.sp::Timer_Delay()
L 03/09/2012 - 18:51:08: [SM] Native "GetEntProp" reported: Property "m_humanSpectatorUserID" not found (entity 3/player)
L 03/09/2012 - 18:51:08: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":
L 03/09/2012 - 18:51:08: [SM] [0] Line 350, /home/groups/sourcemod/upload_tmp/phpiUDTOa.sp::Timer_Delay()
L 03/09/2012 - 18:52:25: [SM] Native "GetEntProp" reported: Property "m_humanSpectatorUserID" not found (entity 2/player)
L 03/09/2012 - 18:52:25: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":
L 03/09/2012 - 18:52:25: [SM] [0] Line 350, /home/groups/sourcemod/upload_tmp/phpiUDTOa.sp::Timer_Delay()
L 03/09/2012 - 18:52:51: [SM] Native "IsFakeClient" reported: Client 9 is not connected
L 03/09/2012 - 18:52:51: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":

plugin seems to be working as it should but what's up with all the errors?
jking is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 04-22-2012 , 10:42   Re: [L4D2] AutoHelp
Reply With Quote #17

Quote:
Originally Posted by Mr. Man View Post
Hello, just reporting a bug:
I think the latest L4D2 update might have broke this plugin. It functions as is but none of the CVARs are taking hold, so despite me having set no delay for reviving and a 1 second duration for revives, it still takes around 4 seconds (default) to revive someone.
Mr. Man is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 08-18-2012 , 11:11   Re: [L4D2] AutoHelp
Reply With Quote #18

Quote:
Originally Posted by jking View Post
I'm getting a ton of these stack trace errors:

L 03/09/2012 - 18:50:19: SourceMod error session started
L 03/09/2012 - 18:50:19: Info (map "l4dmcd") (file "errors_20120309.log")
L 03/09/2012 - 18:50:19: [SM] Native "GetEntProp" reported: Property "m_humanSpectatorUserID" not found (entity 3/player)
L 03/09/2012 - 18:50:19: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":
L 03/09/2012 - 18:50:19: [SM] [0] Line 350, /home/groups/sourcemod/upload_tmp/phpiUDTOa.sp::Timer_Delay()
L 03/09/2012 - 18:51:08: [SM] Native "GetEntProp" reported: Property "m_humanSpectatorUserID" not found (entity 3/player)
L 03/09/2012 - 18:51:08: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":
L 03/09/2012 - 18:51:08: [SM] [0] Line 350, /home/groups/sourcemod/upload_tmp/phpiUDTOa.sp::Timer_Delay()
L 03/09/2012 - 18:52:25: [SM] Native "GetEntProp" reported: Property "m_humanSpectatorUserID" not found (entity 2/player)
L 03/09/2012 - 18:52:25: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":
L 03/09/2012 - 18:52:25: [SM] [0] Line 350, /home/groups/sourcemod/upload_tmp/phpiUDTOa.sp::Timer_Delay()
L 03/09/2012 - 18:52:51: [SM] Native "IsFakeClient" reported: Client 9 is not connected
L 03/09/2012 - 18:52:51: [SM] Displaying call stack trace for plugin "l4d_2_autohelp.smx":

plugin seems to be working as it should but what's up with all the errors?

u can manually add a check to bypass if the client not in game (just my tough) coz i also experience the same ton of error log reaching 100MB in size.

Also, seems like the the tongue break free bugged, maybe coz of update. Can someone fix this issue?
GsiX is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 09-18-2012 , 14:16   Re: [L4D2] AutoHelp
Reply With Quote #19

Quote:
Originally Posted by chinagreenelvis View Post
This is a complete overhaul of the Self Revive plugin. It causes grabbed and incapacitated survivors to automatically help themselves after an optional period of time has passed. Special infected attacks will be broken and downed players will get up off the ground or pull themselves up from ledges. Unlike Self Revive, AutoHelp does not require the player to press any buttons.

AutoHelp respects the cvar survivor_max_incapacitated_count, the default of which is 2. You can raise this number to increase the amount of times survivors can be incapped before they suffer death.

Installation
Place .smx files in the sourcemod/plugins directory, .txt files into the sourcemod/gamedata folder. Original documents with the .sp extension can be edited in notepad++ and stored in sourcemod/scripting for compiling.

Cvars
autohelp_bots "1", "Allow AutoHelp for survivor bots? 0:No, 1:Yes"
autohelp_incap "1", "Allow AutoHelp for incapacitation? 0:No, 1:Yes"
autohelp_incap_delay "3", "AutoHelp delay for incapacitation"
autohelp_incap_duration "5", "AutoHelp duration for incapacitation (setting higher than 5 will disable animation)"
autohelp_incap_health "30", "Health buffer after AutoHelp from incapacitation"
autohelp_ledge "1", "Allow AutoHelp for ledge grabs? 0:No, 1:Yes"
autohelp_ledge_delay "3", "AutoHelp delay for ledge grabs"
autohelp_ledge_duration "4", "AutoHelp duration for ledge grabs (setting higher than 4 will cause animation issues, higher than 5 will disable the animation)"
autohelp_specials "1", "Allow AutoHelp for special infected holds?, 0:No, 1:Yes"
autohelp_specials_delay "3", "AutoHelp delay for special infected holds"
autohelp_specials_duration "5", "AutoHelp duration for special infected holds"
autohelp_specials_smoker_drag "10", "Maximum time a survivor can be dragged before AutoHelp kicks in"

Recommended additional plugins
  • No Death Check Until Dead: Prevents mission loss until all survivors are completely dead
  • Less Than 4 Dead: Allows dynamic changes to the number of survivors from 1 to 4 based on settings and how many players are connected

To do list
  • Add toggle for various game modes (Versus, Survival, etc.)

Known issues
  • The health buffer (red life bar) after AutoHelp from incapacitation does not always match the value set in autohelp_incap_health. I'm not sure why, but the amount restored seems to depend on the way in which a person is incapped.

Update history
  • 1.2.1 - Code cleanup
  • 1.2 - Fix: AutoHelp failing to kick in when survivors stuck during tongue drag, added convar autohelp_specials_smoker_drag
  • 1.1.1 - Fix: AutoHelp from ledge grabs not always working
  • 1.1 - Fix: Melee weapons lost on AutoHelp from incap
  • 1.0 - Initial release
Saw you online earlier and was wondering whether you can update this plugin as well?
Mr. Man is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 09-19-2012 , 13:32   Re: [L4D2] AutoHelp
Reply With Quote #20

Quote:
Originally Posted by Mr. Man View Post
I think the latest L4D2 update might have broke this plugin. It functions as is but none of the CVARs are taking hold, so despite me having set no delay for reviving and a 1 second duration for revives, it still takes around 4 seconds (default) to revive someone.
The duration value is for self-revives, not for helping others. If you want to make it quicker to help others, set that cvar (survivor_revive_duration) in your server.cfg.

Last edited by chinagreenelvis; 09-19-2012 at 13:32.
chinagreenelvis 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 03:06.


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