-
Notifications
You must be signed in to change notification settings - Fork 4
/
HACKING.txt
52 lines (37 loc) · 1.54 KB
/
HACKING.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Important functions
===================
1.EndScene hook
---------------
file: CSGOInternal/Gateway.cc GatewayFunction() called from MainThread()
2.Main hack function
--------------------
file: CSGOInternal/MainLoop.cc MainLoop() called from GatewayFunction()
3.Aimbot angle calculation
--------------------------
file: CSGOInternal/Source SDK/Vectors.cc vecCalcAngle()
Some Examples
==============
1.Adding new setting
====================
file: CSGOInternal/Settings/Settings.hpp ~ Settings.cc
Add your <type> setting in enumaration in class AppSettings
Increase/dec constants beginning of file Settings.hpp (numberOfIntSettings etc.)
You can add new type.
Maybe edit parseFile() in Settings.cc
Edit setDefault() in Settings.hpp
You can change settings file name in DllMain.cc SETTINGS_FILE_NAME constant.
2.Editing default virtual keys:
=================================
file: CSGOInternal/Keys.hpp
KEYS_EXIT: exit key to close hack (default:VK_END)
KEYS_TOGGLE: default key to toggle menu (default:VK_INSERT)
Project Tree
============
Dependencies/ : project dependencies currently only Directx9 SDK
Docs/ : Docs in multiple formats
Docs/html : HTML documentation
CSGOInternal/ : root directory of source
CSGOInternal/D3D9/ : Direct3D related functions
CSGOInternal/Hooks/ : Hooks definition VMT , Detour, Trampoline hook
CSGOInternal/Source SDK/ : Source Engine SDK 2013 (https://github.com/ValveSoftware/source-sdk-2013)
CSGOInternal/ImGui : ImGui sources and implementations (https://github.com/ocornut/imgui)