Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 12b7147

Browse files
committed
update cs2 game offsets
1 parent e9471f7 commit 12b7147

File tree

9 files changed

+62
-57
lines changed

9 files changed

+62
-57
lines changed

CHANGELOG.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
## Changes📣
22

3-
最近更新于2024年05月03日 15:27
3+
最近更新于2024年05月08日 21:05
44

5-
- fixed 5月3日cs2官方游戏更新后的offsets同步问题
5+
- fixed 5月8日cs2官方游戏更新后的offsets同步问题
6+
- Todo: 开枪射击的后座力补偿算法
67

78
## Features
89

CS2CheatCpp/CS2_Cheat_Log.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
[Tip]: After running this program, please make sure to read the software usage instructions. If it doesn't work, please copy this log file record to the GitHub repository and submit an issue, or directly contact the author via WeChat at yl1099129793. The author has limited capacity and cannot synchronously update CS2 game patch. If urgently needed, you can fork this repository and modify offsets to build with the latest value.
1+
After running this software, please make sure to read the software usage instructions!
2+
If you are stuck in the use of the software, please update the latest offsets value which located sdk folder or submit an issue on Github!
3+
Support me? You can scan the WeiChat pay QR code or concat me yl1099129793. Thank you for your support!
24

3-
[2024/05/05 15:32:03] cs2.exe's process id located at14268
4-
[2024/05/05 15:32:03] client.dll -> 0x7ffbc4000000
5+
[2024/05/08 21:20:56] cs2.exe's process id located at 7552
6+
[2024/05/08 21:20:56] client.dll -> 0x7ffe8b5d0000

CS2CheatCpp/SDK/buttons.hpp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Generated using https://github.com/a2x/cs2-dumper
2-
// 2024-05-03 00:11:19.220511700 UTC
2+
// 2024-05-08 03:42:33.508076800 UTC
33

44
#pragma once
55

@@ -8,21 +8,21 @@
88
namespace cs2_dumper {
99
// Module: client.dll
1010
namespace buttons {
11-
constexpr std::ptrdiff_t attack = 0x1736410;
12-
constexpr std::ptrdiff_t attack2 = 0x17364A0;
13-
constexpr std::ptrdiff_t back = 0x17366E0;
14-
constexpr std::ptrdiff_t duck = 0x17369B0;
15-
constexpr std::ptrdiff_t forward = 0x1736650;
16-
constexpr std::ptrdiff_t jump = 0x1736920;
17-
constexpr std::ptrdiff_t left = 0x1736770;
18-
constexpr std::ptrdiff_t lookatweapon = 0x1932A30;
19-
constexpr std::ptrdiff_t reload = 0x1736380;
20-
constexpr std::ptrdiff_t right = 0x1736800;
21-
constexpr std::ptrdiff_t showscores = 0x1932910;
22-
constexpr std::ptrdiff_t sprint = 0x17362F0;
23-
constexpr std::ptrdiff_t turnleft = 0x1736530;
24-
constexpr std::ptrdiff_t turnright = 0x17365C0;
25-
constexpr std::ptrdiff_t use = 0x1736890;
26-
constexpr std::ptrdiff_t zoom = 0x19329A0;
11+
constexpr std::ptrdiff_t attack = 0x17343D0;
12+
constexpr std::ptrdiff_t attack2 = 0x1734460;
13+
constexpr std::ptrdiff_t back = 0x17346A0;
14+
constexpr std::ptrdiff_t duck = 0x1734970;
15+
constexpr std::ptrdiff_t forward = 0x1734610;
16+
constexpr std::ptrdiff_t jump = 0x17348E0;
17+
constexpr std::ptrdiff_t left = 0x1734730;
18+
constexpr std::ptrdiff_t lookatweapon = 0x1930B50;
19+
constexpr std::ptrdiff_t reload = 0x1734340;
20+
constexpr std::ptrdiff_t right = 0x17347C0;
21+
constexpr std::ptrdiff_t showscores = 0x1930A30;
22+
constexpr std::ptrdiff_t sprint = 0x17342B0;
23+
constexpr std::ptrdiff_t turnleft = 0x17344F0;
24+
constexpr std::ptrdiff_t turnright = 0x1734580;
25+
constexpr std::ptrdiff_t use = 0x1734850;
26+
constexpr std::ptrdiff_t zoom = 0x1930AC0;
2727
}
2828
}

CS2CheatCpp/SDK/client.dll.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Generated using https://github.com/a2x/cs2-dumper
2-
// 2024-05-03 00:11:19.220511700 UTC
2+
// 2024-05-08 03:42:33.508076800 UTC
33

44
#pragma once
55

CS2CheatCpp/SDK/offsets.hpp

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Generated using https://github.com/a2x/cs2-dumper
2-
// 2024-05-03 14:01:03.443608 UTC
2+
// 2024-05-08 03:42:33.508076800 UTC
33

44
#pragma once
55

@@ -9,36 +9,36 @@ namespace cs2_dumper {
99
namespace offsets {
1010
// Module: client.dll
1111
namespace client_dll {
12-
constexpr std::ptrdiff_t dwCSGOInput = 0x1932B10;
13-
constexpr std::ptrdiff_t dwEntityList = 0x18C9E78;
14-
constexpr std::ptrdiff_t dwGameEntitySystem = 0x19E75C0;
12+
constexpr std::ptrdiff_t dwCSGOInput = 0x1930C30;
13+
constexpr std::ptrdiff_t dwEntityList = 0x18C7F88;
14+
constexpr std::ptrdiff_t dwGameEntitySystem = 0x19E56E0;
1515
constexpr std::ptrdiff_t dwGameEntitySystem_getHighestEntityIndex = 0x1510;
16-
constexpr std::ptrdiff_t dwGameRules = 0x1926DD0;
17-
constexpr std::ptrdiff_t dwGlobalVars = 0x1730F20;
18-
constexpr std::ptrdiff_t dwGlowManager = 0x19271F0;
19-
constexpr std::ptrdiff_t dwLocalPlayerController = 0x1919588;
20-
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x173D5A8;
21-
constexpr std::ptrdiff_t dwPlantedC4 = 0x192FFB8;
22-
constexpr std::ptrdiff_t dwPrediction = 0x173D470;
23-
constexpr std::ptrdiff_t dwSensitivity = 0x1927B18;
16+
constexpr std::ptrdiff_t dwGameRules = 0x1924EE0;
17+
constexpr std::ptrdiff_t dwGlobalVars = 0x172EEE0;
18+
constexpr std::ptrdiff_t dwGlowManager = 0x1925300;
19+
constexpr std::ptrdiff_t dwLocalPlayerController = 0x1917698;
20+
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x173B568;
21+
constexpr std::ptrdiff_t dwPlantedC4 = 0x192E0D8;
22+
constexpr std::ptrdiff_t dwPrediction = 0x173B430;
23+
constexpr std::ptrdiff_t dwSensitivity = 0x1925C28;
2424
constexpr std::ptrdiff_t dwSensitivity_sensitivity = 0x40;
25-
constexpr std::ptrdiff_t dwViewAngles = 0x1937EA0;
26-
constexpr std::ptrdiff_t dwViewMatrix = 0x192B310;
27-
constexpr std::ptrdiff_t dwViewRender = 0x192BB10;
28-
constexpr std::ptrdiff_t dwWeaponC4 = 0x18CD2D0;
25+
constexpr std::ptrdiff_t dwViewAngles = 0x1935FC0;
26+
constexpr std::ptrdiff_t dwViewMatrix = 0x1929420;
27+
constexpr std::ptrdiff_t dwViewRender = 0x1929C20;
28+
constexpr std::ptrdiff_t dwWeaponC4 = 0x18CB3E0;
2929
}
3030
// Module: engine2.dll
3131
namespace engine2_dll {
32-
constexpr std::ptrdiff_t dwBuildNumber = 0x518764;
33-
constexpr std::ptrdiff_t dwEngineViewData = 0x5CD76C;
34-
constexpr std::ptrdiff_t dwNetworkGameClient = 0x517B08;
32+
constexpr std::ptrdiff_t dwBuildNumber = 0x516734;
33+
constexpr std::ptrdiff_t dwEngineViewData = 0x5CB8CC;
34+
constexpr std::ptrdiff_t dwNetworkGameClient = 0x515AD8;
3535
constexpr std::ptrdiff_t dwNetworkGameClient_deltaTick = 0x258;
3636
constexpr std::ptrdiff_t dwNetworkGameClient_getLocalPlayer = 0xF0;
3737
constexpr std::ptrdiff_t dwNetworkGameClient_getMaxClients = 0x250;
3838
constexpr std::ptrdiff_t dwNetworkGameClient_signOnState = 0x240;
39-
constexpr std::ptrdiff_t dwSoundService = 0x5CD6D0;
40-
constexpr std::ptrdiff_t dwWindowHeight = 0x5D109C;
41-
constexpr std::ptrdiff_t dwWindowWidth = 0x5D1098;
39+
constexpr std::ptrdiff_t dwSoundService = 0x5CB830;
40+
constexpr std::ptrdiff_t dwWindowHeight = 0x5CF1FC;
41+
constexpr std::ptrdiff_t dwWindowWidth = 0x5CF1F8;
4242
}
4343
// Module: inputsystem.dll
4444
namespace inputsystem_dll {

CS2CheatCpp/imgui.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Pos=60,60
33
Size=296,50
44

55
[Window][CS2 ESP Cheat]
6-
Pos=547,160
6+
Pos=280,284
77
Size=712,545
88

99
[Window][CS2]

CS2CheatCpp/src/gui.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ void gui::Render() noexcept
277277
ImGui::Begin("watermark", 0, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoTitleBar);
278278
ImGui::Text("yinlei | %s", std::ctime(&end_time));
279279
ImGui::End();
280+
280281
if (menuToggle) {
281282
// 更新当前玩家最大速度
282283
if (speed > maxSpeed) {

CS2CheatCpp/src/main.cpp

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,14 @@
2323

2424
using namespace cs2_dumper;
2525

26-
struct C_UTL_VECTOR
27-
{
28-
DWORD_PTR count = 0;
29-
DWORD_PTR data = 0;
30-
};
31-
32-
3326
INT APIENTRY WinMain(HINSTANCE instance, HINSTANCE, PSTR, INT cmd_show)
3427
{
35-
std::string logFileName = "CS2_Cheat_Log.txt";
28+
std::string logFileName = "cs2_cheat_log.txt";
3629
std::ofstream fout(logFileName);
3730
fout.seekp(std::ios::beg);
38-
fout << "[Tip]: After running this program, please make sure to read the software usage instructions. If it doesn't work, please copy this log file record to the GitHub repository and submit an issue, or directly contact the author via WeChat at yl1099129793. The author has limited capacity and cannot synchronously update CS2 game patch. If urgently needed, you can fork this repository and modify offsets to build with the latest value." << std::endl;
31+
fout << "After running this software, please make sure to read the software usage instructions!" << std::endl;
32+
fout << "If you are stuck in the use of the software, please update the latest offsets value which located sdk folder or submit an issue on Github!" << std::endl;
33+
fout << "Support me? You can scan the WeiChat pay QR code or concat me yl1099129793. Thank you for your support!" << std::endl;
3934
fout << std::endl;
4035

4136
auto mem = Memory("cs2.exe");
@@ -50,7 +45,7 @@ INT APIENTRY WinMain(HINSTANCE instance, HINSTANCE, PSTR, INT cmd_show)
5045
}
5146
else
5247
{
53-
fout << "[" << ss.str() << "] " << "cs2.exe's process id located at" << mem.GetProcessId() << std::endl;
48+
fout << "[" << ss.str() << "] " << "cs2.exe's process id located at " << mem.GetProcessId() << std::endl;
5449
}
5550

5651
const auto client = mem.GetModuleAddress("client.dll");

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is a `CS2 ESP cheat` software written in C++.
44

5-
> Latest Update:2024.05.03 15:27
5+
> Latest Update:2024.05.08 21:05
66
77
![esp](./external.png)
88

@@ -22,6 +22,12 @@ This is a `CS2 ESP cheat` software written in C++.
2222

2323
## Download
2424

25+
```
26+
必看:如果您下载了软件运行后却没有效果,请务必安装Microsoft DirectX 11,且大多数原因是因为Offsets过时了。作者目前没有时间和精力同步更新cs2游戏的offsets,您可以选择自行构建,或者等待作者空余时间编写自动化脚本及时同步构建。
27+
若自行本地构建,请修改sdk文件夹下的offsets.hpp、client.dll.hpp、buttons.hpp。这3个文件的链接我已经贴到了下面的Build章节,请自行动手,
28+
目前作者随缘不及时更新维护,但一定会在每次游戏更新后不久内更新。重点将放在Internal、Knernal Driver以及和平精英手游的作弊软件开发,敬请期待,感谢您的支持!
29+
```
30+
2531
See [Releases page](https://github.com/yinleiCoder/cs2-cheat-cpp/releases) for decorated Changelogs. Reading the changelogs is a good way to keep up to date with the things `CS2CheatCPP` has to offer, and maybe will give you ideas of some features that you've been ignoring until now!
2632

2733
## Usage

0 commit comments

Comments
 (0)