Valokoodari / btd6-ahk

An AutoHotkey (v2) script to automate collection events in Bloons TD 6.
MIT License
71 stars 32 forks source link

Script Won't Wun #42

Closed ItWasYou closed 1 year ago

ItWasYou commented 2 years ago

I'm new to AHK, and I'm having trouble running the script. If I try to run the collectionBot.ahk file, it says "Error at line 11. Maps\bloody_easy.ahk cannot be opened. The program will exit." When trying to run bloody_easy it says "Error: Call to nonexistant function. Specifically: Sleep(timeScale * 100). The program will exit." I assume that I am doing something wrong on my end, due to being a complete novice, so help would be appreciated.

machasins commented 2 years ago

You need to run it with AHK v2. You can download it here. There is also a download link on the readme.

ItWasYou commented 2 years ago

Managed to get it working after a few tries, but noticed that it never tries to enter the second page of the expert maps unless the mouse is moved. Is there a way to fix this?

machasins commented 2 years ago

Try changing your cursor size to the smallest option. If you use a large cursor, it can block the script from finding the expert button.

TijnL64 commented 2 years ago

Managed to get it working after a few tries, but noticed that it never tries to enter the second page of the expert maps unless the mouse is moved. Is there a way to fix this?

i have this issue aswell. when i drag the collectionBot.ahk into the v2 it gives me that error how did you fix it?

ItWasYou commented 2 years ago

I fixed the opening error by right clicking the script, selecting 'Open With', clicking more apps, and then selecting the 64bit version, which worked perfectly.

TijnL64 commented 2 years ago

but if i do that it gives the error messege you gave before. do you select it from the file you downloded?

TijnL64 commented 2 years ago

but if i do that it gives the error messege you gave before. do you select it from the file you downloded?

got it to work but when i open bloons and try to activte it nothing happends

TijnL64 commented 2 years ago

still says that it cant open bloody puddles even when i press open with

Valokoodari commented 1 year ago

Closing this issue as there is now an installer for AutoHotkey v2 which should be easier to use than the manual method from beta versions.