Hi,
i will prog a hack for warrock but i have a problem. i have a general question. in the list of all adresses is this the health: #define Health_Pointer 0x00C20DB4
so have i to write it this way in the prog? or so
int *pointer = 0x00C20DB4;
i will only show me the health not change only show.
this is my code:
Ask your question in German then. We have a surprising number of people who speak German here, and I'm sure HD will help you if he doesn't think you copy and paste.
Except for the fact i'm pretty sure HD speaks Dutch =)
Hi,
Ich will in einem Spiel die fürs leben verantwortliche variable nehmen und im auf hundert halten das heißt wenn es weniger wird dann wirds wieder hochgesetzt, oder wie kann man das sonst machen? Ach ja das Spielt heißt Warrock und das hat einer geschreiben das es die pointer adresse ist:
Zitat: #define Health_Pointer 0x00C20DB4
und wie soll ich das verarbeiten?
ich habe es so angefangen:
Zitat: #include <iostream> #include <string>
using namespace std;
int main (int argc, char *argv[])
{
//vorgaben
int * zeiger = 0x00C20DB4;
cout << *zeiger << endl;
system("PAUSE");
return 0;
}
ich will mir erst mal den zeiger ausgeben lassen! und dann weiter schauen aber iwie geht das net. (da kommt immer en compile error)
MFG Franz
Originally Posted by zeco
Except for the fact i'm pretty sure HD speaks Dutch =)
what are you talking about in holland we speak german
So my last post is the same in german i hope anybody can help me.
i chose for you: use unsigned long* ;p
or int*
i love unsigned shit
also dont forget this needs to be a .dll, if you want to do it externally look up Read and WriteProcessMemory.
and in .dlls you wont see the cout/printf stuff, so you should make a log file(search for add_log c++)
Thx. i know that i cant see cout in dll but i am planing to do my hack with gui and no in game menu because i dont know how to make one. what do u mean with externly?
Originally Posted by franjob
Thx. i know that i cant see cout in dll but i am planing to do my hack with gui and no in game menu because i dont know how to make one. what do u mean with externly?
if you want to read/write to memory from another exe(to make GUI easier) you use ReadProcessMemory or WriteProcessMemory
can u please say me the parameter tree of the function. antother questin i started warrock run my rpog and then my prog had an error it chrasehs?? i will only read the health points
Originally Posted by franjob
can u please say me the parameter tree of the function. antother questin i started warrock run my rpog and then my prog had an error it chrasehs?? i will only read the health points