ive been having this big problem...
i dont know what to use to get the script to click on the shop keeper at karamja.
ive tried findobj and findobjmulti but neither worked..
what would be the best way to find the shop keeper and his assistant???![]()
ive been having this big problem...
i dont know what to use to get the script to click on the shop keeper at karamja.
ive tried findobj and findobjmulti but neither worked..
what would be the best way to find the shop keeper and his assistant???![]()
Make a dtm of his head, then make it right click on him. I'm going on MSN now, I'll add you and see if your on.
DTM of his head ey???
never thought of that was possible...
gee DTMs can be used for anything now huh?![]()
That is smart, a DTM of his head...
Plus, DTMs are all too easy to make and operate.
I used to have a hard time with DTMs and Bitmaps... Not anymore![]()
I guess that shows ya how far you've gotten, right?
I used to have trouble with finding and clicking on a color![]()
Not anymore.
i didn't think you could make DTM's of things on the screen, because the angle of everything changes doesen't it? i thought you could only do things like in your inventory or bank because they don't change? that idea sounds great, i just didn't know/still don't know it will/would work :P
Edit: Nevermind lol
Got two posts mixed up
SCAR Code:{.include srl/srl.scar }
function SpotShopKeeper: Boolean;
var
iX, iY, C, Color: Integer;
begin
if not LoggedIn then
Exit;
Color := 3038087;
repeat
Wait(50);
iX := MSCX;
iY := MSCY;
if FindColorSpiralTolerance(iX, iY, Color, MSX1, MSY1, MSX2, MSY2, 4) then
begin
MMouse(iX, iY, 0, 0);
Wait(10);
if IsupTextMulti('Talk', 'llis', 'alk-to') then
begin
Mouse(iX, iY, 0, 0, False);
if not FindText(Ix, Iy, 'Fo', upchars, msx1, msy1, msx2, msy2) then
begin
Result := ChooseOption(iX, iY, 'Trade');
if Result then
Exit;
end;
end;
end;
C := C + 1;
until C > 5;
Wait(4000);
if not LoggedIn then
Exit;
end;
function FindShopkeeper: boolean;
var
I, Z, Ix, Iy: integer;
begin
if not LoggedIn then
Exit;
for I := 0 to 7 do
begin
Result := SpotShopkeeper
if Result = True then
begin
Flag;
exit;
end
else
begin
ChooseOption(iX, iY, 'ancel');
wait(100);
Z := Random(4) + 1;
case (Z) of
1: MakeCompass('E')
2: MakeCompass('S')
3: MakeCompass('W')
4: MakeCompass('N')
end;
end;
end;
Writeln(' ShopKeeper not found ')
Logout;
Nextplayer(true)
exit;
end;
begin
SetUpsrl
FindShopkeeper
end.
SpotShopKeeper stoled from Wizzups ess miner + My noobishing function FindShopkeeper
Dont forget to add my and zups name when you public it
in my draynor willow chopper script i made a DTM of the bank booth. It finds the booth in 1 click every time. As long as you arent placed like in the corner (which never happens because I'm a banker finding genius) it finds it provided the compass is west. DTM's are extremely useful.
A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.-Douglas Adams
There are currently 1 users browsing this thread. (0 members and 1 guests)