Results 1 to 5 of 5

Thread: Help with aerolib

  1. #1
    Join Date
    Feb 2015
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Help with aerolib

    ok so everytime i try to run a script aerolib always changes the world to a f2p world and i dont want it to do that. anyone know how to make it stop? thanks!

  2. #2
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Pause the script, switch worlds, play the script?

    Or is there a setup constant you can change (Members := true; or something)?
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  3. #3
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    You need to declare your player (including the member status) before calling "initAL()". Here's an example of how to do it correctly:
    Simba Code:
    program new;
    {$i AeroLib/AeroLib.Simba}

    procedure declarePlayer();
    begin
      Me.Name      := 'someguy@anemail.com';
      Me.Pass      := 'hardtoguesspassword';
      Me.Pin       := '9999';
      Me.Nick      := 'Gower';
      Me.LampSkill := SKILL_FARMING;
      Me.Member    := True;  // Set to true if the account is a member, False if the account is F2P
      Me.Active    := True;
    end;

    begin
      declarePlayer();  // Called first
      initAL();         // Setup AeroLib

      loginPlayer(false);
    end.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  4. #4
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    You need to declare your player (including the member status) before calling "initAL()". Here's an example of how to do it correctly:
    Simba Code:
    program new;
    {$i AeroLib/AeroLib.Simba}

    procedure declarePlayer();
    begin
      Me.Name      := 'someguy@anemail.com';
      Me.Pass      := 'hardtoguesspassword';
      Me.Pin       := '9999';
      Me.Nick      := 'Gower';
      Me.LampSkill := SKILL_FARMING;
      Me.Member    := True;  // Set to true if the account is a member, False if the account is F2P
      Me.Active    := True;
    end;

    begin
      declarePlayer();  // Called first
      initAL();         // Setup AeroLib

      loginPlayer(false);
    end.
    hey I just tried to log into your account and it said that I need to be located at jagex hq in order to do so....could you help me out with that now that op has everything he needed

  5. #5
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by No Lifer View Post
    hey I just tried to log into your account and it said that I need to be located at jagex hq in order to do so....could you help me out with that now that op has everything he needed
    Must be some sort of fluke.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


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
  •