Jump to content

[REQ] Castle Defense / Castle TD


NobleScarlet
 Share

Recommended Posts

  • 3 years later...

its interesting. the formula works, i can find it. but any changes made dont 'stick'. can anyone confirm this still works?

 

edit...  

does anyone know the memory range they got for the final number?

Edited by wnd
Link to comment
Share on other sites

On 21/2/2013 at 1:40 AM, lolpluslol said:

Here's crystal formula (money for upgrading skills, towers, warrior, props)

For 100-999 : Value = 3158068 + (3rd digit - 1) + (2nd digit x 256) + (1st digit x 2562)

e.g. 352 crystals = 3158068 + (3 - 1) + (5 x 256) + (2 x 2562) = 3290419

 

For 1000-9999: Value = 808464433 + (4th digit - 1) + (3rd digit x 256) + (2nd digit x 2562) + (1st digit x 2563)

e.g. 1234 crystals = 808464433 + (1 - 1) + (2 x 256) + (3 x 2562) + (4 x 2563) = 875770417

 

To use this, you will need to find crystal address first

  1. Open GG, and the game.
  2. Note your crystal, and calculate the raw value using formula above.
  3. Search the raw value.
  4. If more than one address returned with the value, made some purchase to change your crystal value and repeat step 2-3 until you have only 1 address corresponded to your search value.
  5. Done!!

To go over 10k, we need some tricks.

  1. Put raw value 960051513, which is 9999 crystals
  2. Play the game until you got 10k+ crystals.
  3. Then, let's say you now got 10534 crystals, check the raw value from the address.
  4. Assuming it's 859123764 (it may not be the same, but it's ok, just continue to next step)
  5. Add 9 to the raw value (i.e. 859123773) and you will get 90534 crystals. (if you add 3, you'll get 30534 crystals, etc)

I haven't try crystal above 90k yet, but it seems there's another address keeping track of the raw value, I'm not gonna fiddle with it though, 90k seems enough :)

 

Enjoy!! Hope it work out for you.

How can you find this thing? Could you blow my mind some?
P/s: sorry for my bad english skill

Edited by bo_hai
Link to comment
Share on other sites

  • 1 year later...

Turn out, it's pretty easy ?

The game uses little tricky value protection technique, it use 8 bytes split to 2 part of 4 bytes to encrypt value.

For example:

  • If you have less or equal to 4 digits number crystal let's say 123 then the game encrypts it to 0x00333231 0x73000000
  • If you have more than 4 digits let's say 123456 then the game encrypts it to 0x36353433 0x73003231 (I guess its limit is 8 digits? Yes, you can overwrite the 0x73 to achieve 8 digits number)

P/s: 0x mean hex number NOT dec so when you search or edit value remember to add h

Link to comment
Share on other sites

  • Moderators
On 12/10/2018 at 8:10 AM, bo_hai said:

Turn out, it's pretty easy ?

The game uses little tricky value protection technique, it use 8 bytes split to 2 part of 4 bytes to encrypt value.

For example:

  • If you have less or equal to 4 digits number crystal let's say 123 then the game encrypts it to 0x00333231 0x73000000
  • If you have more than 4 digits let's say 123456 then the game encrypts it to 0x36353433 0x73003231 (I guess its limit is 8 digits? Yes, you can overwrite the 0x73 to achieve 8 digits number)

P/s: 0x mean hex number NOT dec so when you search or edit value remember to add h

Damn......

How good are you at deciphering "encryption"?  Or you just really familiar with this title?

Link to comment
Share on other sites

  • 1 year later...
On 2/20/2013 at 9:40 PM, lolpluslol said:

Here's crystal formula (money for upgrading skills, towers, warrior, props)

For 100-999 : Value = 3158068 + (3rd digit - 1) + (2nd digit x 256) + (1st digit x 2562)

e.g. 352 crystals = 3158068 + (3 - 1) + (5 x 256) + (2 x 2562) = 3290419

 

For 1000-9999: Value = 808464433 + (4th digit - 1) + (3rd digit x 256) + (2nd digit x 2562) + (1st digit x 2563)

e.g. 1234 crystals = 808464433 + (1 - 1) + (2 x 256) + (3 x 2562) + (4 x 2563) = 875770417

 

To use this, you will need to find crystal address first

  1. Open GG, and the game.
  2. Note your crystal, and calculate the raw value using formula above.
  3. Search the raw value.
  4. If more than one address returned with the value, made some purchase to change your crystal value and repeat step 2-3 until you have only 1 address corresponded to your search value.
  5. Done!!

To go over 10k, we need some tricks.

  1. Put raw value 960051513, which is 9999 crystals
  2. Play the game until you got 10k+ crystals.
  3. Then, let's say you now got 10534 crystals, check the raw value from the address.
  4. Assuming it's 859123764 (it may not be the same, but it's ok, just continue to next step)
  5. Add 9 to the raw value (i.e. 859123773) and you will get 90534 crystals. (if you add 3, you'll get 30534 crystals, etc)

I haven't try crystal above 90k yet, but it seems there's another address keeping track of the raw value, I'm not gonna fiddle with it though, 90k seems enough :)

 

Enjoy!! Hope it work out for you.

Really late to reply but does this work for all games or just this game ?

Link to comment
Share on other sites

  • 11 months later...
On 2/27/2013 at 11:20 AM, CPS said:

Well it worked perfectly fine for me (newest version downloaded yesterday 26.2.), except one mistake in lolpluslol´s solution: to get from 1*,*** to 9*,*** it´s plus 8 not plus 9 (as its 1-1 to 9-1 🙂 )

 

later in the text, i show you how to get to 999,900 crystals 🙂

 

 

BUT:

 

i had to do a FUZZY search, searching directly for the number didn´t work for whatever reason o.O ?!

 

so here is what i did:

 

SCROLL DOWN, FOR SHORT VERSION

 

 go to the shop where you can buy mana and health (i dont know if its important, but you can always have a look at your crystals)

1) start a fuzzy search (amount of crystals 100 to 999)

2) play chapter 1-1 to get the huge amount of 14 crystals

3) last digit is higher than before: -> bigger  | last digit is smaller than before -> smaller

     (i.e. starting crystals 149 + 14 = 163 so you search for a smaller number)

4) you can also go back to the lvl selection screen (NOT STARTING OR SAVE GAME SELECT) then return to the shop with mana and health and

    search for an equal amount (combine both to get the fastest to few results)

 

there will be a number around 3,000,000 before you go for it, CALCULATE FIRST, if it´s the right one, by having two runs... (just recommended 😉 )

 

 

so once again:

 

 

100 - 999

 

3158068 + (A - 1) + (B x 256) + (C x 2562)

Example:

107 -> 3158068 + (1-1) + (0 x 256) + (7 x 2562) = 3166820

 

999 -> 3750204

 

WE CONTINUE

 

5) you should have found the right number, so change it to 3750204 which should now be 999 crystals.

6) play chapter 1-1 (or whatever you like) once more

 

calculation stays almost the same

 

1000 - 9999

 

808464433 + (A - 1) + (B x 256) + (C x 2562) + (D x 2563)

no example this time you should have figured it out by now... 9999 equals 960051513

 

VERY IMPORTANT STEP

 

7) you changed your amount of crystals to 9999 (yeah i know, after you have found the right adress you can come here directly, but i really wanted it

     foolproof!)

    you HAVE to play a game, to get over the magical 9999, and as soon you got a 5 digit number, simply add 8 to the number in gameguardian and

    voilá -> there you go with your 9*,*** 🙂

 

THERE IS NO WAY, TO HAVE MORE THAN 9999 CRYSTALS, WITHOUT CROSSING THE '5 DIGIT LINE' BY NORMALLY WINNING CRYSTALS BY PLAYING!!!

(i tried several things, and here lolpluslol is right aswell, there is another counter located somewhere, which is responsible for the last digit. as soon as i was over 10000, i was able to alter the first four digits to 9999x , (which meant 960051513 again, but for 99990, 99991, ... 99999) but i had no power over the last one, except normally playing again. (letting the enemies go in lvl 1-1 whithout doing anything gets you ONE crystal 😉 )

 

 

SHORT VERSION B)

 

1) start with crystals between 100 and 900 (recommended)

2) start FUZZY search

3) play a game and search based on your LAST digit. (last digit becomes higher -> bigger or smaller -> smaller)

4) when you have found the right one, change the number to 960051513

5) you should have 9999 crystals now.

6) start lvl 1-1 WHITHOUT building a tower (should award you 1 crystal so you got 10000 crystals now)

7) change the number to 960051513 AGAIN YES AGAIN!

😎 should be exactly 99990 crystals now.

9) repeat as needed, if you drop below 10000 you have to manually play over it again.

 

as promised, here is how to get to 999,900 crystals:

(were starting below 10000)

° type in 960051513 (-> 9999)

° play a game to get over 10000

° type in 960051513 (-> 9999x)

° play a game to get over 100000

° type in 960051513 (-> 9999xx)

YES I´M A GREEDY B A S T A R D ASWELL BUT THAT´S ENOUGH AS YOU BARELY CAN SPEND ANY MORE :P

 

i hope that helped, (basically it´s the same as lolpluslol said) FUZZY SEARCH IS YOUR FRIEND 😄

Yes, you can go over 9999 crystals by adding an extra square to the same equation.

Like:

808464433 + (A - 1) + (B x 256) + (C x 256²) + (D x 256³) + (E x 256⁴)+ .....

And keep going over, I used this it worked but I don't know which version was, now this totally doesn't work neither the equation!

Link to comment
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
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.