chrisreyn / Tap-Titans-2-Progress-Bot

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

Skill activation on advanced click macro. #21

Open aexonx opened 6 years ago

aexonx commented 6 years ago

the skill activation delay time doesn't work even i already change it to

//press given skills every X seconds var #intervalHS 0 var #intervalDS 305 var #intervalFS 0 var #intervalHoM 0 var #intervalWC 300 var #intervalSC 0

since i cant rely mana siphon because low mana capacity + low sp its really draining my mana super fast

chrisreyn commented 6 years ago

but it's correct that it activates DS and WC (it doesnt activate any other skill)? just too often?

aexonx commented 6 years ago

oh im wrote it on a wrong way. its like this. i already change it to that, but the macro is still activating all the skill.

chrisreyn commented 6 years ago

i pushed a new version just now. can you check if it skips the other skills now?

aexonx commented 6 years ago

ok sure

aexonx commented 6 years ago

so the skill activation is fixed thanks, but its not active immediatly (the skill activation work on the 2nd loop but thats fine). Another thing is can you tell me where to change the macro for sliding down to the bottom hero? (since its taking too much slide maybe reduce it 2-3 times) and the delay to open the clan chat menu to click the clan quest and then click fight? since the menu is sometimes loading it for 1-2 second

chrisreyn commented 6 years ago

extra scroll down i put in :lvlBottomHero check the blocks of code that start with //temp

clan quest menu delay

:checkClanQuestReady
    sleep 4000

    if #agree == 1
        getRGB #colorRed #colorGreen #colorBlue 428 639
        if #colorRed == -216 or #colorGreen == -96
            touchDown 0 300 630
            sleep 50
            touchUp 0
            sleep 50
            touchDown 0 300 630
            sleep 50
            touchUp 0
            sleep 50
            touchDown 0 300 630
            sleep 50
            touchUp 0
            sleep 1100
        endif
    endif

the point of this delay is to make sure you dont get stuck on a fairy ad if you're set to open fairies. but thinking about it, i should only add the extra delay if #agree or #decline is on, not all the time. i'll be sure to change this in the next revision

chrisreyn commented 6 years ago

in the latest upload, i moved the scroll down to :levelHeroesScrollDown so it made more sense where it was placed. I removed about 2 blocks

aexonx commented 6 years ago

im trying the new version now, and it seems the bug skill activation exist (again). it seems that the late run > 1 option overiding the late run 0. but dunno imma gonna check it.

update: well it seems changing the

intervalHS = 0

intervalDS =0

intervalFS =0

intervalHoM = 0

intervalWC = 0

intervalSC = 0

in both //press given skills every X seconds, and //these will be the skill intervals when #lateRun > 0 is not changing anything

update 2nd: it seems that every 10-12 second the skill will be activated in order 3,2,5,4. (6 didnt press)

chrisreyn commented 6 years ago

my #lateRun works fine

yes, that is the order in my code

i will have to check again

aexonx commented 6 years ago

oh can you point where is the code to stop leveling the bottom hero ?