Tap Titans 2 Advanced ClickBot (HiroMacro)

01/18/2017 09:24 Whyno#1
[Only registered and activated users can see links. Click Here To Register...]

Tap Titans 2 Advanced ClickBot


[Only registered and activated users can see links. Click Here To Register...]
Coming Soon:
  • Autostart tournament
  • Multiple ClanBoss Attacks (with dia drain)




Basic Requirements:
  • Android Device or Emulator
  • Resolution 480x800 (you can change it maybe if your device is different)
  • Root for HiroMacro




Instructions:
  1. Download NoxPlayer, MEmu, ...
  2. Enable root
  3. Set screen size to: 480x800
  4. Settings -> SuperUser -> disable notifications
  5. Install HiroMacro + Tap Titans 2
  6. Insert downloaded script by C+P
  7. HiroMacro Settings -> Color Access Method -> ScreenCapture
  8. Start HiroMacro Service
  9. Start Tap Titans 2
  10. Click on volume down to start the script
  11. again to stop

Optional for better performance:
  1. Set ScreenCapture delay in HiroMakro settings to 0
  2. Increase ram to 1500 or more.
  3. Increase used cores to 2 or more.



Settings available:
  • enableFairies: 1|0 (enable if you bought Premium and disable Ads, otherwise the bot stuck with the Ad PopUp)
  • enableSkills: 1|0
  • enableClanQuest 1|0
  • enableHeroes: 1|0
  • enableAutoprestige: 1|0
  • fullManaSkill: 2|3|4|5|6
  • prestigeAfterXMinutes: 1-300
  • intervalCrit: 0-n (set an interval to 1 if you want to use this skill every minute)
  • intervalFireBlade: 0-n
  • intervalMidas: 0-n
  • intervalShadowClone: 0-n
  • intervalHeroes: 0-n
  • runActionsOnStart: 1|0
  • startBossSkill: 0|2|3|4|5|6 (If the boss fight fails, the bot will wait for this skill before the next boss start)
  • startBossSecondarySkill: 0|2|3|4|5|6 (The bot press this skill on boss fight start, but without an readyup check)
  • skillIntensity: 1-n (increase this value if you want more taps on the level up buttons per scroll)
  • checkBossFight: 0|1 (enable this in the late game, bot skipps actions while fighting with the boss)
  • hatchEggs 0|1
  • enableTapping 0|1




Current version on GitHub:

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]



Tutorial [RU][EN Subtitles], thanks to indomix aka Kramer
01/19/2017 16:08 s4pped#2
Thanks

It seems like it doesnt start boss fights and lvl up heroes.
01/19/2017 17:39 Whyno#3
Thanks for the Feedback, I changed the boss detection in v0.3 (maybe it was not the best method before). Leveling Heroes is not on the feature list atm but coming soon.

Edit:
found another bug - fixed
01/21/2017 19:35 nmgame#4
Great work so far - can we get a Prestige and restart after 'x' minutes?
01/21/2017 19:43 Whyno#5
Yes I'm working on it, thats a feature on the next release.
01/21/2017 20:09 nmgame#6
Look forward to it!
01/21/2017 22:53 Whyno#7
Updated - autoprestige should work now
01/21/2017 23:22 nmgame#8
Quote:
Originally Posted by Whyno View Post
Updated - autoprestige should work now

Thank you!! :D

The hero algo is complicated, I can't seem to find an easy solution other than brute forcing upgrade spam.

Just wanted to give some feedback after a few hours of use/testing:

Your script is extremely stable and I am having great success with it, and your code is so elegantly written, 10/10

Can't wait for heroes and egg hatches to be fully functioning
01/22/2017 09:29 Whyno#9
thanks for the feedback, that was the main reason for this "little" project, the other scripts or macros are unstable or just too simple/complicated.
01/24/2017 18:04 wverri#10
I'll test it out. Thanks so much mate!
01/25/2017 21:28 Whyno#11
Updated - 0.8

- Improved auto heroeleveling (still not stable, already got a new idea)
- You can choose a skill which will be auto activated on full mana
- Add new settings (enableAutoPrestige, fullManaSkill,...)
- Detect running fireblade
01/25/2017 23:07 Mackkz#12
Definitely a lot of promise with this, but there's still a lot of erraticness in its execution. Hero leveling is still very hit or miss, and most of the time the script just scrolls through my hero page without leveling anything. At times, the clicking changes to the point that it just starts tapping once every few seconds in the middle of the skills page, rather than the traditional clicking pattern. And lastly, I don't think it handles stage transitions very well, as on multiple instances the script claimed to be skipping actions either due to ongoing boss fights or during stage transitions.

I love what you've done so far, but the scripts behavior definitely prevents me from being comfortable leaving it going in the background as I've seen it spiral out of control within 10-15 minutes pretty consistently. Haven't even been able to get to a point where I can properly test the auto prestige features. To clarify, I have 10 points in Intimidating presence which drastically cuts down on titans between stages, so maybe the speed of my climbing is affecting the scripts execution?

Looking forward to seeing how it evolves Whyno!
01/25/2017 23:43 Whyno#13
thanks for the feedback, you should definitely disable the "auto" lvl heroes function at the current state (its disabled by default and only for testing). Its very slow - I have to wait for the animation of the lvl up button for the next color scan (your described bug is already in my bug list above). Its hard to implement a fast and secure solution here (dynamic hero array), but I try to work on it. Can you give me a step by step example or maybe a clip (private youtube upload or something with the "crash/out of control" situation). It should run stable without the heroes function. Maybe you can give me some tipps for the "hight" level event handling. Current "event" logic:

every 1500 random hits:
- checking boss fight progress (and running fireblade) -> if running -> skipping and going ahead with 1500 hits
- if not -> checking skills
- level up titan
- check boss button and fireblade status -> if both available -> starting blade and boss fight
-> going ahead with 1500 hits

every 500 hits:
- checking mana
- if full -> run blade/midas/...
01/26/2017 00:30 Mackkz#14
At a higher level, the only real functionality that is relevant for grinding is hero leveling, clicking to proc pet attacks, and auto prestiging after X amount of minutes to repeat the cycle. The event logic for utilizing skills is definitely relevant for lower levels, but when I'm able to grind to 2600 or 2700 without using any skills, then a lot of the event logic doesn't really apply to my situation and is surplus to my requirements.

I'm back to running the game without the script, but if I go back to it I'll try to determine some sort of step-by-step description of what leads to the script going out of control.

Thanks again
01/27/2017 17:16 testdriver123#15
Is it possible to remake this for 1080X 1920?

I understand the coords for menu and skills etc. but the

//slide back
touchDown 1 280 650
sleep 200
touchMove 1 280 600
sleep 50
touchMove 1 280 700
sleep 50
touchMove 1 280 750
sleep 50
touchMove 1 280 780
touchUp 1
sleep 200

among others is confusing.

Quote:
Originally Posted by testdriver123 View Post
Is it possible to remake this for 1080X 1920?

I understand the coords for menu and skills etc. but the

//slide back
touchDown 1 280 650
sleep 200
touchMove 1 280 600
sleep 50
touchMove 1 280 700
sleep 50
touchMove 1 280 750
sleep 50
touchMove 1 280 780
touchUp 1
sleep 200

among others is confusing.
I've converted every coord to 1920 1080 by multiplying by 2.25 and 2.4. sadly when I start the macro I get an "unfortunately, hiroMacro has stopped. message. This does not happen to my own macro's btw. any advice? edit: I think it is dependent on my phone, oneplus 1 with lolipop. apparently that doesnt see getcolor thus I need kitkat for it. will update