Jump to content
1337-D34thk1ller

Find the algorithm of Values

Recommended Posts

Is there an tool to find the algorithm of Values?

Or is there any other way to calculate the Values?

Example

7,14438328e10 = 47

8,64762184e10 = 89

5,62838922e14 = 1895

5,54592585e14 = 1913

4,17332032e13 = 2124

3,60294866e13 = 2304

3,87610858e13 = 2529

4,97390222e13 = 2686

6,02359223e13 = 3203

6,01843827e13 = 3230

??? = 1000000

(GG is able to find these with encrypted serach)

Edited by 1337-D34thk1ller

Share this post


Link to post
Share on other sites

Is that consistent for every launch? Make sure you are using correct value too. Whether float, double, dword qword.....

Share this post


Link to post
Share on other sites
On 2/15/2021 at 11:15 AM, 1337-D34thk1ller said:

Is there an tool to find the algorithm of Values?

Or is there any other way to calculate the Values?

Example

7,14438328e10 = 47

8,64762184e10 = 89

5,62838922e14 = 1895

5,54592585e14 = 1913

4,17332032e13 = 2124

3,60294866e13 = 2304

3,87610858e13 = 2529

4,97390222e13 = 2686

6,02359223e13 = 3203

6,01843827e13 = 3230

??? = 1000000

(GG is able to find these with encrypted serach)

Any chance you could get the left values as Dword? assuming these are floats..

Share this post


Link to post
Share on other sites
1 hour ago, BoomEX said:

Any chance you could get the left values as Dword? assuming these are floats..

Could always debug. Or find the pattern and just calculate the values in excel.

Share this post


Link to post
Share on other sites

Float is the correct value.

The game rounds 74,2 to 74

I cant tell the digit behind comma.

Values dont change after restart.

Exact value dosnt matter for this game, but i want to know for other games how to calculate such values.

Share this post


Link to post
Share on other sites
39 minutes ago, 1337-D34thk1ller said:

Float is the correct value.

Even if encrypted value is interpreted as float by the game, one still needs to know exact values to be able to analyze how values in the pairs you provided are related. That's why you were asked to provide the values interpreted as dword.

Share this post


Link to post
Share on other sites

Dword = float = real value ingame

1.363.350.291 = 5,23649147e10 = 52

1.345.393.427 = 1,18832691e10 = 162

1.347.228.435 = 1,37623173e10 = 222

1.352.340.243 = 2,08137482e10 = 252

1.351.619.347 = 1,93373532e10 = 262

1.352.569.619 = 2,12835103e10 = 283

1.351.160.595 = 1,83978291e10 = 308

1.352.897.299 = 2,19545989e10 = 353

1.356.665.619 = 2,96721183e10 = 412

1.355.682.579 = 2,76588524e10 = 442

 1.355.682.579 = 2,76588524e10 = 442

1.465.094.931 = 2,32628632e14 = 770

1.465.127.699 = 2,33178388e14 = 796

1.469.567.763 = 3,33865625e14 = 1062

1.443.840.787 = 3,93795611e13 = 2501

You need this for example?

 

Share this post


Link to post
Share on other sites
1 hour ago, 1337-D34thk1ller said:

Dword = float = real value ingame

1.363.350.291 = 5,23649147e10 = 52

1.345.393.427 = 1,18832691e10 = 162

1.347.228.435 = 1,37623173e10 = 222

1.352.340.243 = 2,08137482e10 = 252

1.351.619.347 = 1,93373532e10 = 262

1.352.569.619 = 2,12835103e10 = 283

1.351.160.595 = 1,83978291e10 = 308

1.352.897.299 = 2,19545989e10 = 353

1.356.665.619 = 2,96721183e10 = 412

1.355.682.579 = 2,76588524e10 = 442

 1.355.682.579 = 2,76588524e10 = 442

1.465.094.931 = 2,32628632e14 = 770

1.465.127.699 = 2,33178388e14 = 796

1.469.567.763 = 3,33865625e14 = 1062

1.443.840.787 = 3,93795611e13 = 2501

You need this for example?

 

how did u do this?

Share this post


Link to post
Share on other sites
2 hours ago, 1337-D34thk1ller said:

real value ingame

has which data type? If this is known of course.

Can you get encrypted value (interpreted as dword) that corresponds to real value in game being 0?

Share this post


Link to post
Share on other sites

320.017.171 = 1,85634128e-27 = 0 

Real value must be float

- is rounded by game (example: its sometimes like this: i have 350 gold and after collect 20 I have 371)

- if i edit value manual, somethimes i see fir example 371.2 

-cant be double its a 4 bit digit. If i change dword offset 4 or -4 has no effekt

[added 1 minute later]
7 hours ago, Phulen said:

how did u do this?

Collect Gold - copy paste

Collect Gold - copy paste

Collect Gold - copy paste

Collect Gold - copy paste

😅😅😅

Share this post


Link to post
Share on other sites

It's xor.

Xor key = 320,017,171

Xor value = 1,363,350,291

Xor result = 1,112,539,136

Dword 1,112,539,136 = 52.0 float

Edit:

If you want 500,000,000 gold

dword edit

1,593,669,691

 

Share this post


Link to post
Share on other sites

Now i understand how calculate the Key without having the "0" Value 🖒

Dword = Float= real Value

1.471.427.347 =  3,9626291e14 = 1337

Real Value in float:

1337.0 float = 1.151.803.392 Dword

"Dword of Real Value in float" XOR "Dword encrypted" = XOR Key

1.151.803.392 XOR 1.471.427.347 = 320.017.171

😉

 

Share this post


Link to post
Share on other sites

But 1 question is left:

Its the Anti-cheat system of the Game "Anima"

All values (in Dword) a encrypted with 2 values that random generated every time they change.

Anti-cheat 1 XOR Anti-cheat 2 = real Value (Dword)

No problem to Bypass this😉

BUT the Weaponstats are saved in float

Anti-cheat 1 = 1.355.811.694d = 2,79232799e10f

Anti-cheat 2 = 302.734.446d = 4,39745947e-28f

Real Value = 1.116.471.296d = 70.0f

Other example:

Anti-cheat 1 = 1.342.267.165d = 8.681.976.832,0f

Anti-cheat 2 = 325.013.789d = 2,8186549e-27f

Real Value = 1.129.316.352d = 208.0f

 

No matter how i calculate there is always an difference. 

Now the Question: is there an dword value for 0.0 float that is not 0?

In some games i found -0.0 float that has a long dword value (sorry dont find it for example anymore)

Maybe i need this 0.0float to XOR the Anti-cheat value befor calculate them🤔

If i XOR the 2 Anti-cheat values and search for the result, I dont find anything. Same with calculate the Anti-cheat 1 or 2 with real value.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...