From 552c9568ed6eb46a3c76838b660d64e811fc5a32 Mon Sep 17 00:00:00 2001 From: Mikusch Date: Fri, 2 Dec 2022 09:34:42 +0100 Subject: [PATCH] Update gamedata for 2022-12-01 TF2 update (#14) * Update signatures and offsets for TF2 VScript update * Bump version --- addons/sourcemod/gamedata/tf-bhop.txt | 14 +++++++------- addons/sourcemod/scripting/tf-bhop.sp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/sourcemod/gamedata/tf-bhop.txt b/addons/sourcemod/gamedata/tf-bhop.txt index 2ba7c04..20f10ed 100644 --- a/addons/sourcemod/gamedata/tf-bhop.txt +++ b/addons/sourcemod/gamedata/tf-bhop.txt @@ -25,7 +25,7 @@ { "library" "server" "linux" "@_ZNK9CTFPlayer10CanAirDashEv" - "windows" "\x55\x8B\xEC\x83\xEC\x08\x57\x8B\xF9\xF7\x87\x84\x1A\x00\x00\x00\x00\x04\x00" + "windows" "\x55\x8B\xEC\x83\xEC\x08\x57\x8B\xF9\xF7\x87\xB4\x1B\x00\x00\x00\x00\x04\x00" } "CAttributeManager::AttribHookValue" { @@ -37,13 +37,13 @@ { "library" "server" "linux" "@_ZN15CTFGameMovement15CheckJumpButtonEv" - "windows" "\x55\x8B\xEC\x83\xEC\x0C\x57\x8B\xF9\x8B\x47\x04\x80\xB8\x54\x0A\x00\x00\x00" + "windows" "\x55\x8B\xEC\x83\xEC\x0C\x57\x8B\xF9\x8B\x47\x04\x80\xB8\x84\x0B\x00\x00\x00" } "CTFGameMovement::PreventBunnyJumping" { "library" "server" "linux" "@_ZN15CTFGameMovement19PreventBunnyJumpingEv" - "windows" "\x56\x8B\xF1\x6A\x52\x8B\x8E\xA8\x07\x00\x00\x81\xC1\xB0\x19\x00\x00\xE8\x2A\x2A\x2A\x2A\x84\xC0\x75\x2A" + "windows" "\x56\x8B\xF1\x6A\x52\x8B\x8E\xA8\x07\x00\x00\x81\xC1\xE0\x1A\x00\x00\xE8\x2A\x2A\x2A\x2A\x84\xC0\x75\x2A" } } "Addresses" @@ -53,12 +53,12 @@ "linux" { "signature" "CTFGameMovement::CheckJumpButton" - "offset" "215" // CTFGameMovement::CheckJumpButton+D7 + "offset" "223" // CTFGameMovement::CheckJumpButton+DF } "windows" { "signature" "CTFGameMovement::CheckJumpButton" - "offset" "507" // CTFGameMovement::CheckJumpButton+1FB + "offset" "511" // CTFGameMovement::CheckJumpButton+1FF } } "MemoryPatch_AllowBunnyJumping" @@ -84,8 +84,8 @@ } "MemoryPatch_AllowBunnyJumping" { - "linux" "\xEB" // jz short -> jmp short - "windows" "\xEB" // jz short -> jmp short + "linux" "\xEB" // jnz short -> jmp short + "windows" "\xEB" // jnz short -> jmp short } } } diff --git a/addons/sourcemod/scripting/tf-bhop.sp b/addons/sourcemod/scripting/tf-bhop.sp index be7138c..91fa2ae 100644 --- a/addons/sourcemod/scripting/tf-bhop.sp +++ b/addons/sourcemod/scripting/tf-bhop.sp @@ -55,7 +55,7 @@ public Plugin myinfo = name = "[TF2] Simple Bunnyhop", author = "Mikusch", description = "Simple TF2 bunnyhopping plugin", - version = "1.5.1", + version = "1.5.2", url = "https://github.com/Mikusch/tf-bhop" }