This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Left 4 DHooks Direct (1.150) [06-May-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-19-2023 , 15:27   Re: [L4D & L4D2] Left 4 DHooks Direct (1.129) [31-Mar-2023]
Reply With Quote #851

Quote:
Originally Posted by yzybb View Post
Hello, Silvers. I'm sorry to bother you. L4D_SetVersusMaxCompletionScore() seems to have a bug that always crashes my server, with the frequency reaching several dozen times. I'm sure it's caused by this function. Here is the server crash information:
(All crashes ultimately point to tier0.dll+0x1991d. I have provided 3 crash reports with more information, hoping it can be helpful)
This is most likely caused by using 1.10 and older version of left4dhooks, which should be fixed in SM 1.11 and latest left4dhooks. Edit: This was the case, updating to 1.11 fixed the issue.


Quote:
Originally Posted by Mystik Spiral View Post
Hi Silvers!

Can the forward L4D2_CGasCan_EventKilled be suppressed with Plugin_Handled? I am in the planning phase about how to prevent detonation of a gascan under specific circumstances and wondered if I could hook this event, do checks, and potentially block gascan detonation with Plugin_Handled. If detonation can be suppressed with Plugin_Handled, would the gascan entity still exist or will it be destroyed?
Not sure why it was never made into an Action to stop detonating, will update for next release.
__________________

Last edited by Silvers; 04-23-2023 at 17:20.
Silvers is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 04-19-2023 , 18:53   Re: [L4D & L4D2] Left 4 DHooks Direct (1.129) [31-Mar-2023]
Reply With Quote #852

Quote:
Originally Posted by Mystik Spiral View Post
Can the forward L4D2_CGasCan_EventKilled be suppressed with Plugin_Handled? I am in the planning phase about how to prevent detonation of a gascan under specific circumstances and wondered if I could hook this event, do checks, and potentially block gascan detonation with Plugin_Handled. If detonation can be suppressed with Plugin_Handled, would the gascan entity still exist or will it be destroyed?
Quote:
Originally Posted by Silvers View Post
Not sure why it was never made into an Action to stop detonating, will update for next release.
Thank you, greatly appreciated!
Mystik Spiral is offline
yezi
Junior Member
Join Date: May 2022
Old 04-30-2023 , 08:12   Re: [L4D & L4D2] Left 4 DHooks Direct (1.129) [31-Mar-2023]
Reply With Quote #853

Multiple players joining the server at the same time caused the server to crash, and the attached picture has an error message.
Attached Thumbnails
Click image for larger version

Name:	W1{RP0(UB`)RX96%]9)IP%E.png
Views:	97
Size:	37.1 KB
ID:	200432   Click image for larger version

Name:	%T9CLZM22[YR(I765GD1M6I.png
Views:	84
Size:	67.4 KB
ID:	200433  
yezi is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-30-2023 , 19:17   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #854

Quote:
Originally Posted by yezi View Post
Multiple players joining the server at the same time caused the server to crash, and the attached picture has an error message.
The native needs to be called at least 1 frame after OnMapStart. I've added a check to prevent the SDKCall if the address is invalid.


Code:
1.130 (01-May-2023)
    - Changed native "L4D2_NavAreaTravelDistance" to support L4D1. Thanks to "Eärendil" for reporting, and "Psyk0tik" for the signature.
    - Changed forward "L4D2_CGasCan_EventKilled" to an Action instead of Void forward to allow blocking detonation. Requested by "Mystik Spiral".
    - Added forwards "L4D2_CGasCan_EventKilled_Post" and "L4D2_CGasCan_EventKilled_PostHandled" to pair with the changed forward.
    - Added a check to validate the "CTerrorGameRules::GetMissionInfo" address. Thanks to "yezi" for reporting.

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

Last edited by Silvers; 04-30-2023 at 19:19.
Silvers is offline
Frank.Stone
Junior Member
Join Date: Jul 2021
Location: TPHCM
Old 05-07-2023 , 15:59   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #855

Hello Silver can you send me link lasted version of SM 1.10 , i'm keep using SM 1.10 xD
Frank.Stone is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 05-07-2023 , 16:16   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #856

go to the page #83
__________________

Last edited by Ja-Forces; 05-07-2023 at 16:19.
Ja-Forces is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-07-2023 , 17:45   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #857

Quote:
Originally Posted by Frank.Stone View Post
Hello Silver can you send me link lasted version of SM 1.10 , i'm keep using SM 1.10 xD
I don't think this was your intention but please refrain from posting something in red text and larger than normal size. It can be interpreted as shouting.
__________________
Spirit_12 is offline
Frank.Stone
Junior Member
Join Date: Jul 2021
Location: TPHCM
Old 05-07-2023 , 18:17   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #858

Tks u
Quote:
Originally Posted by Ja-Forces View Post
go to the page #83
Frank.Stone is offline
Frank.Stone
Junior Member
Join Date: Jul 2021
Location: TPHCM
Old 05-07-2023 , 18:17   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #859

okay i will remember ^^ tks u
Quote:
Originally Posted by Spirit_12 View Post
I don't think this was your intention but please refrain from posting something in red text and larger than normal size. It can be interpreted as shouting.
Frank.Stone is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-08-2023 , 18:48   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #860

Any reason why people in 2023 still not willing to update sm 1.11?
__________________
HarryPotter 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:05.


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