SRL Archive - Help

testing scripts


punisher19

2011-12-26 10:45:38

could someone tell me how I could test my runescape scripts…

If I run any script my mouse moves…

RISK

2011-12-26 10:47:51

Use SMART. :) Above where you include SRL, do this: "{$DEFINE SMART}". Without the quotes, of course.
program new;
{$DEFINE SMART}
{$i SRL/SRL.scar}
begin
SMART_Server := 35;
SMART_Members := False;
SetupSRL;
end.

punisher19

2011-12-26 10:53:17

ohh ok thanks a lot!

Ps: It's not "{DEFINE SMART}" it's "{$DEFINE SMART}" :P :P

THANKS!

RISK

2011-12-26 10:54:11

Yes, I know. :o I edited my post to include that.

punisher19

2011-12-26 10:55:50

sorry for my stupid questions but

what does this do:


begin
SMART_Server := 35;
SMART_Members := False;
SetupSRL; //I know that you need this to start the client right?
end.

RISK

2011-12-26 10:56:33

It's not a stupid question, don't worry. :)
SMART_Server is the world that SMART loads and members is if the world is a members world.

Kyle Undefined

2011-12-26 10:59:25

AFAIK, using {$DEFINE SMART} doesn't allow you to pick your world. I believe it randomly picks a world.