From 314a7fdfdb20c6e4815befc9dbba4f7ee9a15572 Mon Sep 17 00:00:00 2001 From: MisterY52 <11368116+MisterY52@users.noreply.github.com> Date: Tue, 10 Nov 2020 11:02:40 +0100 Subject: [PATCH] Updated offsets --- apex_dma/Game.cpp | 2 +- apex_dma/apex_dma.cpp | 2 +- apex_dma/offsets.h | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apex_dma/Game.cpp b/apex_dma/Game.cpp index c36e642..ef2abe9 100644 --- a/apex_dma/Game.cpp +++ b/apex_dma/Game.cpp @@ -143,7 +143,7 @@ QAngle Entity::GetRecoil() void Entity::get_name(WinProcess& mem, uint64_t g_Base, uint64_t index, char* name) { index *= 0x10; - mem.ReadMem(mem.Read(g_Base + OFFSET_NAME_LIST + index), (uint64_t)name, 33); + mem.ReadMem(mem.Read(g_Base + OFFSET_NAME_LIST + index), (uint64_t)name, 32); } bool Item::isItem() diff --git a/apex_dma/apex_dma.cpp b/apex_dma/apex_dma.cpp index 3195642..baf8057 100644 --- a/apex_dma/apex_dma.cpp +++ b/apex_dma/apex_dma.cpp @@ -140,7 +140,7 @@ void DoActions(WinProcess& mem) std::this_thread::sleep_for(std::chrono::milliseconds(1)); while (g_Base!=0 && c_Base!=0) { - std::this_thread::sleep_for(std::chrono::milliseconds(300)); + std::this_thread::sleep_for(std::chrono::milliseconds(200)); uint64_t LocalPlayer = mem.Read(g_Base + OFFSET_LOCAL_ENT); if (LocalPlayer == 0) continue; diff --git a/apex_dma/offsets.h b/apex_dma/offsets.h index 6010f83..9f6e503 100644 --- a/apex_dma/offsets.h +++ b/apex_dma/offsets.h @@ -1,6 +1,6 @@ -#define OFFSET_ENTITYLIST 0x18c6928 -#define OFFSET_LOCAL_ENT 0x1c75de8 //LocalPlayer -#define OFFSET_NAME_LIST 0x814c2b0 +#define OFFSET_ENTITYLIST 0x18c6a68 +#define OFFSET_LOCAL_ENT 0x1c75f28 //LocalPlayer +#define OFFSET_NAME_LIST 0x81507B0 #define OFFSET_TEAM 0x430 #define OFFSET_HEALTH 0x420 @@ -11,7 +11,7 @@ #define OFFSET_ZOOMING 0x1b81 //m_bZooming #define OFFSET_LIFE_STATE 0x778 //>0 = dead -#define OFFSET_BLEED_OUT_STATE 0x2620 //>0 = knocked +#define OFFSET_BLEED_OUT_STATE 0x2628 //>0 = knocked #define OFFSET_ORIGIN 0x14c //m_vecAbsOrigin #define OFFSET_BONES 0xF18 //m_bConstrainBetweenEndpoints @@ -19,11 +19,11 @@ #define OFFSET_CAMERAPOS 0x1E6C #define OFFSET_VIEWANGLES 0x24A0 #define OFFSET_BREATH_ANGLES OFFSET_VIEWANGLES - 0x10 -#define OFFSET_OBSERVER_MODE 0x32d4 -#define OFFSET_OBSERVING_TARGET 0x32d8 +#define OFFSET_OBSERVER_MODE 0x32dc +#define OFFSET_OBSERVING_TARGET 0x32e0 #define OFFSET_MATRIX 0x1b3bd0 -#define OFFSET_RENDER 0x4072958 +#define OFFSET_RENDER 0x4076a58 #define OFFSET_WEAPON 0x1a0c //m_latestPrimaryWeapons #define OFFSET_BULLET_SPEED 0x1e1c