you must add "pointer" look in vb6 turials, search forum for visual basic 6 then anywhere are thread, value boxes/pointers or something
Some Times I see adresses like this "008B5288 + 180", What are offsets and how can I use them in Visual Basic?
you must add "pointer" look in vb6 turials, search forum for visual basic 6 then anywhere are thread, value boxes/pointers or something
Tell me is this correct for the address &H8B5288 + &H4C If not may you please post an example.
Dim TargWin As Long
Dim ProcessHandler As Long
Dim ProcessIdentifi As Long
Dim WeaponAdressConts As Long
TargWin = FindWin(vbNullString, "WarRock")
If (TargWin = 0) Then GoTo Abort
GetWindowThreadProcessId(vbNullString, ProcessIdentifi)
ProcessHandler = OpenProcess(PAA, False, ProcessIdentifi)
ReadProcessMemory(ProcessHandler, &H8B5288, WeaponAdressConts, 4, 0&)
WeaponAdressConts = WeaponAdressConts + &H4C
WriteProcessMemory(ProcessHandler, WeaponAdressConts, 34, 4, 0&)
Last edited by radnomguywfq3; 09-01-2007 at 10:02 AM.