Results 1 to 9 of 9

Thread: Question about using smart

  1. #1
    Join Date
    Jun 2009
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Question about using smart

    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.

  2. #2
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by flamer View Post
    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:
    Code:
    program SMART;
    {$define SMART}
    {.include SRL/SRL.scar}
    
    begin
      SetupSRL;
    end.
    You also get these 4 options -
    Code:
      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 -
    Code:
    program SMART;
    {$define SMART}
    {.include SRL/SRL.scar}
    
    begin
      Smart_Server := 54;
      Smart_Members:= False;
      Smart_Signed := True;
      Smart_SuperDetail := False;
      SetupSRL;
    end.
    Last edited by Dgby714; 03-06-2010 at 06:03 PM.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  3. #3
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dgby714 View Post
    the smartsetup is automatically done in SetupSRL; (if you have $i/.i/$d smart)

    Example:
    Code:
    program SMART;
    {$define SMART}
    {.include SRL/SRL.scar}
    
    begin
      SetupSRL;
    end.
    You also get these 4 options -
    Code:
      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 -
    Code:
    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
    SCAR Code:
    {$define SMART}

    All you need is

    SCAR Code:
    {.include SRL/SRL/misc/SMART.scar}
    {.include SRL/SRL.scar}

    On top of the script and as Dgby714 said, add

    SCAR Code:
    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

  4. #4
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by FEAR View Post
    You don't need
    SCAR Code:
    {$define SMART}

    All you need is

    SCAR Code:
    {.include SRL/SRL/misc/SMART.scar}
    {.include SRL/SRL.scar}

    On top of the script and as Dgby714 said, add

    SCAR Code:
    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

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  5. #5
    Join Date
    Jun 2009
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks!

  6. #6
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by FEAR View Post
    You don't need
    SCAR Code:
    {$define SMART}

    All you need is

    SCAR Code:
    {.include SRL/SRL/misc/SMART.scar}
    {.include SRL/SRL.scar}

    On top of the script and as Dgby714 said, add

    SCAR Code:
    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...
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  7. #7
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by bionicle1800 View Post
    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

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  8. #8
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dgby714 View Post
    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.
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  9. #9
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by bionicle1800 View Post
    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 =)

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •