From 0718e27cd072b3767269b96efe44641fca65bc82 Mon Sep 17 00:00:00 2001 From: Intop <78622918+Intoprelised@users.noreply.github.com> Date: Fri, 27 Aug 2021 20:45:30 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20Velocity=20Signature=20=F0=9F=98=8E=20(#4?= =?UTF-8?q?478)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Memory/Hooks.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Memory/Hooks.cpp b/Memory/Hooks.cpp index 3fe6fe52..38f58608 100644 --- a/Memory/Hooks.cpp +++ b/Memory/Hooks.cpp @@ -951,10 +951,8 @@ void Hooks::Actor_lerpMotion(C_Entity* _this, vec3_t motVec) { static auto noKnockbackmod = moduleMgr->getModule(); if (noKnockbackmod->isEnabled()) { static void* networkSender = nullptr; - - if (!networkSender) { - networkSender = reinterpret_cast(3 + FindSignature("FF 50 ? 41 80 BE ? ? ? ? ? 0F 85 ? ? ? ? EB 76")); - } + if (!networkSender) + networkSender = reinterpret_cast(9 + FindSignature("48 8B CB FF ?? ?? ?? ?? 00 C6 47 ?? 01 48 8B 5C 24")); if (networkSender == _ReturnAddress()) { motVec = _this->velocity.lerp(motVec, noKnockbackmod->xModifier, noKnockbackmod->yModifier, noKnockbackmod->xModifier);