JuKKa
2007-03-17 19:05:19
Basically i need a WORKING or non working shopkeeper finder which will trade with the shopkeeper, i will use this with my Oak/seller in lumby. I made one my self but it also attempts to trade with other players though i set the Chooseoption(x,y,'rade shop').
im kinda just asking for someone to post one that will trade… heres the current one im using;
[Php]
procedure FindShopKeepers;
begin
if not loggedin then exit;
if invfull then
begin
Players[CurrentPlayer].Loc := 'Trading With ShopKeeper';
repeat
wait(50+random(50))
if not loggedin then break;
if FindMSColorTol(x,y,ShopKeeper,3)then
begin
MMouse(x,y,0,0)
wait(50+random(100))
if isuptext('-to Shop')then
begin
Mouse(x,y,0,0,false)
wait(100+random(100))
Chooseoption(x,y,'Trade');
Flag;
end;
end;
until(ShopScreen)
end;
end;
[/Php]
i have tried many variations of the Chooseoption(x,y,''); but with nogoes
-Be kind and post a working one :(
im kinda just asking for someone to post one that will trade… heres the current one im using;
[Php]
procedure FindShopKeepers;
begin
if not loggedin then exit;
if invfull then
begin
Players[CurrentPlayer].Loc := 'Trading With ShopKeeper';
repeat
wait(50+random(50))
if not loggedin then break;
if FindMSColorTol(x,y,ShopKeeper,3)then
begin
MMouse(x,y,0,0)
wait(50+random(100))
if isuptext('-to Shop')then
begin
Mouse(x,y,0,0,false)
wait(100+random(100))
Chooseoption(x,y,'Trade');
Flag;
end;
end;
until(ShopScreen)
end;
end;
[/Php]
i have tried many variations of the Chooseoption(x,y,''); but with nogoes
-Be kind and post a working one :(