i need to find and trade with "hieronymus avlafrim" at the gnomecopter place... i don't know how to do tpas... i want to be able to autocolor this guy and the deposit box by him!(so i need help with that too)
i need to find and trade with "hieronymus avlafrim" at the gnomecopter place... i don't know how to do tpas... i want to be able to autocolor this guy and the deposit box by him!(so i need help with that too)
Send me a picture please. Or add me MSN
whiteboysherman@hotmail.com
-Shermanator
Current Project: All In 1 Falador Script - 20% DONE
umm the pics are too big to attach here...emailing
Mormonman, Upload to imageshack.us
Then use the image tags.
[QUOTE]<GoF`> oh no its Raymooond
<Raymooond> Heya
<GoF`> is it ray or some other ray?
<LeeLokHin> No idea
<LeeLokHin> Raymond, what's the game you like the most?
<Raymooond> Runescape
<-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]
thanks LeeLokHin
Does he move? If he doesn't, you could probably try to find the colour of the banana, then move the mouse op 20 pixels from there.
[QUOTE]<GoF`> oh no its Raymooond
<Raymooond> Heya
<GoF`> is it ray or some other ray?
<LeeLokHin> No idea
<LeeLokHin> Raymond, what's the game you like the most?
<Raymooond> Runescape
<-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]
the camera moves.... so going up 20 wouldn't always work.... i kinda want to learn to use failsafes for stuff too...
here i will post the script i am using this for here and you can look at it and tell me what i need to learn!
SCAR Code:program BucketBuyer;
{.include SRL/SRL.scar}
var
x, y : Integer;
WaterBucketDTM : Integer;
procedure BuyWaterBucket;
begin
WaterBucketDTM := DTMFromString('78DA63F466606070654001C5D1FA0CBF80342' +
'310FF0702C66020C38A010D30229140DA0548F811501302243C09' +
'A8710212F604D480DC1C805F0D00FCCA096D');
if (FindDTM(WaterBucketDTM, x, y, MSx1, MSy1, MSx2, MSy2)) then
begin
Wait(800+random(150));
Mouse(x, y, 3, 3, False);
Wait(800+random(150));
if ChooseOption('X') then
begin
Wait(800+random(150));
TypeSend('123');
Wait(800+random(150))
end;
end;
end;
procedure WalkToDepositBox;
begin
LoadSymbolBitmapColor('bank')
if FindSymbol(x, y, 'bank') then
begin
Wait(4000+random(150));
Mouse(x,y,4,4, True);
FFlag(1);
Wait(1000+random(150));
end;
end;
procedure OpenDepositBox;
begin
if (FindColorSpiralTolerance(x, y, 6382171, 10, 10, 520, 340, 6)) then
begin
Wait(1000+random(150));
Mouse(x, y, 3, 3, False);
Wait(1000+random(150));
ChooseOption('Deposit');
FFlag(2);
Wait(1000+random(150));
end;
end;
procedure DepositBucket;
begin
WaterBucketDTM := DTMFromString('78DA63F466606070654001C5D1FA0CBF80342' +
'310FF0702C66020C38A010D30229140DA0548F811501302243C09' +
'A8710212F604D480DC1C805F0D00FCCA096D');
if (FindDTM(WaterBucketDTM, x, y, MSx1, MSy1, MSx2, MSy2)) then
begin
Wait(1000+random(150));
Mouse(x,y,3,3, False);
Wait(1000+random(150));
ChooseOption('All');
Wait(1000+random(150));
end;
FreeDTM(WaterBucketDTM);
end;
procedure WalkToTrade;
begin
WaterBucketDTM := DTMFromString('78DA63F466606070654001C5D1FA0CBF80342' +
'310FF0702C66020C38A010D30229140DA0548F811501302243C09' +
'A8710212F604D480DC1C805F0D00FCCA096D');
if (FindDTM(WaterBucketDTM, x, y, MSx1, MSy1, MSx2, MSy2)) then
else
LoadSymbolBitmapColor('shop');
if FindSymbol(x, y, 'shop') then
begin
Wait(4000+random(150));
Mouse(x,y,4,4, True);
FFlag(1);
Wait(1000+random(150));
end;
end;
procedure MainLoop;
begin
MouseSpeed:= 15+random(3);
ActivateClient;
SetAngle(true);
MakeCompass('n');
BuyWaterBucket;
WalkToDepositBox;
OpenDepositBox;
DepositBucket;
WalkToTrade;
end;
begin
ActivateClient;
MainLoop;
end.
i haven't added a procedure to trade with this guy yet because i still need help...(i kinda want to use TPAs cuz they work better from what i have read)
A simple FindObjTPA should do it like
SCAR Code:Function FindPerson : Boolean;
Begin
Result := FindObjTPA(x, y, 677127, 10, 2, 10, 10, 15, ['iero', 'mus']);
end;
FindObjTPA already uses advanced TPA's so you dont need to make a custom one.
Ok here is mysolution
Things you need to know first
TPAs
HSL Color
1. Just make a function that gets a TPA of all hues that look like his green
color
2. for each point that is his color, check his right and left for a color with the hue and lightness of the grass beside him
3. MMouse over the matching points... you will probably get him first try.
~ Metagen
that makes FindObjTpa look pretty simple, I know what they x and y are for obviously and 677127 seems like the color, but what is the 10, 2, 10, 10, 15? are those points to search within and a tolerance? and the part behind it is the uptext. so I'm just wondering, what's the 10, 2, 10, 10, 15 part? I doubt you wanna search within (10,2) to (10, 10) that'd be to small and to high to the left.
explaining it a tiny bit would make post so much better.
EDIT: oops sorry bout the gravedig I thought 10/31 was november 31 because it's late for me, I thought it was a few days old, not a month and a few days.
There are currently 1 users browsing this thread. (0 members and 1 guests)