Results 1 to 7 of 7

Thread: Adding scripts

  1. #1
    Join Date
    May 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Adding scripts

    I've looked everywhere and can't find how to add custom scripts, can somebody help me asap please.

  2. #2
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    Quote Originally Posted by Toadd View Post
    I've looked everywhere and can't find how to add custom scripts, can somebody help me asap please.
    http://puu.sh/sKf1

  3. #3
    Join Date
    May 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How do I put my details in, and when the loading page comes up it does nothing, help

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

  5. #5
    Join Date
    Mar 2012
    Location
    Grambling, LA
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Toadd View Post
    How do I put my details in, and when the loading page comes up it does nothing, help
    You need to have a procedure called DeclarePlayers (where u put username and password) and LoginPlayer(which logs you in). Please read the beginners tutorial section which explains everything very clearly.
    http://villavu.com/forum/forumdisplay.php?f=191

    Here is my sample code:
    Simba Code:
    program johnBrownBirdHunter;
    {$DEFINE SMART}
    {$i srl/srl.simba}
    {$i sps/sps.simba}

    Procedure DeclarePlayers;
      begin
        HowManyPlayers := 1;
        NumberOfPlayers(HowManyPlayers);
        CurrentPlayer := 0;
        Players[0].Name :='your username';
        Players[0].Pass :='your password';
        Players[0].Nick :='';
        Players[0].Active:=True;
        Players[0].Pin := '';
      end;

    procedure AntiBan;
      begin
        if(not(LoggedIn))then
            Exit;
        FindNormalRandoms;

        case Random(45) of
         0: begin
               HoverSkill('Prayer', false);
               wait(1987+Random(432));
            end;
         1: PickUpMouse;
         2: begin
               MakeCompass('N');
               wait(100+random(133));
               MakeCompass('S');
               wait(50+random(133));
               MakeCompass('N');
               FindNormalRandoms;
            end;
         3: RandomMovement;
         4: BoredHuman;
         5: ExamineInv;
         6: RandomRClick;
        end;
      end;

    begin
      Smart_Server := 25;
      Smart_Members := False;
      Smart_Signed := True;
      Smart_SuperDetail := False;

      ClearDebug;
      SetupSRL;
      DeclarePlayers; // Calls the procedure, you can't forget this!
      LoginPlayer; // You want your player to login, right?
    end.

  6. #6
    Join Date
    May 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nothing happens when I log in through the client.

  7. #7
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by Toadd View Post
    Nothing happens when I log in through the client.
    Did you follow abu's link?

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
  •