diff --git a/memory-external/classes/config.hpp b/memory-external/classes/config.hpp index 9aad61d..adad18d 100644 --- a/memory-external/classes/config.hpp +++ b/memory-external/classes/config.hpp @@ -6,9 +6,9 @@ namespace config { extern bool read(); extern void save(); - inline std::ptrdiff_t dwLocalPlayer = 0x1714358; - inline std::ptrdiff_t dwEntityList = 0x1623bb8; - inline std::ptrdiff_t dwViewMatrix = 0x1714d00; + inline std::ptrdiff_t dwLocalPlayer = 0x17153E8; + inline std::ptrdiff_t dwEntityList = 0x167BCC8; + inline std::ptrdiff_t dwViewMatrix = 0x1715D90; inline std::ptrdiff_t dwPawnHealth = 0x808; inline std::ptrdiff_t dwPlayerPawn = 0x5dc; diff --git a/memory-external/main.cpp b/memory-external/main.cpp index 7841368..7cf20b4 100644 --- a/memory-external/main.cpp +++ b/memory-external/main.cpp @@ -104,8 +104,8 @@ int main() { wc.style = CS_HREDRAW | CS_VREDRAW; wc.hbrBackground = WHITE_BRUSH; wc.hInstance = reinterpret_cast(GetWindowLongA(hack::process->hwnd_, (-6))); // GWL_HINSTANCE)); - wc.lpszMenuName = " "; - wc.lpszClassName = " "; + wc.lpszMenuName = "96nasftas8f"; + wc.lpszClassName = "96nasftas8f"; RegisterClassExA(&wc); @@ -113,7 +113,7 @@ int main() { // Create the window HINSTANCE hInstance = NULL; - HWND hWnd = CreateWindowExA(WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_LAYERED | WS_EX_TOOLWINDOW, " ", "cs2-external-esp", WS_POPUP, + HWND hWnd = CreateWindowExA(WS_EX_TRANSPARENT | WS_EX_TOPMOST | WS_EX_LAYERED | WS_EX_TOOLWINDOW, "96nasftas8f", "96nasftas8f-esp", WS_POPUP, g::gameBounds.left, g::gameBounds.top, g::gameBounds.right - g::gameBounds.left, g::gameBounds.bottom + g::gameBounds.left, NULL, NULL, hInstance, NULL); // NULL, NULL); if (hWnd == NULL)