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
Beatles
Senior Member
Join Date: Feb 2014
Old 12-25-2022 , 14:55   Re: [L4D & L4D2] Left 4 DHooks Direct (1.126) [21-Dec-2022]
Reply With Quote #811

PHP Code:
L 12/25/2022 02:38:47: [SMException reportedTrying to get value for null pointer.
L 12/25/2022 02:38:47: [SMBlamingleft4dhooks.smx
L 12
/25/2022 02:38:47: [SMCall stack trace:
L 12/25/2022 02:38:47: [SM]   [0DHookParam.Get
L 12
/25/2022 02:38:47: [SM]   [1Line 3108l4dd\l4dd_forwards.sp::DTR_CDeathFallCamera_Enable 
Beatles is offline
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
Old 12-28-2022 , 17:03   Re: [L4D & L4D2] Left 4 DHooks Direct (1.126) [21-Dec-2022]
Reply With Quote #812

PHP Code:
[SMUnable to load plugin "left4dhooks.smx"Native "DHookParam.GetAddress" was not found 
__________________
My Noob Plugins

Discord:WhiteFire#1301
Steam:WhiteFire
Youtube
King_OXO is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 12-28-2022 , 17:38   Re: [L4D & L4D2] Left 4 DHooks Direct (1.126) [21-Dec-2022]
Reply With Quote #813

Quote:
Originally Posted by King_OXO View Post
PHP Code:
[SMUnable to load plugin "left4dhooks.smx"Native "DHookParam.GetAddress" was not found 
Do you have Dhooks Detour installed?
__________________
Spirit_12 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-28-2022 , 18:12   Re: [L4D & L4D2] Left 4 DHooks Direct (1.126) [21-Dec-2022]
Reply With Quote #814

Quote:
Originally Posted by King_OXO View Post
PHP Code:
[SMUnable to load plugin "left4dhooks.smx"Native "DHookParam.GetAddress" was not found 
See post #791 to #796

Basically you've updated to SM 1.11 but not updated dhooks with the one SM 1.11 provides.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-07-2023 , 14:36   Re: [L4D & L4D2] Left 4 DHooks Direct (1.127) [07-Jan-2023]
Reply With Quote #815

Code:
1.127 (07-Jan-2023)
    - Added more Charger stocks to the "left4dhooks_silver.inc" include file. Thanks to "Forgetest" for providing.
    - Added some more "L4D2UseAction" enum values to the "left4dhooks_stocks.inc" include file. Thanks to "Marttt" for reporting.
    - Changed natives "L4D_IsPositionIn*" to use a wider search area to the nearest NavArea position, from 300.0 to 1000.0. Suggested by "ProjectSky".
    - Added missing post handled forwards to the include file. Thanks to "Forgetest" for reporting.
        - "L4D_OnStartMeleeSwing_PostHandled", "L4D2_OnChangeFinaleStage_PostHandled", "L4D2_CGasCan_ShouldStartAction_PostHandled",
        - "L4D2_OnHitByVomitJar_PostHandled", "L4D2_CGasCan_ActionComplete_PostHandled", "L4D2_OnJockeyRide_PostHandled" and "L4D2_OnStartCarryingVictim_PostHandled".
    - Added forward "L4D2_OnSlammedSurvivor_PostHandled" when the pre hook is being blocked. Requested by "Forgetest".
    - Changed forward "L4D2_OnSlammedSurvivor" to allow blocking the forward.
    - Changed forward "L4D_OnFatalFalling" to return client index 0 when the client is not available.
    - Fixed forward "L4D_OnFatalFalling" throwing errors when client index is 0. Thanks to "Beatles" for reporting.
    - Fixed forwards "L4D_TankRock_OnRelease" and "L4D_TankRock_OnRelease_Post" crashing on L4D1 Linux not giving a vecAng. Thanks to "Forgetest" for fixing.
    - Deprecated native: "L4D2_AreTeamsFlipped" in favor of using: GameRules_GetProp("m_bAreTeamsFlipped"); - Suggested by "A1m`".

    - Updated: Plugin and test plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "left4dhooks_silver.inc" Include file.
    - Updated: "left4dhooks_stocks.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
rtokuda
Senior Member
Join Date: Dec 2019
Old 01-09-2023 , 18:09   Re: [L4D & L4D2] Left 4 DHooks Direct (1.127) [07-Jan-2023]
Reply With Quote #816

I have this error and I have soucemmod 1.11
PHP Code:
Failed to load plugin "left4dhooks.smx"Unable to load plugin (unsupported feature setcode is too new). 
rtokuda is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-09-2023 , 19:16   Re: [L4D & L4D2] Left 4 DHooks Direct (1.127) [07-Jan-2023]
Reply With Quote #817

Quote:
Originally Posted by rtokuda View Post
I have this error and I have soucemmod 1.11
PHP Code:
Failed to load plugin "left4dhooks.smx"Unable to load plugin (unsupported feature setcode is too new). 
Did you compile the plugin yourself? Your compiler maybe still 1.10 actually that doesn't make sense - it can't be compiled with 1.10, are you sure you updated everything of SM to 1.11? All the /bin/ files?
__________________

Last edited by Silvers; 01-10-2023 at 07:15.
Silvers is offline
sorallll
Senior Member
Join Date: Oct 2018
Old 01-10-2023 , 06:17   Re: [L4D & L4D2] Left 4 DHooks Direct (1.127) [07-Jan-2023]
Reply With Quote #818

sourcemod-1.11.0.6916
PHP Code:
L 01/09/2023 22:14:40Info (map "c9m1_alleys") (file "/home/l4d2/l4d2/left4dead2/addons/sourcemod/logs/errors_20230109.log")
L 01/09/2023 22:14:40: [SMException reportedInvalid param type (7to get
L 01
/09/2023 22:14:40: [SMBlamingleft4dhooks.smx
L 01
/09/2023 22:14:40: [SMCall stack trace:
L 01/09/2023 22:14:40: [SM]   [0DHookParam.Get
L 01
/09/2023 22:14:40: [SM]   [1Line 1881l4dd\l4dd_forwards.sp::DTR_CTankRock_OnRelease
L 01
/09/2023 22:14:40: [SMException reportedInvalid param type (7to get
L 01
/09/2023 22:14:40: [SMBlamingleft4dhooks.smx
L 01
/09/2023 22:14:40: [SMCall stack trace:
L 01/09/2023 22:14:40: [SM]   [0DHookParam.Get
L 01
/09/2023 22:14:40: [SM]   [1Line 1952l4dd\l4dd_forwards.sp::DTR_CTankRock_OnRelease_Post
L 01
/09/2023 22:22:22Error log file session closed
sorallll is offline
knifeeeee
Junior Member
Join Date: Aug 2022
Old 01-16-2023 , 09:20   Re: [L4D & L4D2] Left 4 DHooks Direct (1.127) [07-Jan-2023]
Reply With Quote #819

Can you add this burning inventory?
PHP Code:
bool IsPlayerOnFire(int client)
{
    if(
GetEntProp(clientProp_Data"m_fFlags") & FL_ONFIRE) return true;
    else return 
false;
}

bool IsPlayerBurning(int client)
{
    
float fBurning GetEntDataFloat(clientFindSendPropInfo("CTerrorPlayer""m_burnPercent"));
    return (
fBurning 0.0) ? true false;

knifeeeee is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-05-2023 , 19:06   Re: [L4D & L4D2] Left 4 DHooks Direct (1.128) [06-Feb-2023]
Reply With Quote #820

Code:
1.128 (06-Feb-2023)
    - Added forwards "L4D_OnDoAnimationEvent", "L4D_OnDoAnimationEvent_Post" and "L4D_OnDoAnimationEvent_PostHandled" to trigger on certain animation events. Requested by "Forgetest".
    - Added native "L4D_GetAllNavAreas" to return an ArrayList of all "TheNavAreas" addresses. Requested by "Marttt". Thanks to "HarryPotter" and "Forgetest" for help.
    - Added natives "L4D_GetNavAreaPos" and "L4D_GetNavAreaSize" to return the origin and size of a NavArea.
    - Added natives "L4D_GetNavAreaID" and "L4D_GetNavAreaByID" to return the ID from a NavArea address, and an address from a NavArea ID.
    - Added natives "L4D2_GetFirstSpawnClass" and "L4D2_SetFirstSpawnClass" to get and set the first Special Infected class that will spawn. L4D2 only. Thanks to "Forgetest" providing.
    - Added more stocks to the "left4dhooks_silver.inc" include file. Thanks to "knifeeeee" for providing.
    - Added enum "POINTER_THENAVAREAS" for the "L4D_GetPointer" native to return the "TheNavAreas" pointer.
    - Added enum list "PLAYERANIMEVENT_*" used by the "L4D2Direct_DoAnimationEvent" native and "L4D_OnDoAnimationEvent*" forwards. Thanks to "A1m`" for providing.
    - Changed native "L4D2Direct_DoAnimationEvent" to expose the variant param. Requested by "Forgetest".
    - Fixed natives "L4D_IsInFirstCheckpoint" and "L4D_IsPositionInFirstCheckpoint" sometimes incorrectly reporting false positives. Thanks to "Voevoda" for reporting.
    - Fixed forward "L4D2_OnEntityShoved_Post*" param "bIsHighPounce" to be more reliable, although it may still not report accurately. Thanks to "Forgetest" for changes.
    - Fixed forwards "L4D_OnSpawnSpecial_*", "L4D2_OnSpawnWitchBride_*", "L4D_OnSpawnTank_Post_*" and "L4D_OnSpawnSpecial*" to allow returning -1 as client index. Thanks to "Forgetest" for reporting.
    - Prevented forwards "L4D_OnTryOfferingTankBot*" from triggering when the client index was 0. Thanks to "Forgetest" for reporting.

    - Updated: Plugin and test plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "left4dhooks_silver.inc" Include file.
    - Updated: "/gamedata/left4dhooks.l4d1.txt" GameData file.
    - Updated: "/gamedata/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
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 07:46.


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