[HELP/FREE] Fishing Minigame Bot (lvl30 fishing)

04/10/2022 20:20 alangh#1
Hi, first post here. So, im trying to make a fishing minigame bot, so i can later integrate it with my fishing bot (working fine) and have a better output of resources.

For those that don't know how the minigame is:
[Only registered and activated users can see links. Click Here To Register...]

you have to press SPACE so the red pointer get inside the orange area until the timer run out. So you gotta press SPACE several times and release it if the redbar is above.


Problem is: my code recognizes the orange bar (made a movemouse to see) and the redbar( same, and it updates the positions super fine), but it is not pressing SPACE at all.

Before i was doing the if's, it was only a
Code:
if (redbary = orangebary) {
Controlsend, , {SPACE}, ahk_exe LOSTARK.exe
}
Here is my code so far. (for AHK)
Code:
f1:: ;minigame player

loop,
	{
        ;search for orangebar
	Imagesearch, orangebarx, orangebary, 247, 301, 263, 515, *0 orangebarfishingminigame.bmp
        ;search for red bar
	Imagesearch, redbarx, redbary, 263, 301, 270, 515, *70 redbarfishingminigame.bmp
                ;if redbar is above the green region, just wait
		if (redbary < orangebary){
			sleep, 50
		}
                ; if the redbar is under the orange region, press space
		if (redbary > orangebary){
			sleep, 50
			ControlSend, , {SPACE}, ahk_exe LOSTARK.exe
		}
	}

Exit
If anyone could help me, i would really appreciate it! Cheers!
01/13/2025 04:57 Roburahaju#2
wts fishing bot playminigame CONTACT BERKANT9157 DC