#21 | ||
Join Date: Jun 2010 Posts: 561 |
ich versteh sein Problem immer noch nicht ^^ |
|
cssuchtii is offline |
#21 | ||
Join Date: Jun 2010 Posts: 561 |
ich versteh sein Problem immer noch nicht ^^ |
|
cssuchtii is offline |
#22 | ||
Join Date: Nov 2011 Posts: 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") |
|
TheZeNN is offline |
#23 | ||
Join Date: Jun 2010 Posts: 561 |
So, is it Working with you're Code? Yo also have to change the 0 at the End of you're WriteProcessMemory Code Quote WriteProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "2", "0") Change it to VB Code:
|
|
cssuchtii is offline |
#24 | ||
Join Date: Jun 2011 Posts: 490 User-Rating: 12 positive
0 negative
|
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. __________________ |
|
Mantarochen is offline |
#25 | ||
Join Date: Nov 2011 Posts: 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") |
|
TheZeNN is offline |
#26 | ||
Join Date: Jun 2010 Posts: 561 |
why did you read out the Memory in the Code directly below ? Quote else Dim value As Byte = 1 ReadProcessMemory(hProcess(0).Handle, "&HADRESS", value, "1", "4") |
|
cssuchtii is offline |
#27 | ||
Join Date: Nov 2011 Posts: 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") |
|
TheZeNN is offline |
#28 | ||
Join Date: Jun 2010 Posts: 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... |
|
cssuchtii is offline |
#29 | ||
Join Date: Nov 2011 Posts: 20 |
ok, I tried thank's | |
TheZeNN is offline |
#30 | ||
Join Date: Nov 2011 Posts: 20 |
Sorry, but I do it what to do | |
TheZeNN is offline |
#31 | ||
Join Date: Jun 2010 Posts: 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... |
|
cssuchtii is offline |
#32 | ||
Join Date: Nov 2011 Posts: 20 |
Write or read ?? | |
TheZeNN is offline |
#33 | ||
Join Date: Jun 2010 Posts: 561 |
Ok, it seems you're not really know how to do something like that.... please go and learn the basic at first ok? | |
cssuchtii is offline |
#34 | ||
Join Date: Jun 2011 Posts: 490 User-Rating: 12 positive
0 negative
|
You really should learn the basics befor you try somerhing like that __________________ |
|
Mantarochen is offline |