chrisreyn / Tap-Titans-2-Progress-Bot

A HiroMacro Progress Bot for Tap Titans 2
14 stars 14 forks source link

Sharing my working HS script (working as of 7/4/20) #105

Open I-Am-The-Liquor opened 4 years ago

I-Am-The-Liquor commented 4 years ago

Update 8/14/21 - HS got fucked by updates so been doing pet script instead. This requires Power of Swiping / Make it Rain. Skill levelling does not work if Select Spells thing isn't there (happens first run of tournament), be wary of that just level skills manually if it comes up and then run it and it's fine, it's only issue for first run of tournament.

PetPrestigeV1.4.txt

ContineltalABC commented 4 years ago

Hello, can you fix the prestige on this script please? They added a dragon fruit that we can change on the event settings, but there is a new Raid Stones that is preventing the bot to auto prestigie. image

I-Am-The-Liquor commented 4 years ago

It's fucking me as well right now, I should have this sorted out soon but haven't had much time to look at it so been prestiging 5 times manually and then letting it run on it's own after that. The issue is once you prestige 5 times the raid stone goes away so I have a limited window to test it but I should be able to address it tonight at some point. I also have a few other minor fixes I'm looking at to make it more stable.

ContineltalABC commented 4 years ago

Thats my issue, because if you buy the season pass like me they never go away.... T_T image since you have unlimited stones to do the solo raids.

No rush my friend.

I-Am-The-Liquor commented 4 years ago

Updated script in top comment, been running this for a little while and it seems stable, working for me with and without raid stones present. This script will NOT work when the event ends (because I can't properly test it right now) but I'll try to update it ASAP when that happens.

I-Am-The-Liquor commented 4 years ago

Minor update to the script in top comment. Prestige fix was rushed I fixed it up to make it a little quicker / easier to maintain and seems to be more reliable / consistent. When the event ends I should be able to adjust it so it will just work without having to mess with the event toggle anymore (and I'll remove that) but need to wait for the event to end to make the changes. I also made a change to level heroes quickly just one time in the beginning of the run. I did this because my SC is able to get stages / snap spawns early game but it needs those heroes, your mileage may vary but it speeds up my runs a little.

Richu58 commented 4 years ago

What's progression like on HS versus SC? Would love faster runs and not to lose to much progression, takes like 35 mins to lvl cap on SC at the moment (at like stage 95800ish)

I-Am-The-Liquor commented 4 years ago

I'm max stage and have just been trying to speed up my runs at this point. I was SC pretty much my entire TT2 career and switched to HS around 92-93k. I found the last push to 98k was way easier as HS and more competitive in tourneys. If you have appropriate gear & arts it's basically the same but your runs will be almost twice as quick. My experience was prior to the new sorc mythic set though so it's tough to say how SC is performing now, I been HS a while. The thing with HS is you can keep sneaking in new stages by getting within ~60 or so of your MS and then landing a Portar, the Portar gets you to MS and then HS skip gets another 39 stages so you can get to higher stages than your damage is actually capable of pushing you to. The big thing is making sure you have enough passives to maintain 39 HS splash skip your entire run, you can verify that here https://www.tt2-compendium.com/en/toolscorner/hsskip. If you can manage proper splash skip it's worth trying. I never did in the past because no script worked well with HS but once I tweaked this script I never looked back, should try it now while respecs are still discounted if you're considering it. The script isn't as good as running HS manually, my manual runs are 9-11 mins and the script takes about 14 but it's still way faster and efficient than my SC runs used to be (manual or with a script). When you need to rely on anchoring shot to clear stages the script slows down since it misses some of those anchoring shot hits, you might need to slow down the prestige time (var #prestigeStartTime) to 17-20 mins but that all depends on your spec.

Richu58 commented 4 years ago

Thanks for the quick reply, how many skill points do you have and any suggestions of a build for around 2900 skill points? Saw you said not to use AA

Richu58 commented 4 years ago

Also will look at the skip calc you linked, hoping like SC I won't need much as I have -199 titans per stage from intimidating presence

Richu58 commented 4 years ago

Oh you also said dont rely on fairy logic, does that mean you suggest not using a fairy gold build? Was looking at compendium and there is fairy or phom. https://www.tt2-compendium.com/en/builds/build/taco-hs-ms

I-Am-The-Liquor commented 4 years ago

No Fairy gold is fine I use fairy gold myself I say that because it's hard coded to click "accept" on fairy rewards. Only use fairy gold if you've spent enough money to not have to watch fairy ads. If you have not spent enough to skip fairy ads then you need to disable fairy ads in TT2 settings and should use phom.

Richu58 commented 4 years ago

Cool I have Vip so thats fine

I-Am-The-Liquor commented 4 years ago

I pretty much follow the fairy build on the compendium. If you want to push as much as possible daggers are essential but they'll slow you down quite a bit. The less you rely on daggers the quicker your runs will be. I think daggers are worth it, you can always just prestige below your MS if you want quick runs for the event.

Richu58 commented 4 years ago

Thanks, so that calculator you linked is that what lvl I need my heavenly strike skill at instead of lvling it to 30? Or is that the level I should have in angelic radience? sorry for 300 questions ive never played HS

I-Am-The-Liquor commented 4 years ago

That calculator is the level of the heavenly strike skill, not Angelic Radiance. HS skill gives splash skip and AR gives regular splash count so higher AR = more stages skipped (caps out at 39 stages for me with all mythic sets) but your "splash skip" (from the HS skill & passives) needs to be high enough to skip all titans to take advantage of the splash count. The tool is to determine if you're skipping enough titans to take advantage of splash count, it doesn't determine how many stages you can splash through. You have enough SP and should probably just max AR and HS (the script will always max HS at the start) - as long as the tool doesn't say RIP you'll be fine.

I-Am-The-Liquor commented 4 years ago

The compendium optimizes AR from a damage perspective but it's not taking into account speed of runs or the splash count (which is why it recommends maxing if you can at the read me at the top). You should max AR to splash through as many stages as possible. If you don't max AR you'll end up splashing through less than 39 stages per HS.

Richu58 commented 4 years ago

Hopefully last question, the mana regen is that a combo of LB and Siphon? i.e. lvl 2 LB and lvl 9 mana siphon gives 852.6 mana regen per minute. Or lvl 8 mana siphon and lvl 5 limit break gives 745.6 mana per minute.

I-Am-The-Liquor commented 4 years ago

yea it's all that shit - equipment sets, fluffers, LB and Mana Siphon. 850 is way more than you need I'd recommend going a little less but leaving some SP unspent (enough for a level of mana siphon or 2) and then doing some test runs to see if you're having mana issues or not. If it's sustainable spend that SP on damage and if not put more into mana siphon.

I-Am-The-Liquor commented 4 years ago

I'm nervous to run this script all day don't want to get banned, I run it for just a few hours per day and I'm in top ~3% right now in the event. This script is pretty dope could easily be top 1% if I let it run more or overnight every once in a while but just trying to play it safe I recommend everyone else does too don't want to abuse this shit too much. Only issue is Memu still does crash periodically, protip that helps is set your entire Memu background to TT2 in every square so when it does crash it ends up just clicking back into TT2 and getting back into it.

Richu58 commented 4 years ago

Thanks, nice tip. Looking at this setup for now, does that seem reasonable or anything stick out? image

I-Am-The-Liquor commented 4 years ago

That's a real solid pushing build but the end of your runs will be slow you basically won't be able to progress until you get daggers. That's perfect if you want a strong push build and decent chance in tourneys but it will be slow at the end. My build when pushing to 98k was very similar but less daggers and more into dimensional shift / TI / Cleaving Strike for slightly faster runs. If you want to take advantage of the script prestiging as fast as possible I'd recommend less daggers but if you don't mind the slightly longer runs and want to push as much as possible it's fine and probably worth it. You will definitely need to adjust the prestige time in the script though (not sure how much will need to play with it but probably 19-20 mins).

Richu58 commented 4 years ago

Awesome thanks again, trying it out now

I-Am-The-Liquor commented 4 years ago

It might take a few prestiges to get to where you were with SC depending on arts / gear but you'll get there quick and then going forward you'll progress much faster, it's worth it.

Richu58 commented 4 years ago

Was lucky and got a mystical HS slot 5 item yesterday that is better than my SC one so thats a good start, not expecting brilliance straight away, if I get to around 90% of my max I will be over the moon, already seems wayyyyyy faster than SC

I-Am-The-Liquor commented 4 years ago

Oh I just realized you have 0 in fairies, that will slow you down. I'd recommend putting some points in fairies when you get more SP so you spend less time stuck at a wall waiting on fairies. I have 10 but I reach 98k easy mode I think 4 is a good place to be when still pushing.

Richu58 commented 4 years ago

Without changing the timer I got to about 300 from my cap, had spare skill points, just put 10 into fairy haha.

Richu58 commented 4 years ago

I actually am beating my old max stage with this build and by about 130 lvls :)

I-Am-The-Liquor commented 4 years ago

Nice! I'm fairly confident this script will break when the event ends but I'll try to update it ASAP when that happens. In the meantime it's working great for me. I wish I could figure out a way to time HS with Anchoring Shot that would speed up runs so much. I spent quite a bit of time trying to figure something out and just could never get it working reliably so I gave up :\

Richu58 commented 4 years ago

Thanks heaps again, I need to head to bed. Have a good one :)

Richu58 commented 4 years ago

Also Nox seems to be running better still than memu. After the last update I find memu crashes even more for the other games I play

BestSiteEvar commented 4 years ago

@Richu58 What version of Nox are you running? I used to run a very stable version until I uninstalled and forget ever since, haha.

@I-Am-The-Liquor How long have you been playing TT2? You've reached 98k?! I took a one year break a while back when this repository was active but I'm only 78k and have spent a few to at least reach VIP and then some more. Thanks for updating the script and tweaking it for many of us!

I-Am-The-Liquor commented 4 years ago

I've been playing for ~2.5 years. In my experience Nox crashes less than Memu but it does this other weird issue where the script constantly resets. Seems like there is some sort of memory leak or something with Nox & HiroMacro - when you look through the HiroMacro logs you'll see constant "out of memory" errors which cause the script to restart mid-run (which resets the prestige timer). I tried Nox a few months ago and can confirm it crashed less but the script ended up being less effective overall because of how often that happened. Memu with a background full of TT2 shortcuts works better for me, it crashes periodically but then just jumps right back into the app on it's own when it does.

Richu58 commented 4 years ago

Runnng Nox 6.6.0.8005, I did get the resets with the SC script but hasn't happened with the HS one. Is there less in the script maybe to overwhelm the emulator? I do have nox set to High performance (4 cor cpu, 4096 mb memory) not sure if that is different to you or if I set nox to more memory maybe the other script wouldnt reset? Also a feature suggestion I would love is: a toggle that when turned on after you prestige (I spose just before you prestige would work too) all your relics are dumped into bos. Normally between tournaments I level bos only (cause im lazy) then in tournaments I level for progression, so in between tournaments it would be toggled on and during tournaments I would toggle it off. Just woke up after a nap does this make sense lol?

I-Am-The-Liquor commented 4 years ago

There's a lot less going on in the script, I dumbed it down quite a bit there's a lot less variables and "ifs" so it's very possible. It's also quicker runs so less chance of it happening I guess? I used Nox high performance as well with a beefy PC but haven't tried it with this script only back when I was doing ~30 min SC runs before my major modifications so maybe it's worth another shot. The BoS levelling is actually a great suggestion, it'd make for more efficient runs and I think it's very doable. I'm not going to do it right away because I'm lazy but I'll consider it next time I'm doing some testing and try to implement it.

Richu58 commented 4 years ago

Thanks heaps for all you do, if I wasnt a poor student I would try and donate to you

I-Am-The-Liquor commented 4 years ago

@Richu58 Was thinking about this at work earlier and realized it'd be tit easy to implement and is a damn fine idea, updated script in the top comment. It will level BoS in the beginning of the run after levelling skills, been testing it a few prestiges and it's working well, it's disabled by default you will need to toggle it. There is a color check in place that looks for BoS so if something gets mucked up it shouldn't waste any relics. I also moved a few settings, the only settings you should really modify are at the very beginning of the script now (prestigetime, level BoS). Most other settings don't do anything and should be ignored due to my super hack method of hard coding most of the tapping logic. Best thing to do is probably make 2 copies of the script one with it enabled and one with it disabled to easy mode swap back and forth.

Richu58 commented 4 years ago

Thanks heaps, you are a legend, will try it out after this tournament

Richu58 commented 4 years ago

Do you ignore leveling Chivalric Order as we aren't tapping? Optimizer is suggesting I start to lvl it but seems like a waste if it affects tap damage and we dont tap

I-Am-The-Liquor commented 4 years ago

I'm not sure how much but tap damage does affect HS, it's not wasted SP. My highest damage weapon for HS is actually a tap damage sword but I use my slightly weaker crit damage sword instead to buff my SC more for quicker early stages since I don't need the HS boost anymore to reach my ms.

Richu58 commented 4 years ago

Trying the new script now, only thing I can see so far is that it only clicks BOS once, I know that will put most the relics in with max turned on but I spose for optimal efficiency if it pressed the button a few more times to put all relics into BOS it would be "more efficient" Thanks again.

Richu58 commented 4 years ago

Haven't watched closely to see what is doing it and have only tried with the relic bos toggle on, but each time I have walked away I have come back and it has crashed without prestiging. The script without that option I can walk off on for hours and it's fine. Not sure if adding the toggle also changed something else? Been hectic sorry haven't had time to watch it properly.

I-Am-The-Liquor commented 4 years ago

The change was super basic, nothing crazy going on that would cause issues. I've been seeing more crashes too though even using the older script, I think it has to do with the most recent TT2 update not the script.

BestSiteEvar commented 4 years ago

Yeah I definitely think the update reduced the effectiveness of the script? I still use your old script because my build is CS based. I took a look at your HS one and just 'borrowed' the expanding menu function of the skills and heroes for more stability, effectiveness, and just all around easier. Since then, I feel like I have been crashing way more frequently. Idk if it's because of update or maybe I added something incorrectly somewhere. I'll just to debug between other old scripts xD. I'll also probably re check Memu performance settings to make sure nothing is acting up. Thanks again for your work!!

I-Am-The-Liquor commented 4 years ago

Yea I've been monitoring it and I really think the issues are with the latest TT2 update. I have gone back and forth with an older script that worked beautifully (that had the expanding menu) for weeks and this most recent script and seeing the same issues. The worst part is for me the most often times I get crashes is when it prestiges or directly after a prestige which results in having to level all heroes manually, that's a huge pain because of so many heroes. Don't think there is much that can be done, GH is talking about performance improvements in the next patch hopefully it will be sorted out but who knows.

I-Am-The-Liquor commented 4 years ago

There's also quite a few posts on Reddit talking about having trouble prestiging. They're all downvoted I think the community assumes the people reporting the issue are just dumb but I dunno I wouldn't be surprised if there's an issue with some devices that's affecting the emulator as well. I mean really at the end of the day a bad script would just fuck up the script, not crash the app. I've even had it crash prestiging manually.

BestSiteEvar commented 4 years ago

I hear that! I recently decided to go over the script and I pasted the code correctly. I decided to switch to Nox 6.6.0.5 like Richu suggested. I haven't had any restarts or crashes yet and has been running for 2, almost 3 hours! I'll keep alternating and see if anything happens but Nox looks stable so far. Even if the script reset occurs, I would rather deal with it for the moment. I keep an eye on it anyhow to make sure it runs appropriately and turn it off after like 8hrs-ish to reduce suspicion, haha.

I-Am-The-Liquor commented 4 years ago

Yea I swapped to Nox and it seems to be working way better. Richu was right I'm not getting the script restarts anymore with Nox & the newer HS script so it seems to be something in the old logic causing that. I changed a lot of shit so no idea what the culprit might be. Issue I'm having now though is intermittently when it tries to prestige I get an error saying there's no internet connection. It seems random, if I try again it works but the big problem is the script thinks it prestiged successfully whenever this happens. People in my clan have mentioned it and I've seen it on Reddit so I'm confident it's not just me and not a Nox issue. It should be fairly easy to put a check in to prevent it from thinking it prestiged properly and trying again when this comes up but I'm going to be busy the next few days with no access to my PC so probably won't be able to get to it until Monday or Tuesday.

Richu58 commented 4 years ago

Yeah wasn't sure if what you added overloaded the emulator or if it was the game crashing, seems for sure like its the game as even with the older HS script it is still crashing every now and then. I am also getting that no internet error on prestige on both manual and auto prestige's so definitely the game for that. Wasn't blaming your coding btw, you are awesome for keeping this going. Before the update I managed to run the old HS script for 8 hours straight with no crash on nox.

BestSiteEvar commented 4 years ago

I've stayed with Nox and ran as long as 8hrs+ without a single crash. Had only one today but no biggie. As for the connection issue, it's definitely server sided. It isn't a problem with the emulator(s)! They will have to fix on their own end for that, as for everything else it's very stable!!

I-Am-The-Liquor commented 4 years ago

So yea I get occasional crashes with Nox but overall it's working pretty well and the no internet prestige issue seems to happen way less often now so I never bothered addressing it I think GH worked it out. You guys who bought season passes the script probably still works just fine due to infinite raid stones but for me with no season pass raid stones go away after 5x prestiges (which moves prestige button) and it will not prestige any more. I think I have it in a state where it will work for every different prestige button scenario (using multiple prestige button color checks instead of hard coding it with a toggle so the prestige event toggle will no longer be needed) but I want to give it another final test tonight when my raid stones reset so I know for sure before throwing it out here.