So it works if i do a left click on Not @Error..its ****ing bullshit. Well actually, it just clicks a shit ton.
Code:$Pixel2 = PixelSearch($mousePos[0] - 71 * $x_ratio,$mousePos[1] - 148 * $y_ratio,$mousePos[0] + 139 * $x_ratio,$mousePos[1] + 22 * $y_ratio, 0x334FB7, 3) ;checks for open cellar (in a 600x400 box from the top left - where it should always be) If Not @Error Then MouseClick("left", Round($cellarCoordx[$c] * $x_ratio),Round($cellarCoordy[$c] * $y_ratio), 1) ;Entrance to cellar EndIfCode:sleep(2000) MouseMove(255,290,1) ;moves cursor over to the cellar so the proper blue pixel becomes highlighted Sleep(150) ;Checks if Dank Cellar is Open $Pixel2 = PixelSearch(0, 0, 600, 400 , 0x334FB7, 3) If Not @error Then MouseClick("left", 255,290, 1) ;Entrance to cellar Endif
I don't understand why this works but my other idea doesn't..
Last edited by chancity; 06-28-2012 at 03:05 AM.
Ok well then after its installed what file do i click on to actually run the bot because when I click on either one of the files in the folder that I autoinstalled I get this error
Line 20 (File C:users\haf_msi\desktop\bot\bot\mainscript.au3
#include <simpletesseractcolor.au3>
Error: Error opening the file.
Yo Chancity every 20 or some minutes my script gets stuck on menu screen with banner open. can you help me please? much appreciated
I dont think this is a class-specific problem.
Chancity, can u please add disconnect checking after exiting to menu? for that it should press ok in disconnect window and Resume game again...sometimes i get disconnected at that moment..i've already rised timings but the problem is still there, don't undersand what it depends on
Hi,
I have a 1920x1200 monitor but in game set to 1920x1080 and I get stuck in the Resume Menu. The script runs but seems to be clicking at the wrong places. Do I have to fix my mouse coordinates? if so, where in the code can i find it?
thanks