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 › Why does this dont work?

Why does this dont work?

Posts 1–12 of 12 · Page 1 of 1
skulhead
skulhead
Why does this dont work?
Code:
WORD dwPlayerPtr = *(DWORD*)Addr_Playerpointer;
if(dwPlayerPtr != 0)
{
     
    float PositionY; float PositionX;float PositionZ;
	PositionX = *(float*)(dwPlayerPtr + Ofs_X);
	PositionY = *(float*)(dwPlayerPtr + Ofs_Y);
	PositionZ = *(float*)(dwPlayerPtr + Ofs_Z);
    
  if(GetAsyncKeyState(VK_F10)&1)
  {
	  float Telx = PositionX; 
	  float Tely = PositionY; 
	  float Telz = PositionZ;
  if(GetAsyncKeyState(VK_F11)&1)
  {
		*(float*)(dwPlayerPtr + Ofs_X) = Telx;
		*(float*)(dwPlayerPtr + Ofs_Y) = Tely;
		*(float*)(dwPlayerPtr + Ofs_Z) = Telz;
  }
I tryed much things for teleport but dont get it to work. One time it did work but it gived debug error that the (Telx,Tely,Telz ) dont have value or something like that I had to press 3 times ignore and then it worked.
#1 · 15y ago
blablablaido
blablablaido
because u fail in coding.
#2 · 15y ago
skulhead
skulhead
Why is that?
#3 · 15y ago
joered
joered
Skulhead you can better stop and learn something so u understand what you do.

ps: als je dat niet doet mensen gaan je niet blijven helpen met dingen. en wat shit leren is je enige optie om ooit wat te kunnen coden.
#4 · 15y ago
larta
larta
So, declar you variables on the top of your prog :

Code:
#define ...
float PositionY, PositionX, PositionZ;

// Start hacks
if(dwPlayerPtr != 0)
{
     
//
}
Then remove these 3 lines :
Code:
PositionX = *(float*)(dwPlayerPtr + Ofs_X);
PositionY = *(float*)(dwPlayerPtr + Ofs_Y);
PositionZ = *(float*)(dwPlayerPtr + Ofs_Z);
And replace theses one
Code:
float Telx = PositionX; 
 float Tely = PositionY; 
 float Telz = PositionZ;
This should look like this :

Code:
// declare variables
float PositionY, PositionX, PositionZ;

//Start hacks
DWORD dwPlayerPtr = *(DWORD*)Addr_Playerpointer;
if(dwPlayerPtr != 0)
{

  if(GetAsyncKeyState(VK_F10)&1)
  {
// We take the position only when pressing F10
	PositionX = *(float*)(dwPlayerPtr + Ofs_X);
	PositionY = *(float*)(dwPlayerPtr + Ofs_Y);
	PositionZ = *(float*)(dwPlayerPtr + Ofs_Z);
 }
    
  if(GetAsyncKeyState(VK_F11)&1)
  {
// The playerPosition will be the one we took before
		*(float*)(dwPlayerPtr + Ofs_X) = PositionX;
		*(float*)(dwPlayerPtr + Ofs_Y) = PositionY;
		*(float*)(dwPlayerPtr + Ofs_Z) = PositionZ;
  }
}
In your code, the player position were always checked. So, TelePOS = ActualPOS ( in fact, in your code ). So you pressed F11, you player didn't move.

This should work now
#5 · 15y ago
skulhead
skulhead
Yeah, ty! Great help

It gives debug error but when I press ignore it works. :S
#6 · edited 15y ago · 15y ago
larta
larta
What errors does it gives ?
Only warning no ?
#7 · 15y ago
skulhead
skulhead
When I am ingame it gives warning, but it works when I press ignore.
#8 · 15y ago
larta
larta
Ok so don't care about it ^^
#9 · 15y ago
skulhead
skulhead
Yeah but can I change settings in compiler to get this away?
#10 · 15y ago
larta
larta
Hmm

You are compiling in Release Mode ? Or Debug Mode?

( And, I realise, i didn't understand xhat you mean By "ingame it gives me warning" How should the dll give you warning ? )
#11 · 15y ago
skulhead
skulhead
It gives debug error.
#12 · 15y ago
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Tags for this Thread

None