Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Left 4 DHooks Direct (1.145) [03-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-15-2021 , 22:47   Re: [L4D & L4D2] Left 4 DHooks Direct (1.38) [28-Apr-2021]
Reply With Quote #311

It seems that "CancelStagger" and "ForceNextStage" only changed by 1 byte each while "RegisterForbiddenTarget" and "UnRegisterForbiddenTarget" changed entirely.
PHP Code:
"Games"
{
    
"left4dead2"
    
{
        
"Signatures"
        
{
            
/*
             * CTerrorPlayer::CancelStagger(void) - used by the game to stop Survivor Staggering as something else happens
             */
            
"CancelStagger"
            
{
                
"library"    "server"
                "linux"        "@_ZN13CTerrorPlayer13CancelStaggerEv"
                "windows"    "\x56\x8B\x2A\xF3\x2A\x2A\x2A\x0C\x2A\x2A\x2A\x0F\x2A\x2A\x2A\x2A\x2A\x2A\x57"
                
/* Sig may break, using offsets to make unique */
                /* 56 8B ? F3 ? ? ? 0C ? ? ? 0F ? ? ? ? ? ? 57 */
                /* Search "SurvivorWasPounced" - few calls above. */ // Found by SilverShot.
            
}

            
/*
            *  CDirector::ForceNextStage(CDirector *this)
            */
            
"ForceNextStage"
            
{
                
"library"    "server"
                "linux"        "@_ZN9CDirector14ForceNextStageEv"
                "windows"    "\x8B\x2A\x88\x05\x00\x00\xE9\x2A\x99\x01\x00"
                
/* 8B ? 88 05 00 00 E9 ? 99 01 00 */
                /* Search "ForceNextStage" call below of XRef */
            
}

            
/*
             * CDirector::RegisterForbiddenTarget(CBaseEntity *) - used to create Car Alarms
             */
            
"RegisterForbiddenTarget"
            
{
                
"library"    "server"
                "linux"        "@_ZN9CDirector23RegisterForbiddenTargetEP11CBaseEntity"
                "windows"    "\x55\x8B\x2A\x53\x56\x57\x8B\x7D\x08\x83\xCB\xFF\x8B\xF1\x85\xFF\x74\x2A\x8B\x07\x8B\x50\x08\x8B\xCF\xFF\xD2\x8B\x00\x89\x45\x08\xEB\x2A\x89\x5D\x08\x8D\x4D\x08\x51\x8D\x8E\xB4\x03\x00\x00"
                
/* Sig may break, using offsets to make unique */
                /* 55 8B ? 53 56 57 8B 7D 08 83 CB FF 8B F1 85 FF 74 ? 8B 07 8B 50 08 8B CF FF D2 8B 00 89 45 08 EB ? 89 5D 08 8D 4D 08 51 8D 8E B4 03 00 00 */
                /* Search: "prop %s at %.0f %.0f %0.f missing model" for "CBaseProp::Spawn". XRef called by "CBreakableProp::Spawn" (largest function) which calls target function */
            
}

            
/*
             * CDirector::UnregisterForbiddenTarget(CBaseEntity *) - used to remove Car Alarms
             */
            
"UnRegisterForbiddenTarget"
            
{
                
"library"    "server"
                "linux"        "@_ZN9CDirector25UnregisterForbiddenTargetEP11CBaseEntity"
                "windows"    "\x55\x8B\x2A\x56\x57\x8B\x7D\x08\x8B\xF1\x85\xFF\x74\x2A\x8B\x07\x8B\x50\x08\x8B\xCF\xFF\xD2\x8B\x00\x89\x45\x08"
                
/* 55 8B ? 56 57 8B 7D 08 8B F1 85 FF 74 ? 8B 07 8B 50 08 8B CF FF D2 8B 00 89 45 08 */
                /* Search "triggered_car_alarm" for "CCarProp::InputSurvivorStandingOnCar". Called in here. */
            
}
        }
    }

__________________
Psyk0tik is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 06-16-2021 , 00:11   Re: [L4D & L4D2] Left 4 DHooks Direct (1.38) [28-Apr-2021]
Reply With Quote #312

break address

Code:
[left4dhooks.smx] Failed to find "VanillaModeAddress" address.
ProjectSky is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-16-2021 , 05:01   Re: [L4D & L4D2] Left 4 DHooks Direct (1.39) [16-Jun-2021]
Reply With Quote #313

Fixed.

Code:
1.39 (16-Jun-2021)
    - Changed command "sm_l4dd_detours" results displayed to be read easier.
    - L4D2: Fixed signatures breaking from "2.2.1.3" game update. Thanks to "Crasher_3637" for fixing.
    - L4D2: Fixed "VanillaModeOffset" in Linux breaking from "2.2.1.3" game update. Thanks to "Accelerator74" for fixing.

Code:
1.40 (16-Jun-2021)
    - L4D2: Fixed various offsets breaking from "2.2.1.3" game update. Thanks to "Nuki" for reporting and helping.
__________________

Last edited by Silvers; 06-16-2021 at 14:08.
Silvers is offline
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
Old 06-17-2021 , 11:49   Re: [L4D & L4D2] Left 4 DHooks Direct (1.40) [16-Jun-2021]
Reply With Quote #314

Why do i have this message?

"[SM] Failed to load plugin "left4dhooks.smx": This plugin replaces Left4Downtown. Delete the extension to run.."

Notice: I using only Left4DHooks, and have no left4downtown.ext file in extension folder.

P.S. After this message my server is crashing.
BRU7US is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 06-17-2021 , 12:13   Re: [L4D & L4D2] Left 4 DHooks Direct (1.40) [16-Jun-2021]
Reply With Quote #315

Excuse me, how can I do in my case? I use Windows and create a server with Local Server from the lobby.

I receive this in the records

L 06/17/2021 - 11:04:52: SourceMod error session started
L 06/17/2021 - 11:04:52: Info (map "c2m1_highway") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10617.log")
L 06/17/2021 - 11:04:52: [SM] Unable to load extension "cleaner.ext": Failed to find signature. Please contact the author.
L 06/17/2021 - 11:04:54: [left4dhooks.smx] Failed to find signature: ForceNextStage
L 06/17/2021 - 11:04:54: [left4dhooks.smx] Failed to find signature: CancelStagger
L 06/17/2021 - 11:04:54: [left4dhooks.smx] Failed to find signature: RegisterForbiddenTarget
L 06/17/2021 - 11:04:54: [left4dhooks.smx] Failed to find signature: UnRegisterForbiddenTarget
L 06/17/2021 - 11:05:05: Error log file session closed.

I don't speak English, excuse my bad accent

Last edited by VladimirTk; 06-17-2021 at 12:14.
VladimirTk is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-17-2021 , 13:42   Re: [L4D & L4D2] Left 4 DHooks Direct (1.40) [16-Jun-2021]
Reply With Quote #316

Quote:
Originally Posted by BRU7US View Post
Why do i have this message?

"[SM] Failed to load plugin "left4dhooks.smx": This plugin replaces Left4Downtown. Delete the extension to run.."

Notice: I using only Left4DHooks, and have no left4downtown.ext file in extension folder.

P.S. After this message my server is crashing.
It checks if "L4D_RestartScenarioFromVote" native is registered. Either you have the extension installed, or you have two copies of Left4DHooks installed.



Quote:
Originally Posted by VladimirTk View Post
Excuse me, how can I do in my case? I use Windows and create a server with Local Server from the lobby.

I receive this in the records

L 06/17/2021 - 11:04:52: SourceMod error session started
L 06/17/2021 - 11:04:52: Info (map "c2m1_highway") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10617.log")
L 06/17/2021 - 11:04:52: [SM] Unable to load extension "cleaner.ext": Failed to find signature. Please contact the author.
L 06/17/2021 - 11:04:54: [left4dhooks.smx] Failed to find signature: ForceNextStage
L 06/17/2021 - 11:04:54: [left4dhooks.smx] Failed to find signature: CancelStagger
L 06/17/2021 - 11:04:54: [left4dhooks.smx] Failed to find signature: RegisterForbiddenTarget
L 06/17/2021 - 11:04:54: [left4dhooks.smx] Failed to find signature: UnRegisterForbiddenTarget
L 06/17/2021 - 11:05:05: Error log file session closed.

I don't speak English, excuse my bad accent
These signatures were fixed in the latest version, update your gamedata.
__________________
Silvers is offline
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
Old 06-17-2021 , 15:18   Re: [L4D & L4D2] Left 4 DHooks Direct (1.40) [16-Jun-2021]
Reply With Quote #317

Quote:
Originally Posted by Silvers View Post
It checks if "L4D_RestartScenarioFromVote" native is registered. Either you have the extension installed, or you have two copies of Left4DHooks installed.
Thank you very much! I have found a second copy of .smx file.

Last edited by BRU7US; 06-17-2021 at 15:19.
BRU7US is offline
NiTro1
Member
Join Date: Sep 2015
Location: france
Old 06-17-2021 , 19:55   Re: [L4D & L4D2] Left 4 DHooks Direct (1.40) [16-Jun-2021]
Reply With Quote #318

Quote:
Originally Posted by Silvers View Post
It checks if "L4D_RestartScenarioFromVote" native is registered. Either you have the extension installed, or you have two copies of Left4DHooks installed.





These signatures were fixed in the latest version, update your gamedata.
Silvers dont forget the addons disabler please
NiTro1 is offline
TrueSurvivor
Member
Join Date: Jun 2010
Old 06-17-2021 , 22:20   Re: [L4D & L4D2] Left 4 DHooks Direct (1.40) [16-Jun-2021]
Reply With Quote #319

EDIT: I was wrong.

Last edited by TrueSurvivor; 06-18-2021 at 04:56. Reason: I was wrong.
TrueSurvivor is offline
NiTro1
Member
Join Date: Sep 2015
Location: france
Old 06-18-2021 , 00:13   Re: [L4D & L4D2] Left 4 DHooks Direct (1.40) [16-Jun-2021]
Reply With Quote #320

Quote:
Originally Posted by TrueSurvivor View Post
The updated offset for InvulnaribilityTimer is wrong

Code:
"InvulnerabilityTimer"
{
	"windows"	"11860" // 2.2.1.3
	"linux"		"11880" // 2.2.1.3
}
needs to be

Code:
"InvulnerabilityTimer"
{
	"windows"	"11892"
	"linux"		"11872"
}
The others are correct though
lol this time i think Silvers does not have time and we should work on updating by ourselves. but i dont have crashes so far using the last offsets and sigs

Last edited by NiTro1; 06-18-2021 at 00:14.
NiTro1 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 12:16.


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