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

[L4D & L4D2] Left 4 DHooks Direct (1.146) [21-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 10-14-2022 , 10:08   Re: [L4D & L4D2] Left 4 DHooks Direct (1.118) [03-Oct-2022]
Reply With Quote #771

Hi Silvers. Is there a forward or native so I can block the boomer from staggering after being hit with a weapon?
Sorry for the stupid question, the description is not particularly clear to me.
__________________
[/URL]
Alexmy is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-14-2022 , 10:26   Re: [L4D & L4D2] Left 4 DHooks Direct (1.118) [03-Oct-2022]
Reply With Quote #772

Quote:
Originally Posted by Alexmy View Post
Hi Silvers. Is there a forward or native so I can block the boomer from staggering after being hit with a weapon?
Sorry for the stupid question, the description is not particularly clear to me.
Yes, see the Shove Handler plugin.
__________________
Silvers is offline
knifeeeee
Junior Member
Join Date: Aug 2022
Old 10-14-2022 , 20:54   Re: [L4D & L4D2] Left 4 DHooks Direct (1.118) [03-Oct-2022]
Reply With Quote #773

well ,i will use this sig
PHP Code:
int attacker L4D2_GetInfectedAttacker(client);
        if(
attacker && IsClientInGame(attacker) && IsPlayerAlive(attacker))
        {
            
SDKCall(g_hSDK_CTerrorPlayer_CleanupPlayerStateattacker);
            
ForcePlayerSuicide(attacker);
        } 
to teleport player and kill infected player
knifeeeee is offline
SuperNoob
Junior Member
Join Date: Jul 2022
Old 10-15-2022 , 04:56   Re: [L4D & L4D2] Left 4 DHooks Direct (1.118) [03-Oct-2022]
Reply With Quote #774

Is there 1.108 version of this plugin? Can't find it

Last edited by SuperNoob; 10-15-2022 at 04:57.
SuperNoob is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-15-2022 , 05:12   Re: [L4D & L4D2] Left 4 DHooks Direct (1.118) [03-Oct-2022]
Reply With Quote #775

Quote:
Originally Posted by SuperNoob View Post
Is there 1.108 version of this plugin? Can't find it
No, upgrade SourceMod.
__________________
Silvers is offline
SuperNoob
Junior Member
Join Date: Jul 2022
Old 10-15-2022 , 05:42   Re: [L4D & L4D2] Left 4 DHooks Direct (1.118) [03-Oct-2022]
Reply With Quote #776

Quote:
Originally Posted by Silvers View Post
No, upgrade SourceMod.
Bad...
SuperNoob is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-15-2022 , 05:51   Re: [L4D & L4D2] Left 4 DHooks Direct (1.118) [03-Oct-2022]
Reply With Quote #777

Quote:
Originally Posted by SuperNoob View Post
Bad...
You may say so, but this is intentional, there are bug fixes and crash fixes in 1.11 that Left4DHooks uses so it's recommended to update SourceMod. No reason to stay on an older version.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-15-2022 , 05:51   Re: [L4D & L4D2] Left 4 DHooks Direct (1.119) [15-Oct-2022]
Reply With Quote #778

Code:
1.119 (15-Oct-2022)
    - L4D2: Added a new pointer "POINTER_SCRIPTVM" to the "L4D_GetPointer" native.
    - L4D2: Added native "L4D2_GetDirectorScriptScope" to get the directors script scope.
    - L4D2: Added forwards "L4D2_OnGetScriptValueInt", "L4D2_OnGetScriptValueFloat", "L4D2_OnGetScriptValueVector" and "L4D2_OnGetScriptValueVoid" to use a new system of detecting script values. Thanks to "Forgetest" for coding.
    - L4D2: Added forward "L4D_OnForceSurvivorPositions_Pre" - pre relative to "L4D_OnForceSurvivorPositions" forward. Requested by "gabuch2".
    - L4D2: Changed native "L4D2_UseAdrenaline" to fire the event even when not healing. Thanks to "HarryPotter" for reporting.
    - L4D1 Linux: fixed forward "L4D_OnReleaseSurvivorPositions" using the wrong signature. Thanks to "HarryPotter" for reporting.
    - Added stocks "IsUsingMinigun" and "StopUsingMinigun" in the "left4dhooks_silver.inc" include file. Requested by "knifeeeee".
    - Added native "L4D_CleanupPlayerState" to clean up a players state. Requested by "knifeeeee".

    - Updated: Plugin and test plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "left4dhooks_silver.inc" Include file.
    - Updated: "left4dhooks.l4d1.txt" GameData file.
    - Updated: "left4dhooks.l4d2.txt" GameData file.
    - Updated: "/scripting/l4dd/l4dd_forwards.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_gamedata.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_natives.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_setup.sp" project file.
__________________
Silvers is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 10-15-2022 , 11:42   Re: [L4D & L4D2] Left 4 DHooks Direct (1.119) [15-Oct-2022]
Reply With Quote #779

Quote:
Originally Posted by Silvers View Post
Code:
1.119 (15-Oct-2022)
    - L4D2: Added a new pointer "POINTER_SCRIPTVM" to the "L4D_GetPointer" native.
SCRIPTVM? is it possible to add CScriptHud* native?

Code:
CScriptHud::HUDSetPosition(int,float,float,float,float)
CScriptHud::HUDSetLayout(HSCRIPT__ *)
Script_HUDPlace(int,float,float,float,float)
Script_HUDSetLayout(HSCRIPT__ *)
Script_HUDReadTimer(int)
Script_HUDManageTimers(int,int,float)
ProjectSky is online now
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-15-2022 , 15:53   Re: [L4D & L4D2] Left 4 DHooks Direct (1.119) [15-Oct-2022]
Reply With Quote #780

Quote:
Originally Posted by ProjectSky View Post
SCRIPTVM? is it possible to add CScriptHud* native?

Code:
CScriptHud::HUDSetPosition(int,float,float,float,float)
CScriptHud::HUDSetLayout(HSCRIPT__ *)
Script_HUDPlace(int,float,float,float,float)
Script_HUDSetLayout(HSCRIPT__ *)
Script_HUDReadTimer(int)
Script_HUDManageTimers(int,int,float)
Too many natives to add, if you want to find all the signatures and add the natives then I'll add it to the plugin. Otherwise there's already Marttts plugin which handles the HUD stuff, if that's what you want.
__________________
Silvers 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 09:59.


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