The Perfect Tower II – The Perfect Tower II – Auto Click Script for Headquarters/Facility AI

The Perfect Tower II – The Perfect Tower II – Auto Click Script for Headquarters/Facility AI 1 - steamlists.com
The Perfect Tower II – The Perfect Tower II – Auto Click Script for Headquarters/Facility AI 1 - steamlists.com

Once unlocked in the Headquarters, you can use Scripts to automate many parts of the game or at least reduce the amount of carpal tunnel inducing clicking you have to do. These Scripts can be really powerful, but also a pain in the a*s to write. That’s why I decided to try and save you from that hassle and share some of the more useful Scripts I use.
 
Don’t expect them to be clean or optimal, but they do work quite well. I might rewrite them if there’s enough demand.
 
 

Autoclick

Let’s start with the most basic automation: autoclicking at the current mouse position.
 
 
I use two variants of autoclicking script. The first one just clicks at the current cursor position as fast as possible. Useful mainly for tedious upgrading in the lab, e.g. Fire, Earth or Air experiment (also Electricity, but that one was too annoying even with an autoclicker script, so I wrote another script specifically for that), or upgrading technology in the HQ.
 
 
To use the Script, go to Headquarters / Facility AI and import the following:
 
 

 
CWF1dG9jbGljawEAAAAFa2V5LmMAAAAAAgAAAA1nZW5lcmljLmNsaWNrDm1vdXNlLnBvc2l0aW9uDGdlbmVyaWMuZ290bwhjb25zdGFudAIBAAAA
 

 
Press F4 to start the AI overlay and hit “C” (as in “click”) to start clicking. Press F4 again to stop.
 
 
The second Script comes in 4 parts and autoclicks at a set interval, default is 10 seconds. I mainly use it on the second floor of Power Plant (constructing dyson drones) and Mine (scanning for clusters). Import these to use it:
 
 

 
DlNsb3dfYXV0b2NsaWNrAQAAAAVrZXkueAAAAAAJAAAAEWdsb2JhbC5kb3VibGUuc2V0CGNvbnN0YW50BAtDbGlja190aW1lcghjb25zdGFudAMAAAAAAAAkQA1nZW5lcmljLmNsaWNrDm1vdXNlLnBvc2l0aW9uEWdsb2JhbC5kb3VibGUuc2V0CGNvbnN0YW50BAdzZWNvbmRzCGNvbnN0YW50AwAAAAAAAAAADGdlbmVyaWMud2FpdAhjb25zdGFudAMAAAAAAADwPxFnbG9iYWwuZG91YmxlLnNldAhjb25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ZXQIY29uc3RhbnQEC2NsaWNrX3RpbWVyCGNvbnN0YW50BAEtCGNvbnN0YW50AwAAAAAAAPA/DGdlbmVyaWMuc3RvcAhjb25zdGFudAQIc3BlZWRfdXA=

BXJlc2V0AQAAAAVrZXkucgAAAAACAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAVyZXNldAhjb25zdGFudAIBAAAADGdlbmVyaWMuc3RvcAhjb25zdGFudAQFcmVzZXQ=
 

 
 
With AI overlay active (F4 to toggle that), hit “X” to start autoclicking with a default interval of 10 seconds. To increase the interval by 1 second, hit “8” and to decrease it by 1 second hit “2”. Reset the running timer by hitting “R” (performs 1 click instantly). (I use 8 and 2 for that because they correspond to up and down on the num pad. If you want to change that, edit the Speed_up and Slow_down Scripts respectively and change the Impulse).
 
While the script is running, you can see the set interval (click_timer) and the counting timer(seconds) in the top right corner of your window:
 
 
The Perfect Tower II - The Perfect Tower II - Auto Click Script for Headquarters/Facility AI - Autoclick - 36E2357
 
 
 

Tower Testing – Skills

Doesn’t get much more basic than this.
 
 

BnNraWxscwEAAAAFa2V5LnMAAAAABgAAABd0b3dlci5tb2R1bGUudXNlaW5zdGFudAhjb25zdGFudAIBAAAAF3Rvd2VyLm1vZHVsZS51c2VpbnN0YW50CGNvbnN0YW50AgIAAAAXdG93ZXIubW9kdWxlLnVzZWluc3RhbnQIY29uc3RhbnQCAwAAABd0b3dlci5tb2R1bGUudXNlaW5zdGFudAhjb25zdGFudAIEAAAADGdlbmVyaWMud2FpdAhjb25zdGFudAMAAAAAAAAAQAxnZW5lcmljLmdvdG8IY29uc3RhbnQCAQAAAA==

 
 
Start the Script by hitting “S” with the AI overlay active and it will try to use 4 tower skills every 2 seconds. Change the order of the “use module” lines in the script if you want to give priority to skills lower down in the list. If you want to use more than 4 skills, just add more of the appropriate lines to the script (should be self-explanatory).
 
Change the “2” in line 5 if you want it to try and fire your skills at a different interval or delete line 5 completely if you want skills to start instantly as soon as they are off cooldown.
 
 
 

Mining

A simple mining script. Loops through all resource taps and keeps mining all layers continuously. It also keeps your drill fuelled and running.
 
 
Import these two parts to run it:
 
 

BG1pbmUAAAAAAQAAABJ0b3duLndpbmRvdy5pc29wZW4IY29uc3RhbnQEBG1pbmUOAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAdtaW5ldGFiCGNvbnN0YW50AgEAAAAIbWluZS50YWIOZ2xvYmFsLmludC5nZXQIY29uc3RhbnQEB21pbmV0YWINbWluZS5uZXdsYXllcg5nbG9iYWwuaW50LnNldAhjb25zdGFudAQFbWluZXgIY29uc3RhbnQCAAAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQFbWluZXkIY29uc3RhbnQCAAAAAAhtaW5lLmRpZw5nbG9iYWwuaW50LmdldAhjb25zdGFudAQFbWluZXgOZ2xvYmFsLmludC5nZXQIY29uc3RhbnQEBW1pbmV5Dmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAVtaW5leA5hcml0aG1ldGljLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQFbWluZXgIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nZW5lcmljLmdvdG9pZghjb25zdGFudAIGAAAADmNvbXBhcmlzb24uaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAVtaW5leAhjb25zdGFudAQBPAhjb25zdGFudAIEAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAVtaW5leAhjb25zdGFudAIAAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAVtaW5leQ5hcml0aG1ldGljLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQFbWluZXkIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nZW5lcmljLmdvdG9pZghjb25zdGFudAIGAAAADmNvbXBhcmlzb24uaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAVtaW5leQhjb25zdGFudAQBPAhjb25zdGFudAIEAAAADmdlbmVyaWMuZ290b2lmCGNvbnN0YW50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xvYmFsLmludC5zZXQIY29uc3RhbnQEBW1pbmV4CGNvbnN0YW50AgAAAAAOZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEBW1pbmV5CGNvbnN0YW50AgAAAAAPZ2VuZXJpYy5leGVjdXRlCGNvbnN0YW50BARtaW5lEWdlbmVyaWMud2FpdHdoaWxlDmNvbXBhcmlzb24uaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAdtaW5ldGFiCGNvbnN0YW50BAE8CGNvbnN0YW50Ag0AAAAOZ2VuZXJpYy5nb3RvaWYIY29uc3RhbnQCAQAAABJ0b3duLndpbmRvdy5pc29wZW4IY29uc3RhbnQEBG1pbmUMZ2VuZXJpYy5zdG9wCGNvbnN0YW50BARNaW5lDGdlbmVyaWMuc3RvcAhjb25zdGFudAQJbWluZXJlc2V0

 
To start the Script, simply open the mine window while AI overlay is active or press “0”.
 
It’s possible to have more than 1 instance of the same script active (active scripts are listed in the top left). If that’s the case, things don’t work as intended! Hit F4 to stop all active scripts and start over.
 
If you don’t have the resources yet to mine on all layers, just make two little changes:
 
Let’s say for example that Workshop resources (blue) are the highest tier you can afford. Blue is the 4th mining tab, so go to your Headquarters / Facility AI, edit the “Mine” script and change the “12” in the last line to the number of the highest mining resource tab you can afford (4 in this example), and in the Script “Minereset”, change the “13” in line 8 to that same value plus one (-> 5 in this example).
 
If you don’t want it to loop and just mine every layer of every resource once, simply choose a trigger for the “Mine” script and ignore “Minereset”.
 
 
The Perfect Tower II - The Perfect Tower II - Auto Click Script for Headquarters/Facility AI - Mining - EAF9D85
 

 
The Perfect Tower II - The Perfect Tower II - Auto Click Script for Headquarters/Facility AI - Mining - BCB76B6
 
 
Having workers on mining duty won’t interfere with the script (a bit of loss might be possible if you have the workers on “slow (5 sec.)” speed, anything faster than that should be guaranteed lossless.)
 
 
 

Museum – Power Stones

If you have the Museum’s Exotic Skill “Offshore Market” unlocked, you can use these to buy and combine power stones of any element.
 
The maximum tier for buying power stones is (arbitrarily) set to 30.
 
 
Import these to use the Scripts:
 
 
U – Universal:
 
 

D1N0b25lX1VuaXZlcnNhbAEAAAAFa2V5LnUAAAAAAwAAABBtdXNldW0uYnV5TWFya2V0CGNvbnN0YW50BAl1bml2ZXJzYWwIY29uc3RhbnQCHgAAAA5tdXNldW0uY29tYmluZQhjb25zdGFudAIAAAAADGdlbmVyaWMuZ290bwhjb25zdGFudAIBAAAA

 
 
F – Fire
 
 

ClN0b25lX0ZpcmUBAAAABWtleS5mAAAAAAMAAAAQbXVzZXVtLmJ1eU1hcmtldAhjb25zdGFudAQEZmlyZQhjb25zdGFudAIeAAAADm11c2V1bS5jb21iaW5lCGNvbnN0YW50AgAAAAAMZ2VuZXJpYy5nb3RvCGNvbnN0YW50AgEAAAA=

 
 
W – Water
 
 

C1N0b25lX3dhdGVyAQAAAAVrZXkudwAAAAADAAAAEG11c2V1bS5idXlNYXJrZXQIY29uc3RhbnQEBXdhdGVyCGNvbnN0YW50Ah4AAAAObXVzZXVtLmNvbWJpbmUIY29uc3RhbnQCAAAAAAxnZW5lcmljLmdvdG8IY29uc3RhbnQCAQAAAA==

 
 
E – Earth
 
 

C1N0b25lX2VhcnRoAQAAAAVrZXkuZQAAAAADAAAAEG11c2V1bS5idXlNYXJrZXQIY29uc3RhbnQEBWVhcnRoCGNvbnN0YW50Ah4AAAAObXVzZXVtLmNvbWJpbmUIY29uc3RhbnQCAAAAAAxnZW5lcmljLmdvdG8IY29uc3RhbnQCAQAAAA==

 
 
A – Air
 
 

CVN0b25lX2FpcgEAAAAFa2V5LmEAAAAAAwAAABBtdXNldW0uYnV5TWFya2V0CGNvbnN0YW50BANhaXIIY29uc3RhbnQCHgAAAA5tdXNldW0uY29tYmluZQhjb25zdGFudAIAAAAADGdlbmVyaWMuZ290bwhjb25zdGFudAIBAAAA

 
 
N – Nature
 
 

DFN0b25lX25hdHVyZQEAAAAFa2V5Lm4AAAAAAwAAABBtdXNldW0uYnV5TWFya2V0CGNvbnN0YW50BAZuYXR1cmUIY29uc3RhbnQCHgAAAA5tdXNldW0uY29tYmluZQhjb25zdGFudAIAAAAADGdlbmVyaWMuZ290bwhjb25zdGFudAIBAAAA

 
 
L – Light
 
 

C1N0b25lX2xpZ2h0AQAAAAVrZXkubAAAAAADAAAAEG11c2V1bS5idXlNYXJrZXQIY29uc3RhbnQEBWxpZ2h0CGNvbnN0YW50Ah4AAAAObXVzZXVtLmNvbWJpbmUIY29uc3RhbnQCAAAAAAxnZW5lcmljLmdvdG8IY29uc3RhbnQCAQAAAA==

 
 
D – Darkness
 
 

DlN0b25lX0RhcmtuZXNzAQAAAAVrZXkuZAAAAAADAAAAEG11c2V1bS5idXlNYXJrZXQIY29uc3RhbnQECGRhcmtuZXNzCGNvbnN0YW50Ah4AAAAObXVzZXVtLmNvbWJpbmUIY29uc3RhbnQCAAAAAAxnZW5lcmljLmdvdG8IY29uc3RhbnQCAQAAAA==

 
 
Y – Electricity
 
 

EVN0b25lX2VsZWN0cmljaXR5AQAAAAVrZXkueQAAAAADAAAAEG11c2V1bS5idXlNYXJrZXQIY29uc3RhbnQEC2VsZWN0cmljaXR5CGNvbnN0YW50Ah4AAAAObXVzZXVtLmNvbWJpbmUIY29uc3RhbnQCAAAAAAxnZW5lcmljLmdvdG8IY29uc3RhbnQCAQAAAA==

 
 
If there’s a power stone type in the offshore market that you want to buy, hit F4 to enable the AI overlay and the first letter of the element you want (except for Electricity which uses “Y” since “E” is already used for “Earth”). To stop, just hit F4 again.
 
The process runs faster if you hit the “Fill Inventory” Button, and faster still if you click and hold the “Combine” Button.
 
 
The Perfect Tower II - The Perfect Tower II - Auto Click Script for Headquarters/Facility AI - Museum - Power Stones - D8666BA
 
 
 

Laboratory Experiment – Electricity

The perfect experiment for Carpal Tunnel Enthusiasts.
 
I’ve ignored this one for ages because it’s just a pain in the butt and insanely tedious to progress little steps from one prestige to the next.
 
Now I have a (two-part) Script that takes care of the whole process in about 85 seconds.
 
 
Import these two and enjoy:
 
 

DkxhYmV4X2VsZWNfdXBn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EASoPc2NyZWVuLmhlaWdodC5k

 
 
To start, go to your Lab and open the Electricity Experiment, and right after a Prestige enable the AI overlay, hit “9”, get a glass of water and let the script do it’s thing for the next ~1.5 minutes.
 
You’ll be ready for the next prestige immediately, so just run it again and again until you can’t afford it any longer.
 
If you have bought anything in the Electricity experiment after your last prestige, the script probably won’t work (or at least won’t work well), but I haven’t tested that.
 
If it looks like this, you’re fine and good to go:
 
 
The Perfect Tower II - The Perfect Tower II - Auto Click Script for Headquarters/Facility AI - Laboratory Experiment - Electricity - 7B743C2
 
…and a few moments later it looks like this, and you didn’t have to move a muscle:
 
 
The Perfect Tower II - The Perfect Tower II - Auto Click Script for Headquarters/Facility AI - Laboratory Experiment - Electricity - F10BC20
 
 
 

That’s all, folks

All the “click somewhere” parts of the scripts are taking window height and width into account and should theoretically work regardless of your window size. But I haven’t tested everything, and if positions of GUI elements change due to game updates (or in-game unlocks, maybe?), things will definitely break.
 
If that happens and you want to correct it, or if you want to write a script with “click somewhere” elements yourself but don’t know what numbers to use to tell your script the right position to perform a click, you can easily find all you need using the “UNIVERSAL_MOUSE_DEBUG” script available here (“First scripts” section), along with more info on scripts generally:
 
Link – [perfecttower2.com] 
 
 
I’ve tried writing a few more Scripts, like autocrafting chips in the Factory.
 
Did it work? – Yes.
 
Did it work well? – Hell no!
 
 
Then military perks came along and the Factory’s second floor came with an autocrafting system far superior to anything a Script could possibly do.
 
I guess the Factory just has to remain a hassle of manual tasks until second floor is unlocked.
 
 
If there’s anything else you’d like to see automated with a Script but writing it yourself is just too confusing or annoying, feel free to tell me your idea and I might give it a try.
 
 

Written by wolfram.stahl

 
 
I hope you enjoy the Guide we share about The Perfect Tower II – The Perfect Tower II – Auto Click Script for Headquarters/Facility AI; if you think we forget to add or we should add more information, please let us know via commenting below! See you soon!
 
 


Be the first to comment

Leave a Reply

Your email address will not be published.


*