Results 1 to 14 of 14

Thread: SRL Template

  1. #1
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default SRL Template

    When working on a script, on the of the most boring things about runescape it, it constantly logs you out. Whenever you look up from your code, you are faced with the Welcome Screen. To avoids this I always use this small template. Whenever you run this script, your Player will autologin.


    SCAR Code:
    program LoginSRLPlayer;
    {.include SRL.scar}

    Procedure MyPlayer;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

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

    begin

      SetupSRL;
      MyPlayer;
      LoginPlayer;
     
    end.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  2. #2
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Thank you, saved. I hate having to keep retyping that for everything I attempt

    But I've gotten so fast at typing my tester account's name, I don't really care. I'm still lazy though...

  3. #3
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Yea, really annoying that if you do anything else for a while without checking rs you get logged out and then I need to retype everything

  4. #4
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for this Fakawi its gets really annoying always logging you out.

  5. #5
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol. Nice. But isn't there already something in SRL called SRL Template?
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  6. #6
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Once again he has some simple but magnifigant code to give. I do use this sometimes.

  7. #7
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Tails111 View Post
    Once again he has some simple but magnifigant code to give. I do use this sometimes.
    lol?

    once again?

    i doubt Fakawi writes 'simple' code regularly lo...

  8. #8
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why not a repeat loop that automatically detects when ur logged out so that it logs right back in? Or make the user press an Fkey?

  9. #9
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Silent Mouse? Or else it would just move the mouse on you when you don't want it.

  10. #10
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Infintry001 View Post
    Why not a repeat loop that automatically detects when ur logged out so that it logs right back in? Or make the user press an Fkey?
    I was gonna suggest that. Just make it run off of F12. I don't know if I can *looks around*


  11. #11
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Heh I did that about 5 seconds after I saved it

    Here it is:
    SCAR Code:
    program LoginSRLPlayer;
    {.include SRL.scar}

    Procedure MyPlayer;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

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

    begin
      SetupSRL;
      MyPlayer;
      repeat
        repeat
          wait(100);
        until(IsFKeyDown(12))
        LoginPlayer;
        while IsFKeyDown(12) do
          wait(1000);
      until(false)
    end.
    Well it SHOULD work. I haven't actually used it yet.

  12. #12
    Join Date
    Jul 2007
    Location
    England
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks Fakawi,

    I'll be sure to use this Also bullzeye that's cool hehe, I'll try it out sometime .

    -Nitro

  13. #13
    Join Date
    Jul 2007
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default cool

    this is going to help me with my power fisher

  14. #14
    Join Date
    Mar 2007
    Posts
    1,700
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    @Bullzeye...Works Great. =]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ecommerce working template
    By Keen in forum Web Development
    Replies: 2
    Last Post: 08-27-2008, 06:05 PM
  2. SRL template?
    By dvdcrayola in forum OSR Help
    Replies: 2
    Last Post: 08-02-2007, 03:05 AM

Posting Permissions

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