thank you, i have nearly completed my al-kharid silk buyer now. it will almost be released
EDIT: how do you get the mouse to click on 'use-quickly bank booth'?
EDIT: and, when the script runs and goes to the seller, it just goes right passed him and does the talking script. i think i messed up on the find color procedures
EDIT: ok, this is my script so far… you can change the script if you like, but dont show it to me. i want to just know WTF IS GOING ON WITH IT! and how to fix it. and what procedures to use.
/////here is a silk buyer for all you members!
////no anti randoms though.... still in learning!
////i dont really have stop procedures
{start from the bank in the most northern area}
{face your mini map as north as possible and go to the middle bankbooth
dont put run on, and put your money on the first slot!}
{WARNING: will repeat and repeat until you stop it manually!}
var
x,y,a,b,c,d,e,f:integer;
Const
silksymbol= 6100369 ; {the silk symbol where the silk seller is}
banksymbol= 5497845 ; {the bank symbol}
sellersuit= 12282556 ; {the silk sellers suit}
BankBooth= 0000000 ; {the very dark grey of the bank booth}
//////dont modify anymore//////
procedure movetosilk;
Begin
clickmouse(691,27,True)
wait(14000)
clickmouse(682,20,True)
wait(13000)
findcolor(x,y,silksymbol,602,30,599,112)
Begin
Getmousepos(x,y)
wait(50)
clickMouse(x,y,true)
wait(10000)
End;
End;
procedure buysilk;
Begin
findcolor(a,b,sellersuit,6,8,509,7)
Begin
Getmousepos(a,b)
wait(50)
clickmouse(a,b,True)
wait(5000)
clickmouse(265,442,True)
wait(2000)
clickmouse(258,392,True)
wait(2000)
clickmouse(183,443,True)
wait(2000)
clickmouse(306,449,True)
wait(2000)
clickmouse(254,428,True)
wait(2000)
clickmouse(211,440,True)
wait(2000)
clickmouse(306,450,True)
wait(2000)
End;
End;
procedure gotobank;
Begin
clickmouse(614,127,True)
wait(14000)
clickmouse(616,143,True)
wait(14000)
clickmouse(619,116,True)
wait(14000)
findcolor(c,d,banksymbol,590,115,647,18)
Begin
Getmousepos(c,d)
wait(50)
clickmouse(c,d,True)
wait(14000)
End;
End;
Begin
Repeat
movetosilk;
buysilk;
gotobank;
Until(false)
End.