CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Other Games
Assault Cube Internal Hack Source
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="WoodenFloorBoard" data-source="post: 2293" data-attributes="member: 25"><p>Hi guys! Whilst learning some new ways about doing this, I decided to try and I've successfully made a hack using classes! I hope you enjoy!</p><p>[CODE]</p><p>#include <Windows.h></p><p>#include <iostream></p><p></p><p>using namespace std;</p><p></p><p>bool healthStatus = false;</p><p>bool armourStatus = false;</p><p></p><p>class myPlayer;</p><p></p><p>class myPlayer</p><p>{</p><p>public:</p><p> char pad_0x0000[0xF8]; //0x0000</p><p> __int32 health; //0x00F8 </p><p> __int32 armour; //0x00FC </p><p></p><p>};//Size=0x0100</p><p></p><p>myPlayer * localPlayer = (myPlayer*)*(DWORD*)(0x50F4F4);</p><p></p><p>DWORD AyyLmao()</p><p>{</p><p> while (true)</p><p> {</p><p> if (GetAsyncKeyState(VK_F1))</p><p> healthStatus != healthStatus;</p><p></p><p> if (GetAsyncKeyState(VK_F2))</p><p> armourStatus != armourStatus;</p><p></p><p> if (GetAsyncKeyState(VK_F12))</p><p> MessageBoxA(NULL, "[F1] -> Freeze Health\n[F2] -> Freeze Armour", "CONTROLS", MB_OK);</p><p></p><p></p><p> if (healthStatus)</p><p> localPlayer->health = 999;</p><p> else</p><p> localPlayer->health = 100;</p><p></p><p></p><p> if (armourStatus)</p><p> localPlayer->armour = 999;</p><p> else</p><p> localPlayer->armour = 100;</p><p></p><p> Sleep(150);</p><p> }</p><p>}</p><p></p><p>BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)</p><p>{</p><p> switch (dwReason)</p><p> {</p><p> case DLL_PROCESS_ATTACH:</p><p> CreateThread(0, 0, (LPTHREAD_START_ROUTINE)AyyLmao, 0, 0, 0);</p><p> }</p><p> return TRUE;</p><p>}</p><p>[/CODE]</p><p><span style="color: #ff0000"><strong><u>NOTE: In order to use this source, you need to be able to compile it using an IDE such as Visual Studio, etc...</u></strong></span></p></blockquote><p></p>
[QUOTE="WoodenFloorBoard, post: 2293, member: 25"] Hi guys! Whilst learning some new ways about doing this, I decided to try and I've successfully made a hack using classes! I hope you enjoy! [CODE] #include <Windows.h> #include <iostream> using namespace std; bool healthStatus = false; bool armourStatus = false; class myPlayer; class myPlayer { public: char pad_0x0000[0xF8]; //0x0000 __int32 health; //0x00F8 __int32 armour; //0x00FC };//Size=0x0100 myPlayer * localPlayer = (myPlayer*)*(DWORD*)(0x50F4F4); DWORD AyyLmao() { while (true) { if (GetAsyncKeyState(VK_F1)) healthStatus != healthStatus; if (GetAsyncKeyState(VK_F2)) armourStatus != armourStatus; if (GetAsyncKeyState(VK_F12)) MessageBoxA(NULL, "[F1] -> Freeze Health\n[F2] -> Freeze Armour", "CONTROLS", MB_OK); if (healthStatus) localPlayer->health = 999; else localPlayer->health = 100; if (armourStatus) localPlayer->armour = 999; else localPlayer->armour = 100; Sleep(150); } } BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) { switch (dwReason) { case DLL_PROCESS_ATTACH: CreateThread(0, 0, (LPTHREAD_START_ROUTINE)AyyLmao, 0, 0, 0); } return TRUE; } [/CODE] [COLOR=#ff0000][B][U]NOTE: In order to use this source, you need to be able to compile it using an IDE such as Visual Studio, etc...[/U][/B][/COLOR] [/QUOTE]
Verification
Post reply
Forums
Gaming
Other Games
Assault Cube Internal Hack Source
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top