OldSchoolHack

Registrieren / Anmelden Deutsch

[VB.NET][Help] Create a wallhack in vb.net

icon Thema: [VB.NET][Help] Create a wallhack in vb.net

Anmeldungsdatum: Jun 2011

Beiträge: 490

Benutzer-Bewertung:

12 positiv
0 negativ
Zitat
ReadProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "2", "0")
With that Code-Snippet you just read out the adress. If you want to change the value of the adress for example to 2, then u have to use WriteProcessMemory.
I don't use Visual Basic, but it could look like that :
BYTE value_2 = 1; // define value to enable drawothermodels e.g.
BYTE value; // define value to read the adresse's value in
ReadProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "2", "0") // read out adress and save // adresse's value in BYTE value
if ( value == 0 )// check if value == 0, // means that drawothermodels is disabled
{
  WriteProcessMemory(hProcess(0).Handle, "&H160B42F0", value2, "2", "0") // write value_2 = 1 to // adress to enable drawothermodels
}
Greetz Manta

__________________

http://www10.pic-upload.de/30.04.12/j9dbc34bxdg.jpg