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 


Decimal value and game value not matching? Some Calc?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Thu Jul 03, 2014 12:02 am    Post subject: Decimal value and game value not matching? Some Calc? Reply with quote

Hello, Im trying to make a cheat table for FOOTBALL MANAGER 2014
I found an adress for country reputation.
But the value does not match the in game value.

Some formulae is being used to determine the calculation. I cant figure it out

Eg.
In game value of 1 means the 2 byte value in cheat engine shows as 29164
These are sm of the patterns written as

Ingame value ===> cheat engine 2 byte value
1 ===> 29164
2 ===> 61933
3 ===> 29165
4 ===> 61934
5 ===> 29166
6 ===> 61935
7 ===> 29167
8 ===> 61928
9 ===> 29160
10 ==> 61929
11 ==> 29161
12 ==> 61930
13 ==> 29162
14 ==> 61931
15 ==> 29163
16 ==> 61924

From the above pattern, it clearly evident that odd vs even numbers are presented differently.. if we increase value in cheat engine by just 1 then in game it maintains its odd or even status

Also, there seems to be some variation to the series at every 8th number in series.


Can anyone help me with this. Thanks...
Back to top
View user's profile Send private message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Thu Jul 03, 2014 12:39 pm    Post subject: Reply with quote

Debug, try to find the calculations
Back to top
View user's profile Send private message
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Thu Jul 03, 2014 1:18 pm    Post subject: Reply with quote

LemonMan wrote:
Debug, try to find the calculations

Where is this feature located?
Back to top
View user's profile Send private message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Thu Jul 03, 2014 2:23 pm    Post subject: Reply with quote

heh...

go to what acseses, and look at the code, try to understand what happens and why watch the registers and see how from 1 you get to 29164.

Good Luck!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Thu Jul 03, 2014 2:44 pm    Post subject: Reply with quote

this is the formula for your value: (using a 2 byte value)
(value xor 58329) ror 1

_________________
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
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Thu Jul 03, 2014 3:24 pm    Post subject: Reply with quote

Dark Byte wrote:
this is the formula for your value: (using a 2 byte value)
(value xor 58329) ror 1


Sorry for being noob. But is there any calculator available on net that can do this?
Suppose I just want to make the reputation 2000.
I set this formula in calculator enter 2000. It will tell me what should I enter in ce cheat table to get 2000 in game?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Thu Jul 03, 2014 4:01 pm    Post subject: Reply with quote

the windows calculator should be able to do that
in programmer mode, word type, although since it forces signed values in decimal mode, I think you need to use hexadecimal mode


so, 2000 is 7d0 and 58329=e3d9
so formula: (7d0 xor e3d9) ror 1 = e409 ror 1 = f204

now since calculator is a bitch about signed, switch to 4 byte, fill in hex value f204, and click dec to get the decimal unsigned value: 61956

_________________
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
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Thu Jul 03, 2014 4:41 pm    Post subject: Reply with quote

Dark Byte wrote:
this is the formula for your value: (using a 2 byte value)
(value xor 58329) ror 1


Wow... good eye. That isn't at all obvious.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Thu Jul 03, 2014 5:03 pm    Post subject: Reply with quote

Dark Byte wrote:
the windows calculator should be able to do that
in programmer mode, word type, although since it forces signed values in decimal mode, I think you need to use hexadecimal mode


so, 2000 is 7d0 and 58329=e3d9
so formula: (7d0 xor e3d9) ror 1 = e409 ror 1 = f204

now since calculator is a bitch about signed, switch to 4 byte, fill in hex value f204, and click dec to get the decimal unsigned value: 61956


Awesome. Works perfect. Thanks. He is awsome.
any calc name that does not bitch abt signed unsigned?
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Fri Jul 04, 2014 5:29 am    Post subject: Reply with quote

justa_dude wrote:
Dark Byte wrote:
this is the formula for your value: (using a 2 byte value)
(value xor 58329) ror 1


Wow... good eye. That isn't at all obvious.


To an idiot...perhaps. Someone who knows some stuff actually would notice it in a bit. Also check this
http://forum.cheatengine.org/viewtopic.php?t=558817

Hope this helps reveal the mystery a little bit...oh i got smart by scamming people cool eh Cool

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
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