Solved Write to pointer + offset

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat
Status
Not open for further replies.

petruherro

Newbie
Full Member
Mar 10, 2016
17
104
0
It seems i can't write to a address when i have the pointer + offset, i try to do the following:
C++:
if (WriteProcessMemory(handle, (LPVOID)(0xB6F5F0 + 0x540), (LPCVOID)250, sizeof(int), NULL)){
					MessageBoxA(0, "Works", "Works", MB_OK);
				}
When i use the address that Cheat Engine provides me ( the pointer + offset combined ) it works :\

(0xB6F5F0 + 0x540) -- > pointer & offset
 
Status
Not open for further replies.
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