Solved C++ Trainer Tutorial

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Father_DeadBytes

Newbie
Full Member
Nov 3, 2013
26
232
0
Hello, Iam having trouble while following Fleep's trainer tutorial. I was doing it with Cubeworld and the FindDMAAddy function is giving me different values than Cheat Engine is, and writing to it does not produce a result. I made sure the correct level was applied. What am I doing wrong?

My code can by found here: https://pastebin.com/QLk12XUi

Thanks in advance
 

kaz

Coder
Full Member
Nobleman
Apr 3, 2013
160
1,183
7
Try adding it like this;
C++:
DWORD b;
DWORD one;
int two;

ReadProcessMemory(hProcHandle,(LPCVOID)0x36B1C8,&b,sizeof(DWORD),NULL);//0x39C//0x194
ReadProcessMemory(hProcHandle,(LPCVOID)(b+0x39C),&one,sizeof(DWORD),NULL);
ReadProcessMemory(hProcHandle,(LPCVOID)(one+0x194),&two,sizeof(int),NULL);


cout << "XPNum is : " << two << endl;
Use this to prove if it prints the same number

Can you type or post an image of the cheat engine or whatever you're using of it?
you might have the wrong offsets.
 

Father_DeadBytes

Newbie
Full Member
Nov 3, 2013
26
232
0
See the attached Cheat Table. Also, that method gave me an incorrect number. Not only that, but it differed from the one Fleep's function gave me.
 
Last edited:

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
You seem to be reading at 0x0036B1C8 as pointer address but it's "Cube.exe"+0036B1C8. Should fix it.. Get the baseaddress of Cube.exe before and then add them..
 

Father_DeadBytes

Newbie
Full Member
Nov 3, 2013
26
232
0
So do I add "Cube.exe"+0036B1C8 as an address and then copy the address that cheatengine puts out?

Edit: As it turns out, yes. Thanks for the help!
 
Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods