SRL Archive - OSR Help

Beginner's questions


RedCrew

2012-09-25 13:31:23

Hi,

I want to start scripting.
I have an idea, but I'm not sure what I'm doing.
Is there a repertory where I can find all Const, Var, Procedures ?

Thank you.:ninja:

litoris

2012-09-25 13:57:39

You create your own constants and variables as needed.
The whole include consists of procedures and functions, see the .simba files to learn what's available.
We also have a ton of tutorials available over at the Tutorial Island section.

RedCrew

2012-09-25 15:32:52

How can I make it, right click on a NPC moving ?

Solar

2012-09-25 15:35:24

I'd suggest you read the Beginner's tutorial here; http://villavu.com/forum/showthread.php?t=58935

P1ng

2012-09-25 15:45:02

Get started with the beginner's tutorials, perhaps even watch some of YoHoJo's video tutorials. Then IIRC there is even a tutorial specifically about clicking on a moving NPC :)

alucard123

2012-09-25 18:44:36

u will need this http://docs.villavu.com/srl-5/srlref.html

thx to srl even a newbie like me can bank and walk arround map ^^

RedCrew

2012-09-25 20:42:12

Thank you all ! :P

I want to show you something.
Is it suppose to work ?

program Starter;

procedure Start;
var
x, y:Integer;
begin
if FindColorSpiralTolerance( x, y, 5593496 , 170, 292, 432, 299, 2) or
FindColorSpiralTolerance( x, y, 3685221 , 170, 292, 432, 299, 2) or
FindColorSpiralTolerance( x, y, 5395859 , 170, 292, 432, 299, 2) then
begin
MoveMouse(x, y);
Wait(1000);
ClickMouse(x, y, mouse_Right);
end;
end;

begin
Start;
end.

SDLines

2012-09-25 21:12:44

From: RedCrew
Thank you all ! :P

I want to show you something.
Is it suppose to work ?


Umm I hope you're not using that in RS LOL. You're gonna get banned using default Simba functions like 'clickmouse' and 'movemouse.' You need to include (load) the "INCLUDE" called "SRL" and load functions from it. It has much safer and more human-like mouse movements along with other useful functions.

Simba functions on their own are great for macroing things that have little to none bot detectability or simply for speed.