SRL Archive - OSR Help

Question about using smart


flamer

2010-03-06 12:48:31

Do I need to do anything other than include the smart library and do that one smartsetup command (I can't remember what it is…)? I've searched the forums, but couldn't seem to find any info an setting up smart.

Dgby714

2010-03-06 12:59:52

From: flamer
Do I need to do anything other than include the smart library and do that one smartsetup command (I can't remember what it is…)? I've searched the forums, but couldn't seem to find any info an setting up smart.


the smartsetup is automatically done in SetupSRL; (if you have $i/.i/$d smart)

Example:
program SMART;
{$define SMART}
{.include SRL/SRL.scar}

begin
SetupSRL;
end.

You also get these 4 options -
  Smart_Server //Server Number
Smart_Members //True if member world
Smart_Signed //True if you want signed client
Smart_SuperDetail //idk??

You use these options like so -
program SMART;
{$define SMART}
{.include SRL/SRL.scar}

begin
Smart_Server := 54;
Smart_Members:= False;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
end.

FEAR

2010-03-06 13:41:51

From: Dgby714
the smartsetup is automatically done in SetupSRL; (if you have $i/.i/$d smart)

Example:
program SMART;
{$define SMART}
{.include SRL/SRL.scar}

begin
SetupSRL;
end.

You also get these 4 options -
  Smart_Server //Server Number
Smart_Members //True if member world
Smart_Signed //True if you want signed client
Smart_SuperDetail //idk??

You use these options like so -
program SMART;
{$define SMART}
{.include SRL/SRL.scar}

begin
Smart_Server := 54;
Smart_Members:= False;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
end.


You don't need
{$define SMART}

All you need is

{.include SRL/SRL/misc/SMART.scar}
{.include SRL/SRL.scar}

On top of the script and as Dgby714 said, add

Smart_Server := 100; //right now it doesn't matter what this number is as SMART loads a random world...Unless you want to make SRL choose the world after SMART loads.
Smart_Members:= False;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;

at the end of the script in your mainloop.

Make sure to Include SMART before SRL.

Read this guide if you don't understand :)

http://villavu.com/forum/showthread.php?t=48023

Dgby714

2010-03-06 13:43:13

From: FEAR
You don't need
{$define SMART}

All you need is

{.include SRL/SRL/misc/SMART.scar}
{.include SRL/SRL.scar}

On top of the script and as Dgby714 said, add

Smart_Server := 100; //right now it doesn't matter what this number is as SMART loads a random world...Unless you want to make SRL choose the world after SMART loads.
Smart_Members:= False;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;

at the end of the script in your mainloop.

Make sure to Include SMART before SRL.

Read this guide if you don't understand :)

http://villavu.com/forum/showthread.php?t=48023


You can use both $define and .include i just find the $define shorter and easier to remember

flamer

2010-03-06 13:50:12

Thanks!

Bionicle

2010-03-06 14:40:01

From: FEAR
You don't need
{$define SMART}

All you need is

{.include SRL/SRL/misc/SMART.scar}
{.include SRL/SRL.scar}

On top of the script and as Dgby714 said, add

Smart_Server := 100; //right now it doesn't matter what this number is as SMART loads a random world...Unless you want to make SRL choose the world after SMART loads.
Smart_Members:= False;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;

at the end of the script in your mainloop.

Make sure to Include SMART before SRL.

Read this guide if you don't understand :)

http://villavu.com/forum/showthread.php?t=48023


AFAIK you can't change a world after smart loads…

Dgby714

2010-03-06 15:40:20

From: bionicle1800
AFAIK you can't change a world after smart loads…


Um login, Click a World, Click to Play??? <– this all happens after smart loads lol

Bionicle

2010-03-06 21:13:36

From: Dgby714
Um login, Click a World, Click to Play??? <– this all happens after smart loads lol


before the update (not sure about now) but it would say 'error loading world' if you tried to switch out in SMART.

Dgby714

2010-03-07 02:40:33

From: bionicle1800
before the update (not sure about now) but it would say 'error loading world' if you tried to switch out in SMART.


Yeah, there were talking about fixing it in IRC while i was reading you post.

also someone could make there own procedure to switch worlds =)