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

[L4D] Witch Target Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 03-23-2020 , 20:34   Re: [L4D] Witch Target Fix
Reply With Quote #21

Quote:
Originally Posted by Lux View Post
Looks to have windows gamedata to me

PHP Code:
             Search"Vomit thrown on me" 
             
First xrefcall above string is WitchAttack::WitchAttack 
             
*/ 
            
"WitchAttack::WitchAttack" 
            

                
"library"        "server" 
                "linux"            "@_ZN11WitchAttackC2EP11CBaseEntity" 
                "windows"        "\x55\x8B\xEC\x53\x56\x8B\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\x33\x2A\x33\x2A\x89\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x53" 
                
/* 55 8B EC 53 56 8B ? C7 ? ? ? ? ? ? C7 ? ? ? ? ? ? 33 ? 33 ? 89 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 53 */ 
            
}

            
/* 
             * Search: "Killed our Survivor victim" 
             * This is  WitchAttack::Update 
             * 2nd call is similar to Linux function for WitchAttack::GetVictim 
             */ 
            
"WitchAttack::GetVictim" 
            

                
"library"        "server" 
                "linux"            "@_ZNK11WitchAttack9GetVictimEv" 
                "windows"        "\x55\x8B\x2A\x8B\x2A\x2A\x83\x2A\x2A\x83\x2A\x08\x75" 
                
/* 55 8B ? 8B ? ? 83 ? ? 83 ? 08 75 */ 
            

Ehh I can port the patch to l4d1 if you don't want active hooks to be used.
Quote:
Originally Posted by Ellie View Post
Any update on this?

Looked at these 2 signitures for l4d1 and was unable to find them, i assume they are out of date?
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 03-24-2020 , 01:33   Re: [L4D] Witch Target Fix
Reply With Quote #22

Added l4d1 support to

Witch_Target_patch
Witch_Prevent_Target_Loss

Linux is untested may work it may not let me know, it uses 2byte jump shorts on some, Enjoy!
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-28-2020 , 14:40   Re: [L4D] Witch Target Fix
Reply With Quote #23

Thanks a much, Lux.

Linux L4D1

Quote:
L 03/28/2020 - 17:47:02: [Witch_Target_patch.smx] Error finding the 'WitchAttack::OnContact' signature.
Checked in IDA. Sig looks correct.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 03-28-2020 , 16:07   Re: [L4D] Witch Target Fix
Reply With Quote #24

Quote:
Originally Posted by Dragokas View Post
Thanks a much, Lux.

Linux L4D1



Checked in IDA. Sig looks correct.
¯\_(ツ)_/¯

I'm not really sure how the sig is wrong it is using a symbol
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-28-2020 , 16:45   Re: [L4D] Witch Target Fix
Reply With Quote #25

Checked 2 more linux servers, same error.

Windows - no errors in log.

I can give you test server if it helps.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-28-2020 , 17:17   Re: [L4D] Witch Target Fix
Reply With Quote #26

The problem is the signature says "Linux" when it should be "linux" (case sensitivity).
__________________
Silvers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-28-2020 , 17:25   Re: [L4D] Witch Target Fix
Reply With Quote #27

oww, now it is loaded OK. Thank you.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 03-28-2020 , 19:41   Re: [L4D] Witch Target Fix
Reply With Quote #28

Dam stupid mistake :'(

It's loaded and patched those functions but does it work correctly?

Edit:
I pushed the change to github Thanks silvers
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D

Last edited by Lux; 03-28-2020 at 19:43.
Lux is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-05-2020 , 20:10   Re: [L4D] Witch Target Fix
Reply With Quote #29

We tested your patch during this week.

No more problems with wrong target seen.

Thanks a much Lux and Silvers.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 04-05-2020 at 20:10.
Dragokas is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 04-08-2020 , 13:01   Re: [L4D] Witch Target Fix
Reply With Quote #30

Hey thanks for testing will sometime update witchfixes thread to include both l4d1 and l4d2 stuff.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux 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 16:29.


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