Hi there i have an improvement to the script, that fixes one of the issues and enables you to chat without having the 5 button pressed all the time: just use another loop. just try out this part or copy the code inside a tryout script.
Code:
F2::
Loop {
WinGet, bnlid, List, ahk_class LaunchUnrealUWindowsClient
EmptyMem()
If ( PixelColor( 1204, 1163, bnlid1)=="0xFFFFFF" ) ;check 5-key to throw bait
{ ControlSend, , 5, ahk_id %bnlid1% ;press 5-key to initiate the first fishing
Loop { ;wait for as long as F-get fish key takes, then break the loop
If ( PixelColor( 412, 351, bnlid1)=="0xB9AC98" ) { ;check if F key arrow up
ControlSend, , f, ahk_id %bnlid1% ;press F-getfish key
break ;now break loop after "F" was pressed (do not press 5 all the time during fishing)
}
Sleep 500 ;wait 0,5 sec
}
Sleep 500 ;wait 0,5 sec
ControlSend, , 5, ahk_id %bnlid1% ;Press "5" throw bait
}
}
Return
Last edited: