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

[L4D & L4D2] Shove Direction Fix


Post New Thread Reply   
 
Thread Tools Display Modes
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 07-26-2021 , 06:04   Re: [L4D2] Shove Direction Fix
Reply With Quote #11

Only 1 byte yet again changed for Windows:
PHP Code:
"ResetEntityState"
{
    
"linux"        "@_ZN22NextBotCombatCharacter5SpawnEv"
    "windows"    "\x56\x57\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x8B\x86\x40\x1A\x00\x00"
    
/* 56 57 8B F1 E8 ? ? ? ? 8B 86 40 1A 00 00 */

cravenge is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 08-04-2021 , 07:52   Re: [L4D2] Shove Direction Fix
Reply With Quote #12

Quote:
Originally Posted by cravenge View Post
Only 1 byte yet again changed for Windows:
PHP Code:
"ResetEntityState"
{
    
"linux"        "@_ZN22NextBotCombatCharacter5SpawnEv"
    "windows"    "\x56\x57\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x8B\x86\x40\x1A\x00\x00"
    
/* 56 57 8B F1 E8 ? ? ? ? 8B 86 40 1A 00 00 */

Thanks! Fix'd it.

If anyone needs the updated file, here you go:
Updated: 2021.08.11 (Using Psyk0tik's method. #14)
Attached Files
File Type: txt l4d2_shove_fix.txt (536 Bytes, 93 views)
__________________

"I've Got You In My Sights!"

Last edited by KasperH; 08-11-2021 at 09:06. Reason: Update
KasperH is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-05-2021 , 07:23   Re: [L4D2] Shove Direction Fix
Reply With Quote #13

Quote:
Originally Posted by cravenge View Post
Only 1 byte yet again changed for Windows:
PHP Code:
"ResetEntityState"
{
    
"linux"        "@_ZN22NextBotCombatCharacter5SpawnEv"
    "windows"    "\x56\x57\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x8B\x86\x40\x1A\x00\x00"
    
/* 56 57 8B F1 E8 ? ? ? ? 8B 86 40 1A 00 00 */

That signature will likely break again in a future update.

Here's a signature that has worked even before the Last Stand update was released:
PHP Code:
/**
 * NextBotCombatCharacter::Spawn()
 *
 * How to find on Windows:
 * 1. Find the function's offsets with asherkin's VTable dump.
 * 2. Use IDA to get the VTable dump for the "NextBotCombatCharacter" class on Windows.
 * 3. Compare your dump's offsets with asherkin's dump's offsets to find the target function.
 * 4. Look for the target function in the Windows binary.
 **/
"NextBotCombatCharacter::Spawn"
{
    
"library"    "server"
    "linux"        "@_ZN22NextBotCombatCharacter5SpawnEv"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x86\x2A\x2A\x2A\x2A\x8B\x90\x2A\x2A\x2A\x2A\x8D\x8E\x2A\x2A\x2A\x2A\xFF\x2A\x6A\x2A\x8D"
            
/* ? ? ? ? ? ? ? ? ? 8B 86 ? ? ? ? 8B 90 ? ? ? ? 8D 8E ? ? ? ? FF ? 6A ? 8D */

__________________
Psyk0tik is offline
MilanesaTM
Junior Member
Join Date: Aug 2021
Old 10-25-2021 , 11:31   Re: [L4D2] Shove Direction Fix
Reply With Quote #14

L 10/25/2021 - 12:06:05: [SM] Exception reported: Invalid Handle 0 (error 4)
L 10/25/2021 - 12:06:05: [SM] Blaming: l4d2_shove_fix.smx
L 10/25/2021 - 12:06:05: [SM] Call stack trace:
L 10/25/2021 - 12:06:05: [SM] [0] SDKCall
L 10/25/2021 - 12:06:05: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent


L 10/25/2021 - 12:06:45: [SM] Exception reported: Invalid Handle 0 (error 4)
L 10/25/2021 - 12:06:45: [SM] Blaming: l4d2_shove_fix.smx
L 10/25/2021 - 12:06:45: [SM] Call stack trace:
L 10/25/2021 - 12:06:45: [SM] [0] SDKCall
L 10/25/2021 - 12:06:45: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 10/25/2021 - 12:06:45: [SM] [3] Event.Fire
L 10/25/2021 - 12:06:45: [SM] [4] Line 77, /home/forums/content/files/2/8/4/1/5/5/189295.attach::HookSound_Callback
MilanesaTM is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 10-25-2021 , 18:15   Re: [L4D2] Shove Direction Fix
Reply With Quote #15

Quote:
Originally Posted by MilanesaTM View Post
L 10/25/2021 - 12:06:05: [SM] Exception reported: Invalid Handle 0 (error 4)
L 10/25/2021 - 12:06:05: [SM] Blaming: l4d2_shove_fix.smx
L 10/25/2021 - 12:06:05: [SM] Call stack trace:
L 10/25/2021 - 12:06:05: [SM] [0] SDKCall
L 10/25/2021 - 12:06:05: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent


L 10/25/2021 - 12:06:45: [SM] Exception reported: Invalid Handle 0 (error 4)
L 10/25/2021 - 12:06:45: [SM] Blaming: l4d2_shove_fix.smx
L 10/25/2021 - 12:06:45: [SM] Call stack trace:
L 10/25/2021 - 12:06:45: [SM] [0] SDKCall
L 10/25/2021 - 12:06:45: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 10/25/2021 - 12:06:45: [SM] [3] Event.Fire
L 10/25/2021 - 12:06:45: [SM] [4] Line 77, /home/forums/content/files/2/8/4/1/5/5/189295.attach::HookSound_Callback

I'm not sure, are they for the signatures?
They are from the psykotik github, I hope I am not mistaken
Attached Files
File Type: txt l4d2_shove_fix.txt (296 Bytes, 126 views)
VladimirTk is offline
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 02-07-2022 , 06:19   Re: [L4D2] Shove Direction Fix
Reply With Quote #16

Quote:
L 02/07/2022 - 18:13:06: Info (map "c1m1_hotel") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\logs\error s_20220207.log")
L 02/07/2022 - 18:13:06: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:06: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:06: [SM] Call stack trace:
L 02/07/2022 - 18:13:06: [SM] [0] SDKCall
L 02/07/2022 - 18:13:06: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:06: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:06: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:06: [SM] Call stack trace:
L 02/07/2022 - 18:13:06: [SM] [0] SDKCall
L 02/07/2022 - 18:13:06: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:09: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:09: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:09: [SM] Call stack trace:
L 02/07/2022 - 18:13:09: [SM] [0] SDKCall
L 02/07/2022 - 18:13:09: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:09: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:09: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:09: [SM] Call stack trace:
L 02/07/2022 - 18:13:09: [SM] [0] SDKCall
L 02/07/2022 - 18:13:09: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:10: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:10: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:10: [SM] Call stack trace:
L 02/07/2022 - 18:13:10: [SM] [0] SDKCall
L 02/07/2022 - 18:13:10: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:13: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:13: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:13: [SM] Call stack trace:
L 02/07/2022 - 18:13:13: [SM] [0] SDKCall
L 02/07/2022 - 18:13:13: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:13: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:13: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:13: [SM] Call stack trace:
L 02/07/2022 - 18:13:13: [SM] [0] SDKCall
L 02/07/2022 - 18:13:13: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:17: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:17: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:17: [SM] Call stack trace:
L 02/07/2022 - 18:13:17: [SM] [0] SDKCall
L 02/07/2022 - 18:13:17: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:21: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:21: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:21: [SM] Call stack trace:
L 02/07/2022 - 18:13:21: [SM] [0] SDKCall
L 02/07/2022 - 18:13:21: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:13:22: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:13:22: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:13:22: [SM] Call stack trace:
L 02/07/2022 - 18:13:22: [SM] [0] SDKCall
L 02/07/2022 - 18:13:22: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:130: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:130: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:130: [SM] Call stack trace:
L 02/07/2022 - 18:130: [SM] [0] SDKCall
L 02/07/2022 - 18:130: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:132: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:132: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:132: [SM] Call stack trace:
L 02/07/2022 - 18:132: [SM] [0] SDKCall
L 02/07/2022 - 18:132: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:132: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:132: [SM] Blaming: l4d2_shove_fix.smx
L 02/07/2022 - 18:132: [SM] Call stack trace:
L 02/07/2022 - 18:132: [SM] [0] SDKCall
L 02/07/2022 - 18:132: [SM] [1] Line 53, /home/forums/content/files/2/8/6/4/1/7/179374.attach::eEvent
L 02/07/2022 - 18:135: [SM] Exception reported: Invalid Handle 0 (error 4)
L 02/07/2022 - 18:135: [SM] Blaming: l4d2_shove_fix.smx
got a lot of these in error logs file
strikeraot is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 02-07-2022 , 16:48   Re: [L4D2] Shove Direction Fix
Reply With Quote #17

Quote:
Originally Posted by strikeraot View Post
got a lot of these in error logs file
I have more accurate version of this plugin. I will update it soon
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Gold Fish
Senior Member
Join Date: Mar 2020
Old 02-09-2022 , 06:54   Re: [L4D2] Shove Direction Fix
Reply With Quote #18

This plugin makes it correctly push off SI from myself?
__________________
-

PHP Code:
public OnClientConnect(int Client) {
    
KickClient(Client"sorry");


Last edited by Gold Fish; 02-09-2022 at 06:54.
Gold Fish is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 02-15-2022 , 07:17   Re: [L4D2] Shove Direction Fix
Reply With Quote #19

Quote:
Originally Posted by Gold Fish View Post
This plugin makes it correctly push off SI from myself?
I will add video soon


Updated
PHP Code:
Switched to actions extension 
__________________
cry

Last edited by BHaType; 02-15-2022 at 07:18.
BHaType is offline
Send a message via AIM to BHaType
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 02-15-2022 , 10:47   Re: [L4D2] Shove Direction Fix
Reply With Quote #20

great! i'll give it a try right now

Last edited by strikeraot; 02-15-2022 at 10:47.
strikeraot is offline
Reply


Thread Tools
Display Modes

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 10:48.


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