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 › MultiPlayer Game Hacks & Cheats › Other Semi-Popular First Person Shooter Hacks › WarRock - International Hacks › WarRock Hack Source Code › hack not working [source code included]

hack not working [source code included]

Posts 1–8 of 8 · Page 1 of 1
KI
kibbles18
hack not working [source code included]
ok, so i just learned alot of c++ in the past few months, and i tryed to make a DLL hack. here is the code:
Code:
#include <windows.h>
#include <stdio.h>
#define OFS_Z 0x00102D8
#define ADR_PLAYERPTR 0x00D284E8
#define OFS_NFD 0x00103A4

void superjump()
{
	while(1)
	{
		*(float*)(dwPlayerPtr+OFS_NFD)=-20000; //NFD
		if(GetAsyncKeyState(VK_CONTROL)&1)
		{
			DWORD dwPlayerPtr=*(DWORD*)ADR_PLAYERPTR;
			if(dwPlayerPtr!=0)
			{
				*(float*)(dwPlayerPtr+OFS_Z)=500; //SUPERJUMP
			}
		}
	}
}

BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved) /*Basic Function. */
{
   if(dwReason == DLL_PROCESS_ATTACH) /*Here is "tested" if the dll has been attached.*/
   {
        CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)superjump, NULL, NULL, NULL); //create the new Thread (run superjump)
   }
return TRUE;
}
for some reason it wont let me superjump. are the addies outdated? any help appreciated
RESOLVED - THANKS CYBER 4 ADDYS
CLOSE
#1 · edited 15y ago · 15y ago
TGH Zero.
TGH Zero.
addys seems rights, but even my hack dont work (?) I should make a thread too... Mine just warrock closes...
#2 · 15y ago
CY
CyberRazzer
PlayerPointer is Old...
#3 · 15y ago
KI
kibbles18
Quote Originally Posted by CyberRazzer View Post
PlayerPointer is Old...
nope... updated to yours lol
#4 · 15y ago
AeroMan
AeroMan
its not working because while is not a function you can user by hooking, only if you define your while

if you make it like this it will work
Remove (while)
Code:
#include <windows.h>
#include <stdio.h>
#define OFS_Z 0x000102D8
#define ADR_PLAYERPTR 0xA71030
#define OFS_NFD 0x000103A4

void superjump()
	{
		*(float*)(dwPlayerPtr+OFS_NFD)=-20000; //NFD
		if(GetAsyncKeyState(VK_CONTROL)&1)
		{
			DWORD dwPlayerPtr=*(DWORD*)ADR_PLAYERPTR;
			if(dwPlayerPtr!=0)
			{
				*(float*)(dwPlayerPtr+OFS_Z) = 500; //SUPERJUMP
		}
	}
}

BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved) /*Basic Function. */
{
   if(dwReason == DLL_PROCESS_ATTACH) /*Here is "tested" if the dll has been attached.*/
   {
        CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)superjump, NULL, NULL, NULL); //create the new Thread (run superjump)
   }
return TRUE;
}
#5 · 15y ago
YA
YaZZn™
Code:
#include <windows.h>
#include <stdio.h>
#define OFS_Z 0x00102D8
#define ADR_PLAYERPTR 0x00D284E8
#define OFS_NFD 0x00103A4

void superjump()
{
	for(;;)
	{
		*(float*)(dwPlayerPtr+OFS_NFD)=-20000; //NFD
		if(GetAsyncKeyState(VK_CONTROL)&1)
		{
			DWORD dwPlayerPtr=*(DWORD*)ADR_PLAYERPTR;
			if(dwPlayerPtr!=0)
			{
				*(float*)(dwPlayerPtr+OFS_Z)=500; //SUPERJUMP
			}
		}
	}
}

BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved) /*Basic Function. */
{
   if(dwReason == DLL_PROCESS_ATTACH) /*Here is "tested" if the dll has been attached.*/
   {
        CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)superjump, NULL, NULL, NULL); //create the new Thread (run superjump)
   }
return TRUE;
}
Best Regards,
Yazzn™
#6 · 15y ago
GO
goldilocks24
well it seems that the "dwPlayerPtr"" is giving you the prob it needs to be able to be defined
#7 · 15y ago
KI
kibbles18
this was fixed a few days ago.. read the whole post
#8 · 15y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Tags for this Thread

None