need help to make go fishing facebook bot

02/07/2014 00:21 hypermale#1
hi...
i try to make go fishing bot, but it just some feature...
i need some suggestion to make function autosell if fishcage full etc...
so far i just can make auto cast, auto pull when strike, auto close pop up...

this is my bot code..

Code:
$x = 0
$y = 0

while 1
sleep(1)

$cast = _ImageSearch("cast.bmp", 1, $x, $y, 20, 0)
$strike = _ImageSearch("strike.bmp", 1, $x, $y, 20, 0)
$pull = _ImageSearch("pull.bmp", 1, $x, $y, 20, 0)
$okbrown = _ImageSearch("okbrown.bmp", 1, $x, $y, 20, 0)
$ok = _ImageSearch("ok.bmp", 1, $x, $y, 20, 0)
$uncheck = _ImageSearch("uncheck.bmp", 1, $x, $y, 20, 0)
$fishcaught = _ImageSearch("ok.bmp", 1, $x, $y, 20, 0)
$full = _ImageSearch("full.bmp", 1, $x, $y, 20, 0)
$backpack = _ImageSearch("spin.bmp", 1, $x, $y, 20, 0)
$sell = _ImageSearch("spin.bmp", 1, $x, $y, 20, 0)
$close = _ImageSearch("close.bmp", 1, $x, $y, 20, 0)

If $cast = 1 Then
	MouseClick("left", $x, $y, 1)
 EndIf

If $strike = 1 then
   MouseClick("left", $x, $y, 1)
EndIf

If $pull = 1 Then
   MouseDown("left")
EndIf

If $uncheck = 1 then
   MouseClick("left", $x, $y, 1)
EndIf

If $ok = 1 Then
   MouseClick("left", $x, $y, 1)
EndIf

If $okbrown = 1 then
   MouseClick("left", $x, $y, 1)
EndIf

If $close = 1 then
   MouseClick("left", $x, $y, 1)
EndIf

If $full = 1 then
   Send("TogglePause")
EndIf

WEnd

		Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc
i use imagesearch, i dont use coord mode because i dont want to change screen resolution when i use bot in different pc...
any suggestion?

thanks before :) sorry for my bad english...

this is preview go fishing facebook game

bump

bump!!

bump!!