BNS Fishing AHK



#NoEnv
#KeyHistory 0
ListLines Off
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1

#IfWinActive ahk_class LaunchUnrealUWindowsClient
F1::
MouseGetPos, mouseX, mouseY
PixelGetColor, color, %mouseX%, %mouseY%, RGB
StringRight color,color,10 ;
tooltip, %mouseX%,%mouseY%颜色是:%color%
return

XButton1::
send 5
Settimer, PressB, 0
return

pressB:
if ( GetColor(1152,674)=="0xE5D25C" ) ;
{
send f
sleep 10
send f
sleep 10
send f
sleep 500
send 5
}
return


;抓取颜色函数,在上面脚本中调用。
GetColor(x,y)
{
PixelGetColor, color, x, y, RGB
StringRight color,color,10 ;
return color
}
Return
EmptyMem(PID="Client or 劍靈 or AHK Rocks"){
pid:=(pid="Client or 劍靈 or AHK Rocks") ? DllCall("GetCurrentProcessId") : pid
h:=DllCall("OpenProcess", "UInt", 0x001F0FFF, "Int", 0, "Int", pid)
DllCall("SetProcessWorkingSetSize", "UInt", h, "Int", -1, "Int", -1)
DllCall("CloseHandle", "Int", h)
}
Return
F11::suspend


Use any bait, wait till the icon change to the 2nd pic

Hover your mouse at the Yellow arrow head and press f1
 you will get X and Y position as well as the colour code
replace the code in red with whatever you got.

Keys:
F1 --> Get mouse position colour and coordinate
F11--> Pause script
Xbutton1 (Side button) --> start script
Put your baits at hotkey 5

Comments

Popular posts from this blog

Fix steam trade error

Ice Warlock Macro V1.4

Blade and soul Taiwan, Registration, Download