View previous topic :: View next topic |
Author |
Message |
Rifju How do I cheat? Reputation: 0
Joined: 20 May 2019 Posts: 5
|
Posted: Sun Nov 24, 2019 7:23 am Post subject: Correct address |
|
|
Hello, how can I transform the address on the left into the one highlighted on the green? (I program in vb.net)
My code:
Code: | Imports ProcessMemory
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim stream As ProcessStream = New ProcessStream(Process.GetProcessesByName("osu!").First())
Dim p As HexPattern = New HexPattern("DB 5D E8 8B 45 E8 A3")
Dim address As Long = stream.PatternScan(p)
address += 6
TextBox1.Text = Hex(address)
End Sub
End Class |
Description: |
|
Filesize: |
111.29 KB |
Viewed: |
3594 Time(s) |
|
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
|
Posted: Sun Nov 24, 2019 1:04 pm Post subject: |
|
|
If your pattern scan is working properly and gets the address as needed, then you need to adjust the offset properly from the found start of your pattern and read the value at the calculated address.
Since both your app and the CE window are showing the start of the opcode, it won't read what you need yet. You need to adjust the offset to read the pointer from the opcode still.
So in your case, the instruction if you are landing on is:
Code: |
A3 6C5DFD00 - mov [00FD5D6C],eax
|
So you need to step over the 'A3' byte of this as well.
Try changing the "address += 6" to 7 and then read the data at the resulting address (4 bytes).
_________________
- Retired. |
|
Back to top |
|
|
Rifju How do I cheat? Reputation: 0
Joined: 20 May 2019 Posts: 5
|
Posted: Sun Nov 24, 2019 2:53 pm Post subject: . |
|
|
after changing the number to 7 nothing changed :c
Description: |
|
Filesize: |
63.56 KB |
Viewed: |
3557 Time(s) |
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Sun Nov 24, 2019 3:45 pm Post subject: |
|
|
atom0s wrote: |
Try changing the "address += 6" to 7 and then read the data at the resulting address (4 bytes).
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Rifju How do I cheat? Reputation: 0
Joined: 20 May 2019 Posts: 5
|
Posted: Sun Nov 24, 2019 4:13 pm Post subject: . |
|
|
I think I did everything right. Can anyone explain where I made the mistake?
(Sorry i'm newbie)
Description: |
|
Filesize: |
101.76 KB |
Viewed: |
3548 Time(s) |
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Sun Nov 24, 2019 4:34 pm Post subject: |
|
|
read the 4 byte value at 10c98ff5 and show that
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Rifju How do I cheat? Reputation: 0
Joined: 20 May 2019 Posts: 5
|
Posted: Mon Nov 25, 2019 12:05 pm Post subject: |
|
|
could you explain to me step by step how to do it? I think I did it in the last answer
|
|
Back to top |
|
|
|