Skip to content

Commit 7e8862d

Browse files
committed
添加github actions
1 parent 361d9bb commit 7e8862d

File tree

10 files changed

+38
-24
lines changed

10 files changed

+38
-24
lines changed

.github/workflows/cs2_msbuild.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ "main" ]
88

99
env:
10-
SOLUTION_FILE_PATH: .
10+
SOLUTION_FILE_PATH: CS2CheatCpp.sln
1111
BUILD_CONFIGURATION: Release
1212

1313
permissions:
@@ -25,6 +25,12 @@ jobs:
2525

2626
- name: Build
2727
working-directory: ${{env.GITHUB_WORKSPACE}}
28-
# Add additional options to the MSBuild command line here (like platform or verbosity level).
29-
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
30-
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=x64 ${{env.SOLUTION_FILE_PATH}}
28+
run: |
29+
msbuild -version
30+
msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform="x64" -t:rebuild -verbosity:diag ${{env.SOLUTION_FILE_PATH}}
31+
32+
- name: Show Ouput Files
33+
working-directory: ${{env.GITHUB_WORKSPACE}}
34+
run: |
35+
dir
36+
shell: cmd

CS2CheatCpp/src/main.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
namespace offsets {
1515
// offsets.hpp
16-
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x1729348;
17-
constexpr std::ptrdiff_t dwEntityList = 0x18B3FA8;
18-
constexpr std::ptrdiff_t dwViewAngles = 0x19233E0;
19-
constexpr std::ptrdiff_t dwViewMatrix = 0x19154C0;
20-
constexpr std::ptrdiff_t dwForceJump = 0x17226E0;
21-
constexpr std::ptrdiff_t dwForceAttack = 0x17221D0;
22-
constexpr std::ptrdiff_t dwGameRules = 0x1910FC0;
23-
constexpr std::ptrdiff_t dwSensitivity = 0x1911D08;
16+
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x1730118;
17+
constexpr std::ptrdiff_t dwEntityList = 0x18BBAF8;
18+
constexpr std::ptrdiff_t dwViewAngles = 0x1929730;
19+
constexpr std::ptrdiff_t dwViewMatrix = 0x191CF30;
20+
constexpr std::ptrdiff_t dwForceJump = 0x17294A0;
21+
constexpr std::ptrdiff_t dwForceAttack = 0x1728F90;
22+
constexpr std::ptrdiff_t dwGameRules = 0x1918A30;
23+
constexpr std::ptrdiff_t dwSensitivity = 0x1919778;
2424
constexpr std::ptrdiff_t dwSensitivity_sensitivity = 0x40;
2525

2626
// client.dll.hpp
@@ -29,7 +29,7 @@ namespace offsets {
2929
constexpr std::ptrdiff_t m_iTeamNum = 0x3CB; // uint8_t
3030
constexpr std::ptrdiff_t m_vOldOrigin = 0x127C; // Vector
3131
constexpr std::ptrdiff_t m_flFlashBangTime = 0x14B8; // float C_CSPlayerPawnBase { // C_BasePlayerPawn
32-
constexpr std::ptrdiff_t m_fFlags = 0x3D4; // uint32_t
32+
constexpr std::ptrdiff_t m_fFlags = 0x3D4; // uint32_t C_BaseEntity
3333
constexpr std::ptrdiff_t m_flDetectedByEnemySensorTime = 0x1440; // GameTime_t
3434
constexpr std::ptrdiff_t m_iszPlayerName = 0x638; // char[128]
3535
constexpr std::ptrdiff_t m_entitySpottedState = 0x1698; // EntitySpottedState_t C_CSPlayerPawnBase
1.22 KB
Binary file not shown.
3.52 KB
Binary file not shown.

CS2CheatCpp/x64/Release/CS2CheatCpp.log

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
 gui.cpp
2-
main.cpp
1+
 main.cpp
32
E:\VisualStudioProjects\CS2CheatCpp\CS2CheatCpp\src\vector.h(80,44): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据
43
(编译源文件“src/main.cpp”)
54

@@ -50,8 +49,17 @@ E:\VisualStudioProjects\CS2CheatCpp\CS2CheatCpp\src\main.cpp(247,20): warning C4
5049
E:\VisualStudioProjects\CS2CheatCpp\CS2CheatCpp\src\main.cpp(246,20): warning C4244: “参数”: 从“float”转换到“int”,可能丢失数据
5150
E:\VisualStudioProjects\CS2CheatCpp\CS2CheatCpp\src\main.cpp(334,25): warning C4244: “=”: 从“float”转换到“int”,可能丢失数据
5251
正在生成代码
53-
2 of 2000 functions ( 0.1%) were compiled, the rest were copied from previous compilation.
52+
26 of 2000 functions ( 1.3%) were compiled, the rest were copied from previous compilation.
5453
0 functions were new in current compilation
55-
25 functions had inline decision re-evaluated but remain unchanged
54+
28 functions had inline decision re-evaluated but remain unchanged
5655
已完成代码的生成
56+
imgui.obj : warning LNK4099: 未找到 PDB“”(使用“imgui.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
57+
imgui_demo.obj : warning LNK4099: 未找到 PDB“”(使用“imgui_demo.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
58+
imgui_draw.obj : warning LNK4099: 未找到 PDB“”(使用“imgui_draw.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
59+
imgui_impl_dx11.obj : warning LNK4099: 未找到 PDB“”(使用“imgui_impl_dx11.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
60+
imgui_impl_win32.obj : warning LNK4099: 未找到 PDB“”(使用“imgui_impl_win32.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
61+
imgui_tables.obj : warning LNK4099: 未找到 PDB“”(使用“imgui_tables.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
62+
imgui_widgets.obj : warning LNK4099: 未找到 PDB“”(使用“imgui_widgets.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
63+
gui.obj : warning LNK4099: 未找到 PDB“”(使用“gui.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
64+
memory.obj : warning LNK4099: 未找到 PDB“”(使用“memory.obj”或在“”中寻找);正在链接对象,如同没有调试信息一样
5765
CS2CheatCpp.vcxproj -> E:\VisualStudioProjects\CS2CheatCpp\x64\Release\CS2CheatCpp.exe
Binary file not shown.
Binary file not shown.

CS2CheatCpp/x64/Release/vc143.pdb

0 Bytes
Binary file not shown.

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- 方框透视
88
- 骨骼透视
9-
- 人物身体发光
9+
- 玩家身体发光
1010
- 实时显示剩余血条
1111
- 自瞄锁头并开枪射击
1212
- 枪后坐力补偿
@@ -23,12 +23,6 @@
2323

2424
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!
2525

26-
## Thanks
27-
28-
请作者喝杯咖啡?感谢您的支持!
29-
30-
![wechat](./wechat.jpg)
31-
3226
## Notices
3327

3428
- Change **LAUNCH OPTIONS** with `-insecure` mode
@@ -48,3 +42,9 @@ See [Releases page](https://github.com/yinleiCoder/cs2-cheat-cpp/releases) for
4842
- [unknowncheats](https://www.unknowncheats.me/forum/index.php)
4943
- [句柄劫持绕过反作弊系统](https://github.com/Apxaey/Handle-Hijacking-Anti-Cheat-Bypass)
5044
- and so on
45+
46+
## Thanks
47+
48+
请作者喝杯咖啡?感谢您的支持!
49+
50+
![wechat](./wechat.jpg)

x64/Release/CS2CheatCpp.pdb

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)