Ok, I'm still playing around with this and for the most part it works just fine, however, the autosort is something I'm still having a bit of a problem with.
It DOES work... sometimes...
Here's what I got
Func autosort()
AutoItSetOption("SendKeyDelay", 225);
Sleep (0125);
Send ("!i");
Sleep (0500);
Send ("{NUMPADADD}");
Sleep (0250);
Send ("{ENTER}");
Sleep (0250);
MouseClick("left", 955, 121); Click Yes
Sleep (0250);
Send ("{ESCAPE}");
Send ("{ESCAPE}");
Send ("{ESCAPE}");
Sleep (0125);
EndFunc
I know this is standard fare and I put that extra escape at the end on purpose. Just in case.
However, sometimes, when I pull something up, instead of hitting Alt-1, it hits ENTER first and brings up the menu at the bottom left with CHAT - MAGIC - ABILITIES - FISH etc etc
I'm trying to figure out WHY, but I can't.
Here's the part of the script where it's in.
If PixelGetColor(228,735) = 16777215 AND PixelGetColor(200,735) = 16777215 AND PixelGetColor(175,735) = 16777215 Then
AutoItSetOption("SendKeyDelay", 40);
Sleep(Random(600,1000));
Send("{ENTER}");
Sleep(6000);
autosort()
Sleep(2500);
If PixelGetColor(128,735) = 16777215 AND PixelGetColor(74,1168) = 16777215 Then
$logtime = $logtime + 1;
EndIf
Sleep(3000);
$biteyes = 1;
$sortnow = 1;
EndIf
Earlic should recognize this, because it's his. The fishing part itself works PERFECTLY. I couldn't ask for anything better.
However, something is just not right with the autosort. It's on the tip of things... it's BEGGING to get working properly there's just something missing.
If you have a possible solution, lay it out for us