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 


Help finding the pattern

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
lifeline
!BEWARE! Deletes post on answer
Reputation: 0

Joined: 12 Sep 2019
Posts: 2

PostPosted: Thu Sep 12, 2019 7:37 am    Post subject: Help finding the pattern Reply with quote

Hello,

i downloaded an incremental game and found an adress i was looking for with the unknown starting value function. I managed to find it, but it's coded like i've never seen before. Could someone please explain to me how to manipulate the value? it goes like this

1072693248 = 1
1073741824 = 2
1074266112 = 3
1074790400 = 4
1075052544 = 5
1075314688 = 6
1075576832 = 7
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Sep 12, 2019 10:40 am    Post subject: Reply with quote

They align to a float in the sense that they are valid float values, but they don't align to the 1, 2, 3, 4, etc. you marked them as. Could be a semi-custom 'encoding' to try and hide the value.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3326

PostPosted: Thu Sep 12, 2019 2:15 pm    Post subject: Reply with quote

Why don't you check the code that reads/writes it?
Should reveal what's going on.
Back to top
View user's profile Send private message
ege
How do I cheat?
Reputation: 0

Joined: 11 Apr 2021
Posts: 1

PostPosted: Sun Apr 11, 2021 11:43 am    Post subject: Reply with quote

i couldn't find the pattern but i found some helpful information.

1 -> 1072693248 -> 1

2 -> 1073741824 -> 2

3 -> 1074266112 -> 3

4 -> 1074790400 -> 4

5 -> 1075052544 -> 5

6 -> 1075314688 -> 6

7 -> 1075576832 -> 7

8 -> 1075838976 -> 8

9 -> 1075970048 -> 9

10 -> 1076101120 -> 10

11 -> 1076232192 -> 11

12 -> 1076363264 -> 12

13 -> 1076494336 -> 13

14 -> 1076625408 -> 14

15 -> 1076756480 -> 15

16 -> 1076887552 -> 16

17 -> 1076953088 -> 17

18 -> 1077018624 -> 18

19 -> 1077084160 -> 19

20 -> 1077149696 -> 20

21 -> 1077215232 -> 21

22 -> 1077280768 -> 22

23 -> 1077346304 -> 23

24 -> 1077411840 -> 24

25 -> 1077477376 -> 25

26 -> 1077542912 -> 26

27 -> 1077608448 -> 27

28 -> 1077673984 -> 28

29 -> 1077739520 -> 29

30 -> 1077805056 -> 30



adding 1048576 to any value number doubles the number

example

25 = 1077477376 + 1048576 = 1078525852 = 50
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4710

PostPosted: Sun Apr 11, 2021 3:04 pm    Post subject: Reply with quote

Probably the top half of a double. Subtract 4 from the address and change the value type to double.
_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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