


auto recast if failed right click (i.e. auto recast if no blobber (or when applying fishing hat cast) If A > 10 the color I chose worked pretty well so the pointer wasn't jumping a lot - play with this a bit - if the script doesn't right click, lower the number, if it does too often - higher it - if the difference calculated above is more than 10 pixels it right clicks and returns to the main loop Ī := Py-Py1 calculate the difference of the 2 positions i.e. If (ErrorLevel = 0) if found, move the mouse there and. PixelSearch, Px1, Py1, %TopLx%, %TopLy%, %BotRx%, %BotRy%, %thecolor%, %variation%, fast look again and. PixelSearch, Px, Py, %TopLx%, %TopLy%, %BotRx%, %BotRy%, %thecolor%, %variation%, fast now we are looking for the main color, when the mouse is hovered over the blobber If A_Index = 130 if it hasn't found anything by now it will return to the main loop Loop 130 further down is a sleep 100 - 130 * 100 = 13 000 ms = 13 seconds this is the time the script looks for a response from the blobber If (ErrorLevel = 0) if it has found the blobber it moves the mouse there, so it is highlightedĮlse or returns to the main loop if no blobber is found PixelSearch, Sx, Sy, %TopLx%, %TopLy%, %BotRx%, %BotRy%, %thecolorStart%, %variationStart%, fast looks for the blobber with the start color If (A_Index = 20) warns you, that the last loop is reached and gives the option to reload the script or exit if reload you have to hit the start hotkey again Send, 1 bind your fishing skill to the "1" hotkey in WOW or change this to the Hotkey used ingame Send the top 3 lines including this try to use a fishing hat if you have one - delete them if you don't want to use one Loop, 20 set this to whatever you want - this determines how often you fish before you have to hit the start hotkey again WinActivate, World of Warcraft aktivate World of Warcraft Window VariationStart = 20 the color value variations to allow the color of "thecolorStart" to be Variation = 15 the color value variations to allow the color of "thecolor" to be TopLy = 68 top left Y coordinate of the search areaīotRx = 1964 bottom right X coordinate of the search areaīotRy = 620 bottom right Y coordinate of the search area TopLx = 817 top left X coordinate of the search area (you have to set this and the others to an area suitable for your wow window - the area where the blobber will land) ThecolorStart = 0x704B47 the first color you want to look for to locate the blobber on the screen (color without mouse over) - I was fishing in a red heavy zone so I set it to a blue of the blobber Thecolor = 0xFFD7FF the color you want to search for in the blobber if the mouse is over it! (the colors are brighter as when the mouse is not over it) - I picked a very white-ish color !q:: Hotkey to execute the script - remove this if you want to run the script as soon as you execute the file SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory.Įscape::ExitApp Hotkey for exiting the script at any time SendMode Input Recommended for new scripts due to its superior speed and reliability. #Warn Enable warnings to assist with detecting common errors. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. The script: zoom in all the way with your character The thread was quite old so I decided to make a new one.
#Fish bot 3.3.5 code#
First off: Got most of the ideas and a lot code from the users in - awesome scripts! Thanks!
