Hey folks.
I'm wanting to make a simple program to read the amount of gold my character has in game and display it.
I know how to program in C++ and C#, but I fail epicly with this memory stuff...
Using Cheat Engine I can easily find the address where the value of gold is stored, but it changes every time a new game is made. From what I've read I need to find some pointer to it - and I've followed many tutorials on finding pointers using CE but always end up with something that doesn't work.
I know how to read a value using ReadProcessMemory. I was finding the Diablo III process then process.MainModule.BaseAddress and adding the addresses from cheat engine in different ways trying to get one that matched and they never ever come close (like it saying I have 77 gold when I have millions).
What kind of stupid noob mistakes am I making to keep messing this up? Or rather.. How would I go about doing this in a way that actually works?