Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › C++/C Programming › Hack not working, code error I think

Hack not working, code error I think

Posts 1–3 of 3 · Page 1 of 1
myonemanga
myonemanga
Hack not working, code error I think
The hack I made happens to be not working. I didn't really make it as much as copy and paste but I know a bit of c++ anyways. Here is code, I am using tom's injector that was just released. When I open warrock and everything nothing happens but when I get in a game warrock closes. Help?

Code (also tell me if this is right current addies, should be)

//
#include <stdio.h>
#include <windows.h>
//
// Addresses
#define Playerpointer 0x00CD98C0
#define Serverpointer 0x00BE2A30
#define OFF_NFD 0x00000320
#define OFS_STAMINA 0x00B18425
#define OFS_Z 0x0000025C
// End Addresses
/////////////////
DWORD *ingame= (DWORD*)Playerpointer;
DWORD *megame= (DWORD*)Serverpointer;
////////////////

// HACK CODES //

void Stamina()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_STAMINA) = 100;
}
}

void Jump()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 2500;
}
}
}

void NFD()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFF_NFD) = -20000;
}
}

void HackThread()
{
for(;
{
if(*ingame) //check if we are ingame.. prevent crashs
{
NFD();
Jump();
Stamina();
}
if(*megame)
{
// Add the PX Items here.

}
Sleep(200); //prevent for overloading the cpu
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0); //create the hackthread
}
return TRUE;
}



Ty and hope this is right section
#1 · 16y ago
FE
Felipeb18
I think u need a bypass.
#2 · 16y ago
Hell_Demon
Hell_Demon
I think you need to f*ck off and learn C++ first
#3 · 16y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • [ERROR] NumPad Key Hack not working, but others do..By hgmf8124 in Combat Arms Hack Coding / Programming / Source Code
    15Last post 16y ago
  • hack not working [source code included]By kibbles18 in WarRock Hack Source Code
    7Last post 15y ago
  • (Source Code included)Hack not workingBy johnnydicamillo in WarRock Hack Source Code
    9Last post 15y ago
  • [Help] My hacks not workingBy ilovepie21 in Visual Basic Programming
    4Last post 18y ago
  • Hacks not workingBy crazy4her in WarRock - International Hacks
    12Last post 19y ago

Tags for this Thread

None