From 440758ef41f512e28a639df1598b684e971ef72f Mon Sep 17 00:00:00 2001 From: invoker__qq <478880214@qq.com> Date: Wed, 27 Nov 2024 21:08:45 +0800 Subject: [PATCH] chore: update buttons.hpp file name. Signed-off-by: invoker__qq <478880214@qq.com> --- external-cheat-base/button.hpp | 28 ------------------- external-cheat-base/esp.hpp | 2 +- .../external-cheat-base.vcxproj | 2 +- .../external-cheat-base.vcxproj.filters | 2 +- external-cheat-base/update_offset.bat | 4 +-- 5 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 external-cheat-base/button.hpp diff --git a/external-cheat-base/button.hpp b/external-cheat-base/button.hpp deleted file mode 100644 index efdc190..0000000 --- a/external-cheat-base/button.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// Generated using https://github.com/a2x/cs2-dumper -// 2024-11-16 00:04:35.779704300 UTC - -#pragma once - -#include - -namespace cs2_dumper { - // Module: client.dll - namespace buttons { - constexpr std::ptrdiff_t attack = 0x184C4E0; - constexpr std::ptrdiff_t attack2 = 0x184C570; - constexpr std::ptrdiff_t back = 0x184C7B0; - constexpr std::ptrdiff_t duck = 0x184CA80; - constexpr std::ptrdiff_t forward = 0x184C720; - constexpr std::ptrdiff_t jump = 0x184C9F0; - constexpr std::ptrdiff_t left = 0x184C840; - constexpr std::ptrdiff_t lookatweapon = 0x1A5C160; - constexpr std::ptrdiff_t reload = 0x184C450; - constexpr std::ptrdiff_t right = 0x184C8D0; - constexpr std::ptrdiff_t showscores = 0x1A5C040; - constexpr std::ptrdiff_t sprint = 0x184C3C0; - constexpr std::ptrdiff_t turnleft = 0x184C600; - constexpr std::ptrdiff_t turnright = 0x184C690; - constexpr std::ptrdiff_t use = 0x184C960; - constexpr std::ptrdiff_t zoom = 0x1A5C0D0; - } -} diff --git a/external-cheat-base/esp.hpp b/external-cheat-base/esp.hpp index 31429a9..b9ad683 100644 --- a/external-cheat-base/esp.hpp +++ b/external-cheat-base/esp.hpp @@ -5,7 +5,7 @@ #include"renderer/renderer.h" #include"client_dll.hpp" #include"offsets.hpp" -#include "button.hpp" +#include "buttons.hpp" extern uint32_t WIDTH; extern uint32_t HEIGHT; diff --git a/external-cheat-base/external-cheat-base.vcxproj b/external-cheat-base/external-cheat-base.vcxproj index cb72031..f41d46b 100644 --- a/external-cheat-base/external-cheat-base.vcxproj +++ b/external-cheat-base/external-cheat-base.vcxproj @@ -140,7 +140,7 @@ - + diff --git a/external-cheat-base/external-cheat-base.vcxproj.filters b/external-cheat-base/external-cheat-base.vcxproj.filters index edaae9e..14bba9a 100644 --- a/external-cheat-base/external-cheat-base.vcxproj.filters +++ b/external-cheat-base/external-cheat-base.vcxproj.filters @@ -33,7 +33,7 @@ Header Files - + Header Files diff --git a/external-cheat-base/update_offset.bat b/external-cheat-base/update_offset.bat index b03fd68..669f1c8 100644 --- a/external-cheat-base/update_offset.bat +++ b/external-cheat-base/update_offset.bat @@ -7,8 +7,8 @@ curl -o offsets.hpp https://raw.githubusercontent.com/a2x/cs2-dumper/refs/heads/ echo Updating client_dll.hpp... curl -o client_dll.hpp https://raw.githubusercontent.com/a2x/cs2-dumper/refs/heads/main/output/client_dll.hpp -echo Updating button.hpp... -curl -o button.hpp https://raw.githubusercontent.com/a2x/cs2-dumper/refs/heads/main/output/buttons.hpp +echo Updating buttons.hpp... +curl -o buttons.hpp https://raw.githubusercontent.com/a2x/cs2-dumper/refs/heads/main/output/buttons.hpp echo Update complete. endlocal