[REQUEST] Hexagonal Tower

Ask about cheats/tables for single player games here
kamaoako
Cheater
Cheater
Posts: 45
Joined: Thu Mar 03, 2022 6:16 am
Reputation: 13

Re: [REQUEST] Hexagonal Tower

Post by kamaoako »

panraven wrote:
Sun Apr 24, 2022 6:04 pm
Sorry, it seems I've another forgotten edit to enable all upgrade, but not this one. Plz ignore at the moment.
-- UPDATE START
It is embarrassing but at last figure out what I've done to produce the effect.

It is caused by spending the 1st upgrade with the following edit (red text).

To do so I reset my save, by deleting the content in [C:\Users\<username>\AppData\Local\HexagonalTower] (it may be different in your installation).
Then play the easy level to earn 100 gems WITHOUT modify the *.js
I backup the content in [C:\Users\<username>\AppData\Local\HexagonalTower] in case anything wrong.
Then edit the *.js (red text).
In game upgrade the 1st item, go back then start again will see all upgrade enabled.
Don't play with modified *.js as the text display will be buggy/missing.
Restore the *.js then play normally.
ya(){const l=this.W.ga().nF();var m=l.length;if(0===m)return this.Fy?"":0;m=d(this.Qc.Wu,m);return 10+l[m].h1(this.R6)}
------ UPDATED END


Some how I got all upgrade from the start, kind of.

Try follow these steps:
1. rename package.nw to something else, eg. 1package.nw;
2. make a DIRECTORY 'package.nw', ie. same name as the original FILE package.nw;
3. use 7z, open #1 (the renamed) file (I don't remember if I added a 7z extension before, hopefully it can open by default ) and extract all to #2
DIRECTORY;
(step 1-3 may apply to other game with package.nw)
4. there is a file package.nw\scripts\c3runtime.js, which is our target file to be modified;
4.1. I try beautified it but it will become buggy if saved, beautified version may only use as reference;
4.2. if beautified with unescaped unicode, there may show some Chinese characters, but not necessary helpful;
5. search ["":0] (without [ ]), there should only be 3-4 occurrences;
5.1. the target one is in a function definition without parameter, in my version, this is the src text (a new line added):

Code: Select all

ya(){const l=this.W.ga().nF();var m=l.length;if(0===m)return this.Fy?"":0;m=d(this.Qc.Wu,m);return l[m].h1(this.R6)}
sb(){var l=this.W,m=l.ga().nF(),p=m.length;if(0===p)return this.Fy?"":0;
5.2 it can be seen that there are two ["":0] side by side, I modified the 1st one's [0] to 1, then got the all upgrade;

that's it.
Wow! this is awesome! Finally, someone was able to crack the code. I am somehow unable to make it work on my end. Here is what I did based on your step-by-step guide. I used the Reset Data in the game to reset everything after I back up the User Data.

1. Inside the steam library of the game. I renamed the package.nw to 1package.nw
1.1 I created a new folder and named it package.nw
1.2 I used winrar to extract the contents of 1package.nw to the folder package.nw
2. In the Local C:\User\appdata\local\hexagonaltower
2.1 I back up User Data folder
3. Run the Game
3.1 Under options I used the Reset Data and then got the confirmation.
3.2 I played the first level under easy mode and finished the game.
3.3 I then edited the c3runtime.js inside the package.new\scripts folder I change the 1 to 10+ as instructed then saved it
3.4 I press start and then select Normal Difficulty and then press start to continue to the upgrade section
3.5 I upgraded the first Upgrade option called "Rush"
3.6 This is the part where I got confused I have tried both the following
3.6.1 First after I upgraded the Rush I then click back to the difficulty screen then click start but only 1 was upgraded.
3.6.2 The second option I did after restoring the package.nw and the user data then doing the steps again, After the Rush upgrade I click back
and exit the game and restored the package.nw file and then start the game and when I got to the upgrade section only the Rush
upgrade was unlocked.
4. I then did the old instructions after restoring the files back to default were to change the "":0 to "":1 but still no luck in unlocking all the upgrades.

I am still trying your instructions with different variations but have had no luck on my end.

Also, are you able to find the Tower stats like damage and Attack speed, Crit chance and crit damage? Thanks for your help!

panraven
Table Makers
Table Makers
Posts: 129
Joined: Fri Mar 03, 2017 12:03 am
Reputation: 118

Re: [REQUEST] Hexagonal Tower

Post by panraven »

kamaoako wrote:
Mon Apr 25, 2022 1:41 pm
panraven wrote:
Sun Apr 24, 2022 6:04 pm
...snip...
...
I am still trying your instructions with different variations but have had no luck on my end.
Sorry for the trouble, hopefully the following revised steps a bit more clear.
Also, are you able to find the Tower stats like damage and Attack speed, Crit chance and crit damage? Thanks for your help!
No luck. Cxruntime,js packaging is so fuzzy and dizzy.

Steps for unlock upgrades(?)
----------------

Back up data:
1. located at [C:\Users\<username>\AppData\Local\HexagonalTower], there should be a [User Data] directory, zip or copy as appropriate;

Backup/Rename package.nw (file/directory)

1.Since file and directory cannot have same name, it may be convience to do following:
1.1 extract original file [package.nw] to directory [package.nw.ori],
1.2 then copy directory [package.nw.ori] to director [package.nw.mod],
1.3 rename file [package.nw] to something else eg. [0package.nw],
1.4 when play with orignal, copy directory [package.nw.ori] to directory [package.nw]
1.5 when play with modified, copy directory [package.nw.mod] to directory [package.nw]
there may be multiple *.mod, eg. keep one for working and others for experimenting;

So far I've only one working cheat, ignore my previous post pls.

Steps to get all upgrades:

1. [package.nw\scripts\c3runtime.js] (in your *.mod directory) is the target file to modify;
2. search [?"":0], should be 4 cases, target should be 2nd where it look like following:

Code: Select all

ya(){const l=this.W.ga().nF();var m=l.length;if(0===m)return this.Fy?"":0;m=d(this.Qc.Wu,m);return l[m].h1(this.R6)}
3. the modification is [...return l[m].h1...] => [...return 999+l[m].h1...]
3.1 999 is abitary, it can be 10, both tested working on my side;

4. This modification is buggy on playing, it is used only at the moment buying an upgrade;
5. If you have enough gem to buy an upgrade, goto 6, else may try following to reset progress and play an easy level for the gems;
5.1 Back up data current progress;
5.2 delete the [User Data] director to clear progress;
5.3 copy [package.nw.ori] to play a normal easy level;
5.4 play the easy level for gem for upgrade;

6 Back up current progress before buying upgrade, just in case;
6.1 copy [package.nw.mod] and enter game;
6.2 buy the upgrade, ->[back]->[start] to confirm gaining all upgrades;
6.3 [exit] game since this modification is buggy;
6.4 copy [package.nw.ori] to play normally, but with all upgrade unlocked;

User avatar
jfowler11
Expert Cheater
Expert Cheater
Posts: 56
Joined: Tue Apr 09, 2019 11:23 am
Reputation: 13

Re: [REQUEST] Hexagonal Tower

Post by jfowler11 »

I contacted the dev about the game being too hard and he said he would lower the difficulty, which he recently did in version 1.0.3, but its still a little too difficult. That white hairy boss with fangs goes WAY too fast! 😲

kamaoako
Cheater
Cheater
Posts: 45
Joined: Thu Mar 03, 2022 6:16 am
Reputation: 13

Re: [REQUEST] Hexagonal Tower

Post by kamaoako »

The steps work!

Instead of 1, it will show 0 but it is already activated.

Image
Image



Now to find the tower stats if possible.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Livaliz