chrisreyn / Tap-Titans-2-Progress-Bot

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

Stops after one run through #16

Open buggv2 opened 6 years ago

buggv2 commented 6 years ago

Hello, I have an issue where the script stops after one run through it. I'm unsure what the problem is and why it doesn't stay active. Any help is appreciated!

chrisreyn commented 6 years ago

what is the last thing it does? and by "stops after one run", is this including a prestige or does it stop right before a prestige?

buggv2 commented 6 years ago

Hello! It stops before prestige. So what it does is, upgrade tap -> upgrade tap -> upgrade heroes -> tap a few time -> done. That's all it seems to do for me 😭

chrisreyn commented 6 years ago

and then it says "finished running script" (non-verbatim) ?

the only thing I changed in prestige is how scrolling works and a few sleep durations so I am not sure what is causing this error.

which version of the script is this? can you specify me the date i placed at the top of the script

Mojishun commented 6 years ago

I just downloaded the script to replace my Tune setup- it's doing the same thing. The date at the top is May 3. The only thing I changed so far is the timer on FS. It opens the hero menu, scrolls down the skills, levels heroes, goes back to level skills, starts skills, then displays "Playing finished!"

chrisreyn commented 6 years ago

Can you try the development code and report back if you still encounter errors in prestige. Grab a copy of the "Advanced Click" code, I renamed the file https://github.com/chrisreyn/Tap-Titans-2-Progress-Bot/tree/Development-May-21

buggv2 commented 6 years ago

I will try that and report back, it's exactly as Moji said and may 3rd for me as well 😄

Mojishun commented 6 years ago

Just tried the advanced click, just changed the timer again but otherwise no edits- Same issue with ending early, but now it ends before actually using any skills. Edit: If it matters, running nox 5.1.1

chrisreyn commented 6 years ago

i am honestly even more clueless now... I assume you restarted Memu (you're using Memu right, not Nox? Compatibility of Nox Android 5 and Hiro wasnt that great as of 6.0.9.0(?) due to memory issues, and i havent tried the new 6.1).

by hero you mean on the hero tab and not the sword master?

do you guys have any speculations as to how i could edit this to fix it...? haha i am stumped

Mojishun commented 6 years ago

I just downloaded Memu, is there something that I'm supposed to be doing other than Hiro to get the script set up there - Hiro's text input paste doesn't keep any spacing? I was following a guide to set up a script inside Memu but I'm not sure if it accepts the same coding style, and Hiro just stops and ends without doing anything at all in Memu

chrisreyn commented 6 years ago

unlike in Nox, you can't copy paste on Memu since formatting isn't preserved. You have to use the Memu file manager. Save the scripts in .txt and place it in any of the Memu folders. Then open Memu file manager, locate your scripts and copy them into HiroMacro>Documents folder

As in Nox, I also change default launcher to Nova because it prevents downloading ad apps in the background and causes memory issues (on Nox mostly). You can grab it on the play store.

I should update the ReadMe file on my github....

Mojishun commented 6 years ago

Swapping to Memu seemed to fix the issue for me. Not sure why Nox wasn't working with the same code. It's been running well for a few hours straight now. Thanks for the tip on transferring files.

buggv2 commented 6 years ago

works now for me on memu, thank you!

chrisreyn commented 6 years ago

glad to have helped you both!