OldSchoolHack

Register / Login English

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


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

Join Date: Nov 2011

Posts: 20

Hello Old School Hack,

Today I come to ask your help, It's been about two months, I tried to create a hack for counter-strike: source is, wallhack (r_drawtohermodels) ect .. and after pointing my addresses with a cheat engine I faced a problem that prevents me me, I tried lots of endless techniques from WriteProcessMemory bah does not work, there is a new technique but people do not want to say

So if you could help me it would be great to hear from you!

I tested this:
If CheckBox4.Checked = True Then
           Dim value As Byte = 2
           ReadProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "2", "0")
       Else
           Dim value As Byte = 1
           ReadProcessMemory(hProcess(0).Handle, "&H160B42F0", value, "1", "0")
       End If
But that did not work..

( Sorry For my English, I'am French and don't have speak English )

icon #2

Join Date: Jun 2010

Posts: 561

Why should that work?

You just gonna read a Memory out, you have to write, cause you wanna change the Memory.
icon #3

Join Date: Nov 2011

Posts: 20

What ? I don't understant..
icon #4

Join Date: Jun 2011

Posts: 490

User-Rating:

12 positive
0 negative
Quote
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
icon #5

Join Date: Sep 2010

Posts: 136

Also static addresse wont keep you happy very long

__________________

[21:43:44] <-> Reita heißt jetzt R|GW2
[21:44:08] <-> Igromanru heißt jetzt Reita
[21:44:20] <-> Cycode2 heißt jetzt Igromanru
[21:44:27] <-> R|GW2 heißt jetzt Cyode2
icon #6

Join Date: Jun 2011

Posts: 490

User-Rating:

12 positive
0 negative
Quote
Also static addresse wont keep you happy very long smile
Im Prinzip haste Recht, aber selbst wenn die Adressen geupdated werden ist das 'ne Sache von 1 Minute die statische Adresse von r_drawothermodels oder Sv_cheats o.ä herauszubekommen
Manta

__________________

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

Join Date: Nov 2011

Posts: 20

As I understand, I have to do this :

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 #8

Join Date: Jun 2011

Posts: 490

User-Rating:

12 positive
0 negative
Im a Bit drunken atm but  the only Thing you have to do is to Write the value 1 to the Adress to activate r drawotheodels or whatever.
Greetz Manta

__________________

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

Join Date: Jun 2010

Posts: 561

but why did you have the 0 at the End of the Writeprocessmemory code?
I think the adress has 4 byte?
icon #10

Join Date: Nov 2011

Posts: 20

but knowing that I used to activate r_drawothermodels the value 2, then 1 to disable it.
donc je dois faire quoi?
icon #11

Join Date: Jan 2009

Posts: 454

User-Rating:

10 positive
0 negative
If you want to activate r_drawo.. you have to write the value 2 to the Adress which you've found out ( and hopefully is right .

__________________

Quote

[16:44:40] * sMp (sMp[at]osh-B065CA09.pools.arcor-ip.net) has joined #Oldschoolhack
[16:44:47] <Cycode> ich könnt so abreiern ey echt..
[16:44:58] <sMp> oh neine
[16:45:07] <sMp> wenn ich sowas schon höre
[16:45:11] <sMp> instaleave
[16:45:14] * sMp (sMp[at]osh-B065CA09.pools.arcor-ip.net) has left #Oldschoolhack
icon #12

Join Date: Jun 2010

Posts: 561

was will er jetzt grad?
icon #13

Join Date: Jan 2009

Posts: 454

User-Rating:

10 positive
0 negative
Ich glaube, er will wissen welches Value r_drawothermodels haben muss, damit halt wireframe an is ^^

__________________

Quote

[16:44:40] * sMp (sMp[at]osh-B065CA09.pools.arcor-ip.net) has joined #Oldschoolhack
[16:44:47] <Cycode> ich könnt so abreiern ey echt..
[16:44:58] <sMp> oh neine
[16:45:07] <sMp> wenn ich sowas schon höre
[16:45:11] <sMp> instaleave
[16:45:14] * sMp (sMp[at]osh-B065CA09.pools.arcor-ip.net) has left #Oldschoolhack
icon #14

Join Date: Nov 2011

Posts: 20

Not how I want it to work permanently in a program in vb.net if I tick the box to enable walhack.
So I ask is if my lines of code are correct to be able to perform an address as "r_drawothermodels" if so. I have my address normal or Pointer?
icon #15

Join Date: Jun 2010

Posts: 561

The adress you have, would change everytime if you're starting the game again...
icon #16

Join Date: Jun 2011

Posts: 490

User-Rating:

12 positive
0 negative
Boa sein Englisch ist hart
If you have problems finding the pointer, use pointer scan which is included in Cheat Engine.Very powerfull and helpfull. Although i think the r_drawrothermodels address is static so you don't need to search for the pointer.
Greetz Manta
Edit: Adress client.dll+6F6370. Have fun and now try to search it again. Should look like this.

__________________

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

Join Date: Jun 2010

Posts: 561

@Mantarochen: Ich glaub der weiß noch nicht genau, was er mit der client.dll + "6F6370" anfangen soll... ich denk der nimmt immer die Adresse ohne Doppelklick
icon #18

Join Date: Jun 2011

Posts: 490

User-Rating:

12 positive
0 negative
Dann hat er jetzt Pech.
TheZeNN, if you dont understand the basics like pointers and how to use cheat engine or a debugger, please just beginn to learn it with easy games and tutorials and then come back. Its hard to explain if you dont understand anything.
Greetz Manta

__________________

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

Join Date: Nov 2011

Posts: 20

Sorry my English is really ugly

but my problem is I do not know what it's like the line of code

If you understand French:
Mon problème est que je c'est pas quoi mettre comme ligne de code pour que cela marche..
icon #20

Join Date: Mar 2011

Posts: 978

User-Rating:

89 positive
6 negative
readprocessmemory and writeprocessmemory -> google -> MSDN

__________________

http://www.abload.de/img/signfj5o.png
Spoiler
Vids:
Zitate:
Spoiler

Quote from xst
Vater KN4CK3R, der du hängst im irc, geheiligt werde dein Botnet, dein P7 v1.337 komme, die Bannwelle geschehe, wie in CS:S als auch in CS:GO, führe uns nicht in Versuchung, sondern erlöse uns von all dem c+p-Shit.
Quote from f4gsh0t_h4x
VAC ist an,immer,überall
Quote from gibson.w
Ich mag braune Würstchen
Quote from irc
<SilverDeath> KN4CK3R bistn nub
<~KN4CK3R> kk
Quote from irc
<OrkSchamane> das prob is das viele dieser eig. recht guten bücher englisch sind ...
<OrkSchamane> da habe ich's ja doppelt schwer
<~KN4CK3R> falsch
<~KN4CK3R> das prob is dass du programmieren willst ohne englisch zu können
Quote from irc
<SilverDeath> Ich schwöre dir Dr_Pepper Ich bumms deine Mutter tot Mann!
<Dr_Pepper> danke.
<SilverDeath> bitte
Quote from irc
<~KN4CK3R> dann liegts wenigstens an mir
<~KN4CK3R> nur noch rausfinden warum -.-
<SilverDeath> ja sicher
<SilverDeath> an wem sonst?
* You were kicked by KN4CK3R (kick)
Quote from Dr_Pepper
ihr seit beide dumm
Tutorials:
Releases:
Gifs:
Spoiler
http://www.abload.de/img/uberesp2sgul2.gif
https://i.imgur.com/Z5VQMrV.gif
http://www.abload.de/img/minesweeperzgaef.gif