Results 1 to 2 of 2

Thread: define smart problem

  1. #1
    Join Date
    Jan 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default define smart problem

    I have already created a simple script but i dont know how to make it pop up in another window like running in msi. I have this but for some reason its not working


    Code:
    {$DEFINE SMART}
    {$i srl/srl.simba}
    {$i sps/sps.simba}
    
    
    procedure DeclarePlayers;
    begin
    
      HowManyPlayers := 1;
      NumberOfPlayers(howmanyplayers);
      CurrentPlayer := 0;
    
      Players[0].Name := ''; // Username
      Players[0].Pass := ''; // Password
      Players[0].Nick := ''; // 3-4 lowercase letters from ingame username;
      Players[0].Active := True; // Set to true if you want to use Player 0
      Players[0].Pin := ''; // Bank Pin
    end;
    yes i filled it out too.

    I then tried puting it in the loop but its not working, help would be appreciated.
    Last edited by mriddler; 02-29-2012 at 03:53 PM.

  2. #2
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Change to this:

    Code:
    {$DEFINE SMART}
    {$i srl/srl.simba}
    {$i sps/sps.simba}
    
    
    procedure DeclarePlayers;
    begin
    
      HowManyPlayers := 1;
      NumberOfPlayers(howmanyplayers);
      CurrentPlayer := 0;
    
      Players[0].Name := ''; // Username
      Players[0].Pass := ''; // Password
      Players[0].Nick := ''; // 3-4 lowercase letters from ingame username;
      Players[0].Active := True; // Set to true if you want to use Player 0
      Players[0].Pin := ''; // Bank Pin
    end;
    
    begin
      ClearDebug;
      Smart_Server := 16;
      Smart_Members := False;
      Smart_Signed := False;
      Smart_SuperDetail := False;
      SetupSRL;
      ActivateClient;
      DeclarePlayers;

    That should do the trick....

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
  •