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
eyal282
Veteran Member
Join Date: Aug 2011
Old 11-13-2023 , 18:06   Re: [L4D & L4D2] Left 4 DHooks Direct (1.139) [25-Oct-2023]
Reply With Quote #1011

Quote:
Originally Posted by Silvers View Post
10.0 is a very small distance to find a nearby NavArea. If someone jumps they'll be too far from a NavArea.
I wanted and forgot to comment that some custom campaigns don't have perfect nav meshes and have gaps, for this small of a distance.

I completely forgot jumping. Does nav finder not ignore height?
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-17-2023 , 12:24   Re: [L4D & L4D2] Left 4 DHooks Direct (1.139) [25-Oct-2023]
Reply With Quote #1012

Quote:
Originally Posted by ReCreator View Post
Code:
Address area = view_as<Address>(L4D_GetNearestNavArea(vOrigin, 10.0, false, false, true, 2));
The "true" here is for the bool "checkGround". So I assume you would need to be on the ground for it to work. I think it would be better to set that as false and just increase the range, depends on what you want to achieve though.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-03-2023 , 08:20   Re: [L4D & L4D2] Left 4 DHooks Direct (1.140) [03-Dec-2023]
Reply With Quote #1013

Code:
1.140 (03-Dec-2023)
    - Added forwards "L4D_OnIncapacitated", "L4D_OnIncapacitated_Post" and "L4D_OnIncapacitated_PostHandled" to trigger when a Survivor is incapacitated. Requested by "HarryPotter".
    - Fixed forwards "L4D2_OnPounceOrLeapStumble*" in L4D1 from throwing errors. Thanks to "HarryPotter" for reporting.
    - Increased the Spitter Acid bug fix volume. Thanks to "Marttt" and "KadabraZz" for reporting.

    - Updated: Plugin and test plugin.
    - Updated: "/scripting/gamedata/left4dhooks.l4d1.txt" GameData file.
    - Updated: "/scripting/gamedata/left4dhooks.l4d2.txt" GameData file.
    - Updated: "/scripting/include/left4dhooks.inc" Include file.
    - Updated: "/scripting/l4dd/l4dd_forwards.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_natives.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_setup.sp" project file.
__________________

Last edited by Silvers; 12-30-2023 at 13:27.
Silvers is offline
chungocanh12
Member
Join Date: Apr 2023
Location: Việt Nam
Old 12-29-2023 , 04:56   Re: [L4D & L4D2] Left 4 DHooks Direct (1.140) [03-Dec-2023]
Reply With Quote #1014

pls fix bug, my error log spam alot after update to 1.140

L 12/29/2023 - 15:44:44: [SM] Exception reported: Invalid function id (FFFFFFFF)
L 12/29/2023 - 15:44:44: [SM] Blaming: left4dhooks.smx
L 12/29/2023 - 15:44:44: [SM] Call stack trace:
L 12/29/2023 - 15:44:44: [SM] [0] PrivateForward.AddFunction
L 12/29/2023 - 15:44:44: [SM] [1] Line 1075, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ left4dhooks.sp::Native_AnimHookEnable
L 12/29/2023 - 15:44:44: [SM] [3] AnimHookEnable
L 12/29/2023 - 15:44:44: [SM] [4] Line 47, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d2_hunter_roll_override.sp::OnClientPutInSe rver
L 12/29/2023 - 16:17:54: [SM] Blaming: left4dhooks.smx
L 12/29/2023 - 16:17:54: [SM] Call stack trace:
L 12/29/2023 - 16:17:54: [SM] [0] PrivateForward.RemoveFunction
L 12/29/2023 - 16:17:54: [SM] [1] Line 1128, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ left4dhooks.sp::Native_AnimHookDisable
L 12/29/2023 - 16:17:54: [SM] [3] AnimHookDisable
L 12/29/2023 - 16:17:54: [SM] [4] Line 1136, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d_incapped_weapons.sp::Event_PlayerDeath
L 12/29/2023 - 16:17:54: [SM] Exception reported: Invalid function id (FFFFFFFF)

L 12/29/2023 - 16:17:54: [SM] Blaming: left4dhooks.smx
L 12/29/2023 - 16:17:54: [SM] Call stack trace:
L 12/29/2023 - 16:17:54: [SM] [0] PrivateForward.AddFunction
L 12/29/2023 - 16:17:54: [SM] [1] Line 1075, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ left4dhooks.sp::Native_AnimHookEnable
L 12/29/2023 - 16:17:54: [SM] [3] AnimHookEnable
L 12/29/2023 - 16:17:54: [SM] [4] Line 47, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d2_hunter_roll_override.sp::OnClientPutInSe rver
L 12/29/2023 - 16:17:54: [SM] [6] CreateFakeClient
L 12/29/2023 - 16:17:54: [SM] [7] Line 457, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d_superversus.sp::SpawnFakeSurvivorClient
L 12/29/2023 - 16:17:54: [SM] [8] Line 424, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d_superversus.sp::SpawnCheck
L 12/29/2023 - 16:17:54: [SM] [9] Line 391, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d_superversus.sp::Timer_BotsUpdate
L 12/29/2023 - 16:17:54: [SM] Exception reported: Invalid function id (FFFFFFFF)
Attached Thumbnails
Click image for larger version

Name:	50942416_NGOCANH_PC129122023_165054.jpg
Views:	28
Size:	94.8 KB
ID:	202692  
Attached Files
File Type: log errors_20231229.log (172.3 KB, 20 views)

Last edited by chungocanh12; 12-29-2023 at 10:43. Reason: Up
chungocanh12 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 12-29-2023 , 09:00   Re: [L4D & L4D2] Left 4 DHooks Direct (1.140) [03-Dec-2023]
Reply With Quote #1015

Quote:
Originally Posted by chungocanh12 View Post
pls fix bug, my error log spam alot after update to 1.140

L 12/29/2023 - 16:493: [SM] Exception reported: Invalid function id (FFFFFFFF)
L 12/29/2023 - 16:493: [SM] Blaming: left4dhooks.smx
L 12/29/2023 - 16:493: [SM] Call stack trace:
L 12/29/2023 - 16:493: [SM] [0] PrivateForward.AddFunction
L 12/29/2023 - 16:493: [SM] [1] Line 1075, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ left4dhooks.sp::Native_AnimHookEnable
L 12/29/2023 - 16:493: [SM] [3] AnimHookEnable
L 12/29/2023 - 16:493: [SM] [4] Line 47, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d2_hunter_roll_override.sp::OnClientPutInSe rver
L 12/29/2023 - 16:493: [SM] [6] AcceptEntityInput
L 12/29/2023 - 16:493: [SM] [7] Line 1346, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ tank_throw_si_car_explode.sp::SpawnSI
L 12/29/2023 - 16:493: [SM] [8] Line 1388, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ tank_throw_si_car_explode.sp::CreateSI
L 12/29/2023 - 16:493: [SM] [9] Line 1260, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ tank_throw_si_car_explode.sp::TraceRock
L 12/29/2023 - 16:498: [SM] Exception reported: Invalid function id (FFFFFFFF)
It's more like the errors come from
tank_throw_si_car_explode.sp

Any source link?
__________________
HarryPotter is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-29-2023 , 09:22   Re: [L4D & L4D2] Left 4 DHooks Direct (1.140) [03-Dec-2023]
Reply With Quote #1016

Quote:
Originally Posted by chungocanh12 View Post
pls fix bug, my error log spam alot after update to 1.140

L 12/29/2023 - 16:493: [SM] Exception reported: Invalid function id (FFFFFFFF)
L 12/29/2023 - 16:493: [SM] Blaming: left4dhooks.smx
L 12/29/2023 - 16:493: [SM] Call stack trace:
L 12/29/2023 - 16:493: [SM] [0] PrivateForward.AddFunction
L 12/29/2023 - 16:493: [SM] [1] Line 1075, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ left4dhooks.sp::Native_AnimHookEnable
L 12/29/2023 - 16:493: [SM] [3] AnimHookEnable
L 12/29/2023 - 16:493: [SM] [4] Line 47, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d2_hunter_roll_override.sp::OnClientPutInSe rver
L 12/29/2023 - 16:493: [SM] [6] AcceptEntityInput
L 12/29/2023 - 16:493: [SM] [7] Line 1346, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ tank_throw_si_car_explode.sp::SpawnSI
L 12/29/2023 - 16:493: [SM] [8] Line 1388, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ tank_throw_si_car_explode.sp::CreateSI
L 12/29/2023 - 16:493: [SM] [9] Line 1260, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ tank_throw_si_car_explode.sp::TraceRock
L 12/29/2023 - 16:498: [SM] Exception reported: Invalid function id (FFFFFFFF)
Nothing in 1.140 changed that would cause this, the functions related haven't changed in a long time. Which SM version are you using?
__________________
Silvers is offline
chungocanh12
Member
Join Date: Apr 2023
Location: Việt Nam
Old 12-29-2023 , 09:52   Re: [L4D & L4D2] Left 4 DHooks Direct (1.140) [03-Dec-2023]
Reply With Quote #1017

Quote:
Originally Posted by Silvers View Post
Nothing in 1.140 changed that would cause this, the functions related haven't changed in a long time. Which SM version are you using?
Ah thank for your rep, i’m using sm 1.12 build 7092 and meta 2.0. Recent i’m use l4dhook 1.139 with no error, everything run fine. After i update to 1.140 my plugin spam error alot, you can check my attach file above

L 12/29/2023 - 16:17:54: [SM] Blaming: left4dhooks.smx
L 12/29/2023 - 16:17:54: [SM] Call stack trace:
L 12/29/2023 - 16:17:54: [SM] [0] PrivateForward.RemoveFunction
L 12/29/2023 - 16:17:54: [SM] [1] Line 1128, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ left4dhooks.sp::Native_AnimHookDisable
L 12/29/2023 - 16:17:54: [SM] [3] AnimHookDisable
L 12/29/2023 - 16:17:54: [SM] [4] Line 1136, D:\SteamLibrary\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\scripting\ l4d_incapped_weapons.sp::Event_PlayerDeath
L 12/29/2023 - 16:17:54: [SM] Exception reported: Invalid function id (FFFFFFFF)

Last edited by chungocanh12; 12-29-2023 at 10:46.
chungocanh12 is offline
chungocanh12
Member
Join Date: Apr 2023
Location: Việt Nam
Old 12-29-2023 , 09:53   Re: [L4D & L4D2] Left 4 DHooks Direct (1.140) [03-Dec-2023]
Reply With Quote #1018

Quote:
Originally Posted by HarryPotter View Post
It's more like the errors come from
tank_throw_si_car_explode.sp

Any source link?
Hi mate it my private server plugin, i’m not public now
chungocanh12 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-29-2023 , 21:47   Re: [L4D & L4D2] Left 4 DHooks Direct (1.140) [03-Dec-2023]
Reply With Quote #1019

Quote:
Originally Posted by chungocanh12 View Post
Ah thank for your rep, i’m using sm 1.12 build 7092 and meta 2.0. Recent i’m use l4dhook 1.139 with no error, everything run fine. After i update to 1.140 my plugin spam error alot, you can check my attach file above
I think the issue is that the new version of SM sets INVALID_FUNCTION to 0 instead of -1 so FFFFFF which I assume is -1 seems like it's "valid" but isn't so throwing these errors. Try compiling left4dhooks yourself with your version of SourceMod. I think I read a note somewhere about INVALID_FUNCTION and INVALID_HANDLE etc changing to 0 instead of -1. Not entirely sure, don't have time to look through and verify. Will check another day.
__________________
Silvers is offline
chungocanh12
Member
Join Date: Apr 2023
Location: Việt Nam
Old 12-29-2023 , 21:56   Re: [L4D & L4D2] Left 4 DHooks Direct (1.140) [03-Dec-2023]
Reply With Quote #1020

Quote:
Originally Posted by Silvers View Post
I think the issue is that the new version of SM sets INVALID_FUNCTION to 0 instead of -1 so FFFFFF which I assume is -1 seems like it's "valid" but isn't so throwing these errors. Try compiling left4dhooks yourself with your version of SourceMod. I think I read a note somewhere about INVALID_FUNCTION and INVALID_HANDLE etc changing to 0 instead of -1. Not entirely sure, don't have time to look through and verify. Will check another day.
thanks you alot, i will roll back to 1.139 now. waiting next update from you!!!
chungocanh12 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 18:16.


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