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
bullet28
Member
Join Date: Apr 2012
Old 01-29-2024 , 23:34   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1041

Tried both "0" and "3" values for "incap", played with the "order" setting, but the tank always attacks the incapacitated when their target is standing right on top of the him. Obviously he's not targeting the incapacitated survivor directly. If you run around while he casting attack animation, he will turn and look directly at you, but every punch he throws target the incapacitated survivor if they're nearby. Recorded a video: https://www.youtube.com/watch?v=Je3PBHxzalg with l4d_target_override enabled

Last edited by bullet28; 01-29-2024 at 23:51.
bullet28 is offline
little_froy
Senior Member
Join Date: May 2021
Old 01-30-2024 , 20:34   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1042

L4D2_IsVisibleToPlayer works differ from windows listen and linux dedicated. in c1m1_hotel, it returns true pass through the glass door on windows listen, but false on linux dedicated.
code:

windows listen:

linux dedicated:
Attached Files
File Type: sp Get Plugin or Get Source (visib.sp - 3 views - 843 Bytes)

Last edited by little_froy; 03-17-2024 at 06:06.
little_froy is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 01-31-2024 , 23:26   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1043

L4D 1042
left4dhooks 1.143
Dhooks2.2.0 detours17-sm1.11

If you encounter this error
Code:
[SM] Unable to load plugin "left4dhooks.smx": Required extension "dhooks" file("dhooks.ext") not running
Please upgrade the SM version sourcemod-1.11.0-git6952.
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:

Last edited by ZBzibing; 01-31-2024 at 23:28.
ZBzibing is offline
jamalsheref2
Senior Member
Join Date: May 2017
Old 02-01-2024 , 20:04   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1044

L 02/01/2024 - 19:567: [SM] Exception reported: ThisPtr address cannot be null
L 02/01/2024 - 19:567: [SM] Blaming: left4dhooks.smx
L 02/01/2024 - 19:567: [SM] Call stack trace:
L 02/01/2024 - 19:567: [SM] [0] SDKCall
L 02/01/2024 - 19:567: [SM] [1] Line 3528, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\left4dhooks.sp::Native_IsFirstMapInS cenario
L 02/01/2024 - 19:567: [SM] [3] L4D_IsFirstMapInScenario
L 02/01/2024 - 19:567: [SM] [4] Line 268, /home/forums/content/files/8/5/7/7/8/180181.attach::Event_NoDraw
Redownloading all lightmaps

this is for l4d1 btw
can someone tell me why is this happening?

Last edited by jamalsheref2; 02-01-2024 at 20:24.
jamalsheref2 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-02-2024 , 01:38   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1045

Quote:
Originally Posted by jamalsheref2 View Post
L 02/01/2024 - 19:567: [SM] Exception reported: ThisPtr address cannot be null
L 02/01/2024 - 19:567: [SM] Blaming: left4dhooks.smx
L 02/01/2024 - 19:567: [SM] Call stack trace:
L 02/01/2024 - 19:567: [SM] [0] SDKCall
L 02/01/2024 - 19:567: [SM] [1] Line 3528, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\left4dhooks.sp::Native_IsFirstMapInS cenario
L 02/01/2024 - 19:567: [SM] [3] L4D_IsFirstMapInScenario
L 02/01/2024 - 19:567: [SM] [4] Line 268, /home/forums/content/files/8/5/7/7/8/180181.attach::Event_NoDraw
Redownloading all lightmaps

this is for l4d1 btw
can someone tell me why is this happening?
What version left4dhooks are you using? Looks extremely old. Update.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-02-2024 , 06:16   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1046

Line numbers don't match, looks like a very old version before the script was split into individual parts. The latest version would not even throw this error. What does "sm plugins list" show for left4dhooks?
__________________

Last edited by Silvers; 02-02-2024 at 06:17.
Silvers is offline
bullet28
Member
Join Date: Apr 2012
Old 02-04-2024 , 23:52   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1047

L4D_IsInLastCheckpoint returns 0 when standing in the corner of the room on the boxes on the c2m3_coaster map (in other places, it returns 1). player_left_checkpoint event does not trigger when jumping into this location meaning that the game actually know you are in the area
Attached Thumbnails
Click image for larger version

Name:	20240205064513_1.jpg
Views:	80
Size:	95.1 KB
ID:	203125  
bullet28 is offline
bullet28
Member
Join Date: Apr 2012
Old 02-05-2024 , 02:43   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1048

I don't know if it's intended or not, but L4D2_OnStagger is not firing on specials after being shoved by a survivor. At the same time, this event fires when specials are affected by nearby explosions, and L4D_OnCancelStagger still fires in both cases.
bullet28 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 02-07-2024 , 18:48   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1049

Quote:
Originally Posted by bullet28 View Post
L4D_IsInLastCheckpoint returns 0 when standing in the corner of the room on the boxes on the c2m3_coaster map (in other places, it returns 1). player_left_checkpoint event does not trigger when jumping into this location meaning that the game actually know you are in the area
Run nav_edit 1 along with z_debug 1. Check if that nav area is actually marked with "Checkpoint" parameter or not.
__________________
Spirit_12 is offline
bullet28
Member
Join Date: Apr 2012
Old 02-07-2024 , 22:27   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1050

Quote:
Originally Posted by Spirit_12 View Post
Run nav_edit 1 along with z_debug 1. Check if that nav area is actually marked with "Checkpoint" parameter or not.
It isn't. However, the function name is 'IsPositionInSaferoom', not 'IsPositionOnCheckpointNav,' right? I mean, that's not the expected behavior. In reallity I was standing in the saferoom.
bullet28 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 10:21.


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