OldSchoolHack

Registrieren / Anmelden Deutsch

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


icon #21

Anmeldungsdatum: Jun 2010

Beiträge: 561

ich versteh sein Problem immer noch nicht ^^

icon #22

Anmeldungsdatum: Nov 2011

Beiträge: 20

My problem is :

if its is good or not :

If CheckBox4.Checked = True Then
Dim value As Byte = 2
WriteProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "2", "0")
else
Dim value As Byte = 1
ReadProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "1", "0")
icon #23

Anmeldungsdatum: Jun 2010

Beiträge: 561

So, is it Working with you're Code?
Yo also have to change the 0 at the End of you're WriteProcessMemory Code

Zitat
WriteProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "2", "0")

Change it to

VB Code:
  1. WriteProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "2", "4")
icon #24

Anmeldungsdatum: Jun 2011

Beiträge: 490

Benutzer-Bewertung:

12 positiv
0 negativ
Also if its working with that code you have to use a static adress like client.dll+6F6370, because your dynamic adress will change when you restart the game.

__________________

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

Anmeldungsdatum: Nov 2011

Beiträge: 20

if its good :

If CheckBox4.Checked = True Then
Dim value As Byte = 2
WriteProcessMemory(hProcess(0).Handle, "&HADRESS", value, "2", "4")
else
Dim value As Byte = 1
ReadProcessMemory(hProcess(0).Handle, "&HADRESS", value, "1", "4")
icon #26

Anmeldungsdatum: Jun 2010

Beiträge: 561

why did you read out the Memory in the Code directly below ?



Zitat
else
Dim value As Byte = 1
ReadProcessMemory(hProcess(0).Handle, "&HADRESS", value, "1", "4")


icon #27

Anmeldungsdatum: Nov 2011

Beiträge: 20

" Dim hProcess As Process() = Process.GetProcessesByName("hl2")"

I using just Write ? or Write & Read ?

If CheckBox4.Checked = True Then
Dim value As Byte = 2
WriteProcessMemory(hProcess(0).Handle, "&HADRESS", value, "2", "4")
else
Dim value As Byte = 1
WriteProcessMemory(hProcess(0).Handle, "&HADRESS", value, "1", "4")
icon #28

Anmeldungsdatum: Jun 2010

Beiträge: 561

You want to Change the value of a Memory, so you have to write!
if you wanna know the value of a Memory, you have to read...
icon #29

Anmeldungsdatum: Nov 2011

Beiträge: 20

ok, I tried thank's
icon #30

Anmeldungsdatum: Nov 2011

Beiträge: 20

Sorry, but I do it what to do
icon #31

Anmeldungsdatum: Jun 2010

Beiträge: 561

sorry man, i've got wrong with the 4 at the end, the 0 was right.

If it isn't working after changing this, check the adresse...

icon #32

Anmeldungsdatum: Nov 2011

Beiträge: 20

Write or read ??
icon #33

Anmeldungsdatum: Jun 2010

Beiträge: 561

Ok, it seems you're not really know how to do something like that.... please go and learn the basic at first ok?
icon #34

Anmeldungsdatum: Jun 2011

Beiträge: 490

Benutzer-Bewertung:

12 positiv
0 negativ
You really should learn the basics befor you try somerhing like that

__________________

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