SRL Archive - OSR Help

Mouse speed slow?


Mattie403

2012-02-13 16:31:05

So I have an extremely small amount code. This is my first script ever and first time going at it scratch from no copying.


program MattiesAlcher;


//{$DEFINE SMART}
{$i SRL/SRL.Simba}
//{$i SRL/SRL/misc/paintsmart.Simba}


procedure OpenMageBook;
begin
//GameTab(28);
//MMouse(747,185,10,10);
Mouse(747,185,10,10,True);
end;
begin
OpenMageBook;
end.

Now why does this make my mouse move EXTREMELY slow to the mage tab? I am using the online client, not the SMART build in. And I'm also dragging the green target in so it marks runescape.

footballjds

2012-02-13 16:32:41

program MattiesAlcher;


//{$DEFINE SMART}
{$i SRL/SRL.Simba}
//{$i SRL/SRL/misc/paintsmart.Simba}


procedure OpenMageBook;
begin
//GameTab(28);
//MMouse(747,185,10,10);
Mouse(747,185,10,10,True);
end;
begin
SetupSRL; //You need this line
OpenMageBook;
end.

Mattie403

2012-02-13 16:40:18

From: footballjds
program mattiesalcher;


//{$define smart}
{$i srl/srl.simba}
//{$i srl/srl/misc/paintsmart.simba}


procedure openmagebook;
begin
//gametab(28);
//mmouse(747,185,10,10);
mouse(747,185,10,10,true);
end;
begin
setupsrl; //you need this line
openmagebook;
end.



Thank you so much! What a great community! :D

Er1k

2012-02-14 00:45:05

Alternatively, tweak the global MouseSpeed.

MouseSpeed:= 20; //or whatever