| View previous topic :: View next topic |
| Author |
Message |
thearing Newbie cheater
Reputation: 0
Joined: 23 Nov 2009 Posts: 11
|
Posted: Mon Dec 07, 2009 5:23 pm Post subject: |
|
|
Hello i again...
Look
img43.imageshack.us/img43/6874/dibujotnx.png
Now i have the pointer with offset 30...
The question is....
How edit the address with c++ or vb6 if i have:
ej vb6
Writeprocessmemory &HA97E0, "Solitario", TextPuntos.Text
But where i must put the offset?
Thanks![/list]
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Mon Dec 07, 2009 5:58 pm Post subject: |
|
|
The 4 bytes at address 0x01007170 hold the address of some base, let's call it x. At [ x + 0x30 ], we have the dynamic address that you want to affect.
So read off the 4 bytes at address 0x01007170. Add 0x30 and that is your dynamic address that you are interested in.
Look at the particular case you have shown. 0x01007170 holds the value 0x000A95C8. Adding 0x30 to that gives 0x000A95F8.
So :
- RPM the 4 bytes at 0x01007170
- Add 0x30 to the result
- WPM to this new address
|
|
| Back to top |
|
 |
thearing Newbie cheater
Reputation: 0
Joined: 23 Nov 2009 Posts: 11
|
Posted: Mon Dec 07, 2009 11:12 pm Post subject: |
|
|
Hello very thanks for reply!!!
New pic, new address:
img690.imageshack.us/img690/9012/dibujovmf.png
I have a problem... When i readprocessmemory with vb:
ReadProcessMemory &H1007170, "Solitario", TextPuntos.Text
The value not is = to the value of cheat engine.
The value in vb is: 694872
And the value of cheat engine is: 000A9A58
What happen please!?
Thanks!!
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Mon Dec 07, 2009 11:16 pm Post subject: |
|
|
| thearing wrote: | Hello very thanks for reply!!!
New pic, new address:
img690.imageshack.us/img690/9012/dibujovmf.png
I have a problem... When i readprocessmemory with vb:
ReadProcessMemory &H1007170, "Solitario", TextPuntos.Text
The value not is = to the value of cheat engine.
The value in vb is: 694872
And the value of cheat engine is: 000A9A58
What happen please!?
Thanks!! |
They are the same value, just one is represented in base-10 and the other is in base-16.
|
|
| Back to top |
|
 |
thearing Newbie cheater
Reputation: 0
Joined: 23 Nov 2009 Posts: 11
|
Posted: Mon Dec 07, 2009 11:25 pm Post subject: |
|
|
Thanks Flyte!!!! Look at everything what I am learning thanks for you!
So how i add 0x30 to the result ?
Thannks
EDITTTTT:
I did!!! Look:
If Offset = "&H1007170" Then
Pointer = Convert(Value, 10, 16)
Pointer2 = Right(Pointer, 2) + 30
Pointer = Left(Pointer, 3) & Pointer2
End If
Convert base 10 to base 16 and then:
ReadProcessMemory "&H" & Pointer, "Solitario", TextPuntos.Text
I cannot add 30 in the complete string because the string contain letters, so I must separate the last digits and add 30. And later to join it.
Sorry for my english... If there is some better way of making it please say it to me.
|
|
| Back to top |
|
 |
|