Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2]Witch fixes[Left 4 Fix]


Post New Thread Reply   
 
Thread Tools Display Modes
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-10-2021 , 01:51   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #101

Update L4D1 1.0.4.0 Update
Thanks Psyk0tik
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 08-10-2021 , 07:12   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #102

Quote:
Originally Posted by Lux View Post
Update L4D1 1.0.4.0 Update
Thanks Psyk0tik
Hey, just re-downloaded and installed again just to make sure I wasn't missing anything and still getting same error.

Quote:
L 08/10/2021 - 12:10:45: [Witch_Target_patch.smx] Incorrect offset for 'WitchAttack::GetVictim'.
I even compared to github and they are the same.

Cheers.
__________________

matrixmark is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-10-2021 , 08:50   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #103

Yea crasher added it
https://github.com/LuxLuma/Left-4-fi...2fcc3071d35434

I updated the main post.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 08-11-2021 , 07:49   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #104

Looks like WitchAttack::OnStart for L4D1 has two of the same conditions regarding character checking, which would explain the Witch still attacking the wrong survivor after being startled but it only happens very rarely. Also, I think WitchAttack::OnContact should apply the same patches instead of NOP-ing the condition.
PHP Code:
"WitchAttack::OnStart1"
{
    
"linux"        "77" // 0x04 -> 0x08; (+2) 0x84 -> 0x85
    
"windows"    "73" // 0x75 -> 0x90
}
"WitchAttack::OnStart2"
{
    
"linux"        "228" // 0x04 -> 0x08; (+2) 0x85 -> 0x84
    
"windows"    "245" // 0x75 -> 0x90
}
"WitchAttack::OnContact"
{
    
"linux"        "234" // 0x04 -> 0x08; (+2) 0x85 -> 0x84 | was 235 (0x0F)

cravenge is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 08-11-2021 , 14:46   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #105

Quote:
Originally Posted by Lux View Post
Yea crasher added it
https://github.com/LuxLuma/Left-4-fi...2fcc3071d35434

I updated the main post.
Ok downloading now, many thanks
__________________

matrixmark is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-16-2021 , 22:04   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #106

Quote:
Originally Posted by cravenge View Post
Looks like WitchAttack::OnStart for L4D1 has two of the same conditions regarding character checking, which would explain the Witch still attacking the wrong survivor after being startled but it only happens very rarely. Also, I think WitchAttack::OnContact should apply the same patches instead of NOP-ing the condition.
PHP Code:
"WitchAttack::OnStart1"
{
    
"linux"        "77" // 0x04 -> 0x08; (+2) 0x84 -> 0x85
    
"windows"    "73" // 0x75 -> 0x90
}
"WitchAttack::OnStart2"
{
    
"linux"        "228" // 0x04 -> 0x08; (+2) 0x85 -> 0x84
    
"windows"    "245" // 0x75 -> 0x90
}
"WitchAttack::OnContact"
{
    
"linux"        "234" // 0x04 -> 0x08; (+2) 0x85 -> 0x84 | was 235 (0x0F)

tbh need to move everything over the sourcescramble before making more patches before i look at this stuff.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
VYRNACH_GAMING
Member
Join Date: Sep 2021
Old 09-30-2021 , 04:46   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #107

it seems this doesn't always work for big servers with as much as 18 players?
__________________
VYRNACH_GAMING is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 12-14-2021 , 11:19   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #108

Quote:
Originally Posted by aiyoaiui View Post
no
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Shao
Senior Member
Join Date: Jan 2015
Old 12-14-2021 , 11:44   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #109

Quote:
Originally Posted by aiyoaiui View Post
Fix the melee exploit instead, that'll do better.

https://forums.alliedmods.net/showthread.php?p=2407280
Shao is offline
A1ena
Junior Member
Join Date: Jun 2021
Old 02-01-2022 , 11:58   Re: [L4D & L4D2]Witch fixes[Left 4 Fix]
Reply With Quote #110

I have a linux l4d1 server and after the update to the game I'm starting to get this error for the witch target patch plugin.

Quote:
L 02/01/2022 - 11:03:50: SourceMod error session started
L 02/01/2022 - 11:03:50: Info (map "l4d_airport01_greenhouse") (file "/home/l4d/l4d/left4dead/addons/sourcemod/logs/errors_20220201.log")
L 02/01/2022 - 11:03:50: [Witch_Target_patch.smx] Incorrect offset for 'WitchAttack::OnStart'.
L 02/01/2022 - 11:03:50: [Witch_Target_patch.smx] Incorrect offset for 'WitchAttack::OnAnimationEvent'.
L 02/01/2022 - 110:56: Error log file session closed.
A1ena 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:33.


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