nofire Posted April 18, 2011 Share Posted April 18, 2011 Hi ! I have a problem with my Program expandcollapse popupGlobal $Coord[2] HotKeySet("{F1}", "fin") Func fin() Exit EndFunc Func verif() Sleep(200) $up = PixelGetColor(810,600) $echange = PixelGetColor(957, 591) If $echange = 0xFF6100 Then Mouseclick("left",957, 591) ElseIf $up = 0xFF6100 Then MouseClick("left",810,600) EndIf EndFunc Func faucher() WinActivate("Biffleur-Masquer") $Coord = PixelSearch(0, 0, @DesktopWidth, @DesktopHeight, 0xFAD22B, 1) If not @error Then Mouseclick("left", $Coord[0], $Coord[1], 1, 0) Sleep(500) Mouseclick("left", $Coord[0] + 25, $Coord[1] + 30, 1, 1) Sleep(15000) Else Sleep(3000) EndIf EndFunc While 1 verif() faucher() WEnd In Game (Dofus), The bot doesnt work. The mouse doesnt move and click on the position. That's a "Test Bot" for Dofus 2.0, Im not really going to use it. Just to pratice AutoIt (Sorry for my bad english) Thx ! Link to comment Share on other sites More sharing options...
sahsanu Posted April 18, 2011 Share Posted April 18, 2011 Link to comment Share on other sites More sharing options...
nofire Posted April 18, 2011 Author Share Posted April 18, 2011 I'm just asking why my pointer doesnt move... Link to comment Share on other sites More sharing options...
Donald8282 Posted April 18, 2011 Share Posted April 18, 2011 I'm just asking why my pointer doesnt move...You're still asking about it for a bot for a game though. Link to comment Share on other sites More sharing options...
sahsanu Posted April 18, 2011 Share Posted April 18, 2011 I'm just asking why my pointer doesnt move...Sorry, then take a look to this Link to comment Share on other sites More sharing options...
nofire Posted April 18, 2011 Author Share Posted April 18, 2011 If I edit and i say that s for a somethings else ? Link to comment Share on other sites More sharing options...
wakillon Posted April 19, 2011 Share Posted April 19, 2011 If I edit and i say that s for a somethings else ?you're toast ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now