Log in

View Full Version : testing scripts



punisher19
12-26-2011, 03:45 PM
could someone tell me how I could test my runescape scripts...

If I run any script my mouse moves...

RISK
12-26-2011, 03:47 PM
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
12-26-2011, 03:53 PM
ohh ok thanks a lot!

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

THANKS!

RISK
12-26-2011, 03:54 PM
Yes, I know. :o I edited my post to include that.

punisher19
12-26-2011, 03:55 PM
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
12-26-2011, 03:56 PM
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
12-26-2011, 03:59 PM
AFAIK, using {$DEFINE SMART} doesn't allow you to pick your world. I believe it randomly picks a world.