Updated to the last game update

This commit is contained in:
IMXNOOBX
2023-09-09 14:16:27 +02:00
parent 76bebdb342
commit 7a759438bd
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -6,9 +6,9 @@ namespace config {
extern bool read(); extern bool read();
extern void save(); extern void save();
inline std::ptrdiff_t dwLocalPlayer = 0x1714358; inline std::ptrdiff_t dwLocalPlayer = 0x17153E8;
inline std::ptrdiff_t dwEntityList = 0x1623bb8; inline std::ptrdiff_t dwEntityList = 0x167BCC8;
inline std::ptrdiff_t dwViewMatrix = 0x1714d00; inline std::ptrdiff_t dwViewMatrix = 0x1715D90;
inline std::ptrdiff_t dwPawnHealth = 0x808; inline std::ptrdiff_t dwPawnHealth = 0x808;
inline std::ptrdiff_t dwPlayerPawn = 0x5dc; inline std::ptrdiff_t dwPlayerPawn = 0x5dc;
+3 -3
View File
@@ -104,8 +104,8 @@ int main() {
wc.style = CS_HREDRAW | CS_VREDRAW; wc.style = CS_HREDRAW | CS_VREDRAW;
wc.hbrBackground = WHITE_BRUSH; wc.hbrBackground = WHITE_BRUSH;
wc.hInstance = reinterpret_cast<HINSTANCE>(GetWindowLongA(hack::process->hwnd_, (-6))); // GWL_HINSTANCE)); wc.hInstance = reinterpret_cast<HINSTANCE>(GetWindowLongA(hack::process->hwnd_, (-6))); // GWL_HINSTANCE));
wc.lpszMenuName = " "; wc.lpszMenuName = "96nasftas8f";
wc.lpszClassName = " "; wc.lpszClassName = "96nasftas8f";
RegisterClassExA(&wc); RegisterClassExA(&wc);
@@ -113,7 +113,7 @@ int main() {
// Create the window // Create the window
HINSTANCE hInstance = NULL; 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); 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) if (hWnd == NULL)