Results 1 to 2 of 2

Thread: login

  1. #1
    Join Date
    Jun 2007
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default login

    hey i made this snipit of logingin and i couldn't get it to run to says out of range in like 90 of core/login.scar

    if anyone could help that would be great as i want to get a script that can login

    SCAR Code:
    program New;
    {.include SRL/SRL.scar}

    const    StartPlayer = 0;
                NumOfPlayers = 1;
               
    procedure DeclarePlayers;
    begin
      SRLId:= '';
      SRLPassword:= '';
      HowManyPlayers := 1;
      NumberOfPlayers(NumOfPlayers);
      CurrentPlayer := StartPlayer;


      Players[0].Name       := '';
      Players[0].Pass       := '';
      Players[0].Nick       := '';
      Players[0].Booleans[0]:= true;
      Players[0].Active     := True;
    end;

    begin
    SetupSRL;
    wait(1000);
    LoginPlayer;
    Writeln('hi')
    end.

  2. #2
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make you're main loop:

    SCAR Code:
    begin
    SetupSRL;
    wait(1000);
    DeclarePlayers;  // you have to declare the player array.
    LoginPlayer;
    Writeln('hi')
    end.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Login
    By Hey321 in forum RS3 Outdated / Broken Scripts
    Replies: 6
    Last Post: 02-22-2007, 04:20 PM

Posting Permissions

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