gavboi / btd6-farming

Repeatedly plays games of BloonsTD6 to get experience and monkey money.
9 stars 1 forks source link

stops after getting first monkey knowledge point #23

Open DereC4 opened 3 months ago

DereC4 commented 3 months ago

ive tested it a bit and it seems like this is the case

also ive also found out that mermonkey does not get placed down when you select that option

gavboi commented 2 months ago

Just to be 100% sure I'm understanding, you are saying when your account levels up, the popup in-game that lets you know of your level and the one with the book indicating you gained a monkey knowledge point does not close automatically? If yes, I have tried fixing this already from the original state (that still worked for me) so I'm not sure what else I can do. The current relevant code is below, maybe try messing with it a bit? (line ~390)

color := colorHere(274, 987)        ; check for level up (by looking for the monkey's arm in the bottom left)
if (nearColor(color, 0x194e9e)) {   ; (if color in corner is close enough to monkey arm)
    Hotkey, ^m, Off                 ; (temporarily disable menu)
    tt("lvl up!")                   ; (display level up text)
    clickHere(30, 30)               ; out of the way for level number (click past first pop up)
    Sleep TransitionDelay           ; (wait for animation)
    clickHere(30, 30)               ; out of the way for knowledge (click past second, game continues)
    lvls := lvls + 1                ; (increase script level up stat counter)
    Hotkey, ^m, On                  ; (reenable menu)
}

If that is not the issue, please describe what screen you are getting stuck on.

You can also change the color comparison tolerance in the nearColor function, currently it is at tolerance := 10 (line ~145). Higher numbers are more lenient. As this seems to be the only aspect you are stuck on and the rest of the script works fine, I doubt this is the issue though.


also ive also found out that mermonkey does not get placed down when you select that option

My guess is that you did not set up the hotkey for the Mermonkey, it is detailed in the README. If you follow(ed) those instructions and are still having issues, let me know :)

DereC4 commented 2 months ago

hm ok, ill test when i have time cuz classes begin tmr too so ill be a bit busy