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

[L4D2] AutoHelp


Post New Thread Reply   
 
Thread Tools Display Modes
SDArt
Member
Join Date: Aug 2019
Old 08-26-2021 , 06:19   Re: [L4D2] AutoHelp
Reply With Quote #51

Quote:
Originally Posted by ddd123 View Post
If i get AutoHelp from special infected hold/grab/pounce while i'm on incap (and maybe about to become black and white)
I get escape from hold/grab/pounce but my 2nd weapon become pistol(it was melee weapon before) and i still heard the heartbeat sound even after i heal with medkit.
Strangely, i still get auto help from special infected holds even if i set autohelp_specials "0" when survivors is about to die by special infected holds

What worst, sometime i get crash after i escape in saferoom and load to next chapter while that happened (not sure if this plugin cause it though)

Edit:
Here's a error log although i don't know if author still support this plugin

You can get rid of the SI grab with VScripts with cm_AutoReviveFromSpecialIncap=1 not really sure if it works on finales.
SDArt is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 10-09-2021 , 07:19   Re: [L4D2] AutoHelp 1.2.6
Reply With Quote #52

Converted to new-syntax and cleaned up the code to better standards.
Gamedata is no longer needed, hunter and charger release work fine with a different method.
Added autohelp_players ConVar at the request of Black714.

EDIT: Attempt to fix IsValidClient stock.
Implemented AK978's UserId fixes for the timers.
Code:
Version 1.2.6
- Implemented AK978's timer fixes to use UserId. Used different fix for missing m_humanSpectatorUserID as AK978's fix breaks Bots/Players checking.
Version 1.2.5b
- Added autohelp_players ConVar. Works the same as the autohelp_bots ConVar, but for players.
Version 1.2.5
- Optimized ConVar value grabbing.
Version 1.2.4
- Fixed IsValidClient stock.
Version 1.2.3
- Initial release.
Attached Files
File Type: sp Get Plugin or Get Source (cge_l4d2_autohelp.sp - 344 views - 31.0 KB)
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 01-07-2022 at 02:45. Reason: Updated to Version 1.2.6
Shadowysn is offline
Sev
Veteran Member
Join Date: May 2010
Old 10-09-2021 , 15:23   Re: [L4D2] AutoHelp 1.2.4
Reply With Quote #53

Quote:
Originally Posted by Shadowysn View Post
Converted to new-syntax and cleaned up the code to better standards.
Gamedata is no longer needed, hunter and charger release work fine with a different method.
No new major features have been added, though.
L 10/09/2021 - 15:065: [SM] Exception reported: Client index 0 is invalid
L 10/09/2021 - 15:065: [SM] Blaming: autohelp.smx
L 10/09/2021 - 15:065: [SM] Call stack trace:
L 10/09/2021 - 15:065: [SM] [0] IsClientSourceTV
L 10/09/2021 - 15:065: [SM] [1] Line 807, /home/forums/content/files/2/6/3/6/6/4/191776.attach::IsValidClient
L 10/09/2021 - 15:065: [SM] [2] Line 762, /home/forums/content/files/2/6/3/6/6/4/191776.attach::StopBeat
L 10/09/2021 - 15:065: [SM] [3] Line 566, /home/forums/content/files/2/6/3/6/6/4/191776.attach::Event_PlayerDeath
Sev is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 10-10-2021 , 09:00   Re: [L4D2] AutoHelp 1.2.4
Reply With Quote #54

Quote:
Originally Posted by Sev View Post
L 10/09/2021 - 15:065: [SM] Exception reported: Client index 0 is invalid
L 10/09/2021 - 15:065: [SM] Blaming: autohelp.smx
L 10/09/2021 - 15:065: [SM] Call stack trace:
L 10/09/2021 - 15:065: [SM] [0] IsClientSourceTV
L 10/09/2021 - 15:065: [SM] [1] Line 807, /home/forums/content/files/2/6/3/6/6/4/191776.attach::IsValidClient
L 10/09/2021 - 15:065: [SM] [2] Line 762, /home/forums/content/files/2/6/3/6/6/4/191776.attach::StopBeat
L 10/09/2021 - 15:065: [SM] [3] Line 566, /home/forums/content/files/2/6/3/6/6/4/191776.attach::Event_PlayerDeath
sheet
Shadowysn is offline
Kleiner
Member
Join Date: Dec 2017
Location: Russia, Chelyabinsk
Old 10-24-2021 , 01:26   Re: [L4D2] AutoHelp
Reply With Quote #55

Translations support?
Kleiner is offline
Black714
Junior Member
Join Date: Jun 2020
Old 12-11-2021 , 08:46   Re: [L4D2] AutoHelp
Reply With Quote #56

Is that possible to add support only for bot? I use Struggle it seems good for player, but not working for AI/BOT
Black714 is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 12-11-2021 , 10:02   Re: [L4D2] AutoHelp
Reply With Quote #57

Quote:
Originally Posted by Black714 View Post
Is that possible to add support only for bot? I use Struggle it seems good for player, but not working for AI/BOT
I've added autohelp_players cvar in my post. See if it works.

Quote:
Originally Posted by Kleiner View Post
Translations support?
There's no text or hints printed from this plugin.

Last edited by Shadowysn; 12-11-2021 at 10:10.
Shadowysn is offline
plug344
Member
Join Date: Dec 2021
Old 01-03-2022 , 21:05   Re: [L4D2] AutoHelp
Reply With Quote #58

Quote:
Originally Posted by Marttt View Post
Have to remove the FCVAR_SPONLY flag from the CVARS

I removed it, try this attachment.
It works well, thank you! sorry, but when I use it with another survivor automatic respawn plug-in, it seems that the survivors caught and fixed by hunter and smoker will die briefly when they are autohelp, and sometimes they will be respawn automatically by that plug-in, resulting in people loses all their previous equipment after respawn, only one pistol. It seems that it only occurs on the dedicated server, the local listen server does not have this problem, and other special infected do not seem to have this problem. Is there some idea to fix it..?


Quote:
Originally Posted by Shadowysn View Post
Converted to new-syntax and cleaned up the code to better standards.
Gamedata is no longer needed, hunter and charger release work fine with a different method.
Added autohelp_players ConVar at the request of Black714.

EDIT: Attempt to fix IsValidClient stock.
Code:
Version 1.2.5b
- Added autohelp_players ConVar. Works the same as the autohelp_bots ConVar, but for players.
Version 1.2.5
- Optimized ConVar value grabbing.
Version 1.2.4
- Fixed IsValidClient stock.
Version 1.2.3
- Initial release.
sorry, survivors who seem unable to auto help special infected catch and fix..?

Last edited by plug344; 01-03-2022 at 21:24.
plug344 is offline
AK978
Senior Member
Join Date: Jun 2018
Old 01-05-2022 , 09:12   Re: [L4D2] AutoHelp
Reply With Quote #59

CreateTimer:
add GetClientUserId
add GetClientOfUserId
fix client index 0


Timer_Delay:
add DelayTimer[client] = null;
fix KillTimer invalid timer handle

Last edited by AK978; 01-07-2022 at 19:21.
AK978 is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 01-07-2022 , 02:10   Re: [L4D2] AutoHelp
Reply With Quote #60

Quote:
Originally Posted by AK978 View Post
test version.

CreateTimer:
add GetClientUserId
add GetClientOfUserId
fix client index 0

457:
add:
char sNetClass[12];
GetEntityNetClass(client, sNetClass, sizeof(sNetClass));

if( strcmp(sNetClass, "SurvivorBot") == 0 )
{
............
}
fix GetEntProp(client, Prop_Send, "m_humanSpectatorUserID") not found.

483:
add DelayTimer[client] = null;
Thanks.
I read your old comment before it was deleted.
I keep being unsure about GetClientOfUserId, GetClientUserId and such when passing them into timers so I just default to not using them at all.
Shadowysn 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 12:47.


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