Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Correct address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Rifju
How do I cheat?
Reputation: 0

Joined: 20 May 2019
Posts: 5

PostPosted: Sun Nov 24, 2019 7:23 am    Post subject: Correct address Reply with quote

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



download.png
 Description:
 Filesize:  111.29 KB
 Viewed:  1846 Time(s)

download.png


Back to top
View user's profile Send private message Send e-mail
atom0s
Moderator
Reputation: 156

Joined: 25 Jan 2006
Posts: 8041
Location: 127.0.0.1

PostPosted: Sun Nov 24, 2019 1:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Rifju
How do I cheat?
Reputation: 0

Joined: 20 May 2019
Posts: 5

PostPosted: Sun Nov 24, 2019 2:53 pm    Post subject: . Reply with quote

after changing the number to 7 nothing changed :c


Screenshot_3.png
 Description:
 Filesize:  63.56 KB
 Viewed:  1809 Time(s)

Screenshot_3.png


Back to top
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 383

Joined: 09 May 2003
Posts: 22885
Location: The netherlands

PostPosted: Sun Nov 24, 2019 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Rifju
How do I cheat?
Reputation: 0

Joined: 20 May 2019
Posts: 5

PostPosted: Sun Nov 24, 2019 4:13 pm    Post subject: . Reply with quote

I think I did everything right. Can anyone explain where I made the mistake?
(Sorry i'm newbie)



screesss.png
 Description:
 Filesize:  101.76 KB
 Viewed:  1800 Time(s)

screesss.png


Back to top
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 383

Joined: 09 May 2003
Posts: 22885
Location: The netherlands

PostPosted: Sun Nov 24, 2019 4:34 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Rifju
How do I cheat?
Reputation: 0

Joined: 20 May 2019
Posts: 5

PostPosted: Mon Nov 25, 2019 12:05 pm    Post subject: Reply with quote

could you explain to me step by step how to do it? I think I did it in the last answer
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites