| View previous topic :: View next topic |
| Author |
Message |
faizangmc Expert Cheater
Reputation: 0
Joined: 12 Nov 2013 Posts: 167
|
Posted: Thu Jul 03, 2014 12:02 am Post subject: Decimal value and game value not matching? Some Calc? |
|
|
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 |
|
 |
Rissorr Master Cheater
Reputation: 3
Joined: 17 Sep 2013 Posts: 273 Location: Israel!
|
Posted: Thu Jul 03, 2014 12:39 pm Post subject: |
|
|
| Debug, try to find the calculations
|
|
| Back to top |
|
 |
faizangmc Expert Cheater
Reputation: 0
Joined: 12 Nov 2013 Posts: 167
|
Posted: Thu Jul 03, 2014 1:18 pm Post subject: |
|
|
| LemonMan wrote: | | Debug, try to find the calculations |
Where is this feature located?
|
|
| Back to top |
|
 |
Rissorr Master Cheater
Reputation: 3
Joined: 17 Sep 2013 Posts: 273 Location: Israel!
|
Posted: Thu Jul 03, 2014 2:23 pm Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25867 Location: The netherlands
|
Posted: Thu Jul 03, 2014 2:44 pm Post subject: |
|
|
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 |
|
 |
faizangmc Expert Cheater
Reputation: 0
Joined: 12 Nov 2013 Posts: 167
|
Posted: Thu Jul 03, 2014 3:24 pm Post subject: |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25867 Location: The netherlands
|
Posted: Thu Jul 03, 2014 4:01 pm Post subject: |
|
|
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 |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
Posted: Thu Jul 03, 2014 4:41 pm Post subject: |
|
|
| 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 |
|
 |
faizangmc Expert Cheater
Reputation: 0
Joined: 12 Nov 2013 Posts: 167
|
Posted: Thu Jul 03, 2014 5:03 pm Post subject: |
|
|
| 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 |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Fri Jul 04, 2014 5:29 am Post subject: |
|
|
| 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
_________________
|
|
| Back to top |
|
 |
|