SRL Archive - OSR Help

Clicking a tree


the henhead

2013-01-29 16:30:02

I've tried to get help but it wasn't successful, here's what I tried, it just goes to the colour points but doesn't click. This is for the Private server soulsplit.

program chopper;
{$I SRL/SRL.SIMBA}

procedure ChopTree;
var
x, y: integer;
begin
if FindObjCustom(x, y, ['Maple'], [3171206, 3105155], 10) then
repeat
Mouse(x,y,0,0,false);//right click
Waitoption('Chop down', 200);
wait(1500+random(1000));
until (InvFull);
end;

begin
SetupSRL;
MouseSpeed := 10;
repeat
ChopTree
until(false);
end.

program chopper;
{$I SRL/SRL.SIMBA}

procedure ChopTree;
var
x, y: integer;
begin
if FindObjCustom(x, y, ['Maple'], [3171206, 3105155], 10) then
repeat
Mouse(x,y,0,0, false);
ChooseOption('chop');
wait(1500+random(1000));
until (InvFull);
end;

begin
SetupSRL;
MouseSpeed := 10;
repeat
ChopTree
until(false);
end.
I can't make it click the tree

Sjoe

2013-01-29 16:40:52

Why did u make second thread bout the same issue?

EDIt: WE WERE HELPING U on the other thread, please show some patience.

the henhead

2013-01-29 16:43:11

Sorry not used to these forums yet

Olly

2013-01-29 16:49:01

Its because the uptext isn't the same as the real runescape hence it wont find the uptext therefore wont click..

YoHoJo

2013-01-29 17:22:10

Yeah any SRL functions that use text (UpText, ChooseOption, etc) will NOT work on private servers as the font is different on them vs the real RS.

I'd take a look at some of the other private server scripts out there and see how they go about doing it.