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 


[SOLVED] C # code does not return correct values

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

Joined: 03 Mar 2020
Posts: 2

PostPosted: Tue Mar 03, 2020 1:38 pm    Post subject: [SOLVED] C # code does not return correct values Reply with quote

I have an address on the cheat engine that should return the value
Quote:
2618B5695C0

but my code made in C # returns the value
Quote:
8B5695C0


is there any way to fix the problem?


Last edited by NatanM on Wed Mar 04, 2020 6:27 am; edited 1 time in total
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 78

Joined: 06 Jul 2014
Posts: 2638

PostPosted: Tue Mar 03, 2020 2:33 pm    Post subject: Reply with quote

Read 8 bytes instead of 4.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
NatanM
How do I cheat?
Reputation: 0

Joined: 03 Mar 2020
Posts: 2

PostPosted: Wed Mar 04, 2020 6:27 am    Post subject: Reply with quote

ParkourPenguin wrote:
Read 8 bytes instead of 4.


Thanks, I managed to solve my problem after converting the result to Int64 and reading it as an 8 byte value
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