I find a way to use this bot with non English client (russian, korean etc.).
I use AutoIt to start fishing.
Script enclosed.
You should set AutoLoot off, change coords for MouseClick (Fishing Button) and PixelGetColor coodrs (set point inside Loot frame).
So script press Fish button, waiting for Loot frame and press Fish button again.
If Loot frame didn't appear in 18 sec it restarts fishing.
P.S. In script function PixelGetColor looking for point on Hero frame, that is near the bottom in my interface. But in your case may be it would be more easy use PixelGetColor (x,y) = <color>. The set correct color start script and wait for loot frame, because we need to know it correct location and press ESC to stop to script.And use second script to detect color. You should set coords in this script by yourself.
If you have problem with setting PixelGetColor you can remove this part of code "If PixelGetColor (880,810) <> 34316 Then Sleep(1000) ExitLoop EndIf" and just restart fishing every 15-20 sec + set AutoLoot on.
Start fishing script
Code:
#include <MsgBoxConstants.au3>
Global $g_bPaused = False
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
Opt("PixelCoordMode", 0)
EndFunc
Func TogglePause()
$g_bPaused = Not $g_bPaused
While $g_bPaused
Sleep(100)
ToolTip('Script is "Paused"', 0, 0)
WEnd
ToolTip("")
EndFunc ;==>TogglePause
Func Terminate()
Exit
EndFunc ;==>Terminate
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
_AU3RecordSetup()
$timer = TimerInit()
While 1
_WinWaitActivate("World of Warcraft","")
MouseClick("left",843,943,1)
$StartTime = TimerDiff($timer)
Sleep(7000)
While 1
If PixelGetColor (880,810) <> 34316 Then
Sleep(1000)
ExitLoop
EndIf
$CurrentTime = TimerDiff($timer)
If ($CurrentTime - $StartTime) > 18000 Then ; 18000 = 18 sec
ExitLoop
EndIf
WEnd
WEnd
Detect color script
Code:
#include <MsgBoxConstants.au3>
#include <GUIConstantsEx.au3>
Global $g_bPaused = False
Global $colorlabel = 0
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
EndFunc
Func TogglePause()
$g_bPaused = Not $g_bPaused
While $g_bPaused
Sleep(100)
ToolTip('Script is "Paused"', 0, 0)
WEnd
ToolTip("")
EndFunc ;==>TogglePause
Func Terminate()
Exit
EndFunc ;==>Terminate
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
_AU3RecordSetup()
#endregion --- Internal functions Au3Recorder End ---
_WinWaitActivate("World of Warcraft","")
Opt("PixelCoordMode", 0)
DIM $x[2] = [880,810] ;point to detect color coords
Sleep(1000)
$var = PixelGetColor($x[0],$x[1])
MouseMove($x[0],$x[1])
ClipPut($var)
MsgBox(4096, "Color", 'DEC color: ' & $var & @LF & _
'HEX color: ' & Hex($var))