Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Left 4 DHooks Direct (1.147) [30-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
XiLuo
Member
Join Date: Mar 2018
Old 05-18-2023 , 23:42   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #871

I only temporarily updated the Windows /linux error signatures and offsets for L4D2. It can be used for a short time, but will have to wait for sliver to fully fix the update. hope it helps someone
Attached Files
File Type: zip left4dhooks_l4d2txt.zip (30.6 KB, 316 views)
XiLuo is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-19-2023 , 02:57   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #872

Quote:
Originally Posted by JLmelenchon View Post
Yes they did it again... they like to touch what is not broken. The person updating it must be fired.
Agree. potentially breaking thousands of servers and plugins.

Quote:
Originally Posted by robex View Post
Update added a bunch of new variables to CDirector class, all offsets in CDirector (after around 80) are +192, thats whats broken. Also some bad signatures for Windows.
Really? what have they added ?
They just announce two update.

PHP Code:
An update has been released for Left 4 Dead 2.

Fixed a regression that caused some scripted special zombie spawns to failFixes Tank Run mutation
PHP Code:
An update has been released for Left 4 Dead 2.

Fixed several crash and RCE exploitsall reported via HackerOne
__________________
HarryPotter is offline
JustNO
Member
Join Date: Jul 2020
Old 05-19-2023 , 03:22   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #873

Housten (Silvers xD) we have a problem.

L 05/19/2023 - 09:168: SourceMod error session started
L 05/19/2023 - 09:168: Info (map "c1m1_hotel") (file "/home/steam/Steam/steamapps/common/Left 4 Dead 2 Dedicated Server/left4dead2/addons/sourcemod/logs/errors_20230519.log")
L 05/19/2023 - 09:168: [left4dhooks.smx] Failed to find "ScriptedEventManagerPtr" address (NIX/2/1.122).
L 05/19/2023 - 09:168: [left4dhooks.smx] Failed to find "VersusModePtr" address (NIX/2/1.122).
L 05/19/2023 - 09:168: [left4dhooks.smx] Failed to find "ScavengeModePtr" address (NIX/2/1.122).

JustNO is offline
robex
New Member
Join Date: May 2023
Old 05-19-2023 , 05:25   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #874

Quote:
Originally Posted by HarryPotter View Post
Agree. potentially breaking thousands of servers and plugins.



Really? what have they added ?
They just announce two update.

PHP Code:
An update has been released for Left 4 Dead 2.

Fixed a regression that caused some scripted special zombie spawns to failFixes Tank Run mutation
PHP Code:
An update has been released for Left 4 Dead 2.

Fixed several crash and RCE exploitsall reported via HackerOne
After further inspection it seems its just an array that went from size 64 to 256 bytes, hence why offsets are +192 (credit to A1m for this info)

Last edited by robex; 05-19-2023 at 05:26.
robex is offline
XiLuo
Member
Join Date: Mar 2018
Old 05-19-2023 , 06:05   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #875

Quote:
Originally Posted by XiLuo View Post
I only temporarily updated the Windows /linux error signatures and offsets for L4D2. It can be used for a short time, but will have to wait for sliver to fully fix the update. hope it helps someone
The "m_chapter" offset has not been edited. If you need it, change the value to 1056.

Last edited by XiLuo; 05-19-2023 at 06:05.
XiLuo is offline
4NTEP xD
New Member
Join Date: Jan 2018
Old 05-19-2023 , 06:10   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #876

Hello, I think I found a minor error in the forward code updated in version 1.130 (the same offset 48 is used twice when making changes, and it should be 48 in the first case and 52 in the second), I also ask you to fix the signatures that broke after the release of patch 2227, thank you in advance for your work.

MRESReturn DTR_CGasCanEvent_Killed(int pThis, DHookReturn hReturn, DHookParam hParams) // Forward "L4D2_CGasCan_EventKilled"
{
//PrintToServer("##### DTR_CGasCanEvent_Killed");

int a1 = hParams.GetObjectVar(1, 48, ObjectValueType_EhandlePtr); // 48
int a2 = hParams.GetObjectVar(1, 52, ObjectValueType_EhandlePtr); // 52

...

if( aResult == Plugin_Changed )
{
hParams.SetObjectVar(1, 48, ObjectValueType_EhandlePtr, a1); // 48
hParams.SetObjectVar(1, 48, ObjectValueType_EhandlePtr, a2); // 48 != 52
return MRES_ChangedHandled;
}

g_bBlock_CGasCanEvent_Killed = false;

return MRES_Ignored;
}
4NTEP xD is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 05-19-2023 , 08:30   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #877

Just to report.
After the last update, several plugins have errors, and servers crash.

Exemple: but have more....

PHP Code:
L 05/18/2023 20:47:43: [SMCall stack trace:
L 05/18/2023 20:47:43: [SM]   [0SetFailState
L 05
/18/2023 20:47:43: [SM]   [1Line 81, /home/forums/content/files/8/5/7/7/8/170218.attach::OnPluginStart
L 05
/18/2023 20:47:43: [SMUnable to load plugin "l4d2_zoey_unlock.smx"Error detected in plugin startup (see error logs)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::HasAnySurvivorLeftSafeArea" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::IsTankInPlay" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::GetFurthestSurvivorFlow" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::GetScriptValueInt" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::GetScriptValueFloat" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::RegisterForbiddenTarget" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::SwapTeams" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find "ScriptedEventManagerPtr" address (WIN/2/1.130).
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find "VersusModePtr" address (WIN/2/1.130).
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find "ScavengeModePtr" address (WIN/2/1.130). 
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
king kong
Member
Join Date: Oct 2021
Old 05-19-2023 , 08:53   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #878

Quote:
Originally Posted by Mi.Cura View Post
Just to report.
After the last update, several plugins have errors, and servers crash.

Exemple: but have more....

PHP Code:
L 05/18/2023 20:47:43: [SMCall stack trace:
L 05/18/2023 20:47:43: [SM]   [0SetFailState
L 05
/18/2023 20:47:43: [SM]   [1Line 81, /home/forums/content/files/8/5/7/7/8/170218.attach::OnPluginStart
L 05
/18/2023 20:47:43: [SMUnable to load plugin "l4d2_zoey_unlock.smx"Error detected in plugin startup (see error logs)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::HasAnySurvivorLeftSafeArea" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::IsTankInPlay" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::GetFurthestSurvivorFlow" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::GetScriptValueInt" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::GetScriptValueFloat" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::RegisterForbiddenTarget" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find signature"CDirector::SwapTeams" (WIN/2/1.130)
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find "ScriptedEventManagerPtr" address (WIN/2/1.130).
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find "VersusModePtr" address (WIN/2/1.130).
L 05/18/2023 20:47:45: [left4dhooks.smxFailed to find "ScavengeModePtr" address (WIN/2/1.130). 
sorallll fixed real zoey unlock gamedata
https://forums.alliedmods.net/showpo...6&postcount=49

Last edited by king kong; 05-19-2023 at 09:08.
king kong is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 05-19-2023 , 10:56   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #879

after l4d2 update from valve 18.05.2023 an error has occurred ↓↓↓

L 05/19/2023 - 20:53:14: [SM] Exception reported: CTerrorPlayer::WarpToValidPositionIfStuck not available (NIX/2/1.130).
L 05/19/2023 - 20:53:14: [SM] Blaming: left4dhooks.smx
L 05/19/2023 - 20:53:14: [SM] Call stack trace:
L 05/19/2023 - 20:53:14: [SM] [0] ThrowNativeError
L 05/19/2023 - 20:53:14: [SM] [1] Line 182, l4dd/l4dd_natives.sp::ValidateNatives
L 05/19/2023 - 20:53:14: [SM] [2] Line 994, l4dd/l4dd_natives.sp::Native_CTerrorPlayer_WarpToV alidPositionIfStuck
L 05/19/2023 - 20:53:14: [SM] [4] L4D_WarpToValidPositionIfStuck
L 05/19/2023 - 20:53:14: [SM] [5] Line 849, Survivor_Respawn.sp::RespawnTarget
L 05/19/2023 - 20:53:14: [SM] [6] Line 761, Survivor_Respawn.sp::Timer_Respawn
maclarens is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-19-2023 , 11:40   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
Reply With Quote #880

Quote:
Originally Posted by robex View Post
After further inspection it seems its just an array that went from size 64 to 256 bytes, hence why offsets are +192 (credit to A1m for this info)
Quote:
Originally Posted by XiLuo View Post
The "m_chapter" offset has not been edited. If you need it, change the value to 1056.
Thanks.


Maybe further issues, will update when things are confirmed working and when I have time.

Working GameData:

<removed: added to main post archive>
__________________

Last edited by Silvers; 05-24-2023 at 21:33.
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 03:24.


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