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 


:?: vb.net ReadFloat of offset? I think?

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

Joined: 13 Feb 2015
Posts: 1

PostPosted: Fri Feb 13, 2015 1:42 pm    Post subject: :?: vb.net ReadFloat of offset? I think? Reply with quote

Hey everyone, I have some very basic code I'm trying to work with, to read a float I found with cheatengine. The problem is, I'm pretty sure I'm going about getting the offset wrong. And I'm not sure how to do it right?

Here's what I have, and it's always returning a 0.

I'm sure I'm doing A LOT WRONG.



2a3f622e70756abd7c61fad0c478c744.png
 Description:
 Filesize:  22.06 KB
 Viewed:  5304 Time(s)

2a3f622e70756abd7c61fad0c478c744.png



_________________
ir vb.net nub k thnx
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Fri Feb 13, 2015 3:20 pm    Post subject: Reply with quote

&H means hexadecimal but you're converting it to decimal and telling your memory class to read it as hex.
Code:
Label1.Text = ReadFloat("CARD", &H3CC1AE0)
Label2.Text = ReadFloat("CARD", &H3CC1AD8)

_________________
Back to top
View user's profile Send private message
hollow87
Cheater
Reputation: 0

Joined: 07 Feb 2015
Posts: 28

PostPosted: Sat Feb 14, 2015 6:37 pm    Post subject: Reply with quote

I noticed you have
Code:
Label1.Text = ReadFloat("CARD", &H63707864)
but the address you have in the cheat engine looks to be &H143CC1AE0 try changing the code to
Code:
Label1.Text = ReadFloat("CARD", &H143CC1AE0)


If that doesn't work it may be something in the ReadFloat method you have.
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Sun Feb 15, 2015 8:15 am    Post subject: Reply with quote

hollow87 wrote:
I noticed you have
Code:
Label1.Text = ReadFloat("CARD", &H63707864)
but the address you have in the cheat engine looks to be &H143CC1AE0 try changing the code to
Code:
Label1.Text = ReadFloat("CARD", &H143CC1AE0)


If that doesn't work it may be something in the ReadFloat method you have.


That could be right too. His read float function might not get the base address so CARD might just be for getting the process handle.
I didn't think of that.

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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