SRL Archive - OSR Help

my mouse does not find object only moves around it


k9commander

2013-08-17 16:24:34

i'm following the scripting tutorial made by yohojo
it never finds the tree only moves around it,also the writeln never says in the debugbox.
[SIMBA=woodcutting]program new;
{$define srl15}
{$loadlib sps}
{$I SRL/SRL.Simba}
//{$define smart}
{$i sps/sps.simba}
Procedure StatsGuise(wat:String);
Begin
Status(wat);
Disguise(wat);
End;
function chopdown:boolean;
var
x,y:Integer;
begin
if FindObjCustom (x,y,['chop','down'],[1586759,1586759,1586759], 5)then
begin
writeln('horray,we found it');
GetMousePos(x,y);
case Random (1) of
0:Mouse(x,y,5,5,mouse_Left);
1:begin
mouse(x,y,5,5,false);
WaitOption('chop',500);
end;
end;
end;
end;

begin
setupSRL;
chopdown;
end.

rj

2013-08-17 16:27:56

that's because There is no uptext in RS3 therfor it will never find the tree because it's looking for the uptext

k9commander

2013-08-17 16:33:33

no this is for a private server ultimatescape.

Hoodz

2013-08-17 16:37:52

From: k9commander
no this is for a private server ultimatescape.


You need another font. You need to do this manually

k9commander

2013-08-17 16:39:31

From: hoodz
You need another font. You need to do this manually

is it possible you could link me on how to change font (like tutorial) if possible, sorry for been newbie.=/

Hoodz

2013-08-17 16:48:53

From: k9commander
is it possible you could link me on how to change font (like tutorial) if possible, sorry for been newbie.=/


Use the search function on the forums

Ian

2013-08-17 16:56:14

From: hoodz
Use the search function on the forums


The forums search is pretty bad, it completely ignores words under 4 letters long or words that are too common. I just search google with

site:villavu.com making your own fontset

From: k9commander
is it possible you could link me on how to change font (like tutorial) if possible, sorry for been newbie.=/


Search google with

site:villavu.com making your own fontset

and click the 1st link :)

Hoodz

2013-08-17 17:10:37

From: BMWxi
The forums search is pretty bad, it completely ignores words under 4 letters long or words that are too common. I just search google with

site:villavu.com making your own fontset


Search google with

site:villavu.com making your own fontset

and click the 1st link :)

Works great for me