Page 1 of 4 123 ... LastLast
Results 1 to 25 of 89

Thread: SRL-5 Beta

  1. #1
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default SRL-5 Beta

    Convert your scripts by January 1st, 2012!
    ______________________________


    So the long awaited SRL5 is here, but not like you're expecting. Our original plans kind of fell through due to several problems that I won't get into, but the main was lack of development. So what we've done is copy SRL4, add documentation, and remove any SCAR support. I imagine some of your are disappointed and we apologize for that. Our plans are to apply our original ideas of SRL5 to SRL6 (which likely won't be for a very long time, unfortunately). There will still be several bug fixes and function additions to SRL5, so don't worry about that.

    Unfortunately, there are a few things that will break your scripts:
    • All SCAR file extensions have been changed to Simba (.scar -> .simba)
    • The stats.scar file has been changed to globalstats.simba and moved to srl/core/
    • Stats is now included with SRL so you do not need to include globalstats.simba in your script
    • SetAngle and ClickNorth now take integer parameters (fixed a small bug). You now call them like this:
      Simba Code:
      SetAngle(SRL_ANGLE_HIGH);
      ClickNorth(SRL_ANGLE_NONE); // SRL_ANGLE_NONE will negate the 1-2s wait in SetAngle
      SetAngle(SRL_ANGLE_LOW);
    • You have to define SRL5 at the top of you script, and use IFDEF's where applicable throughout your script. For example:
      Simba Code:
      program new;
      {$DEFINE SRL5} // comment to use SRL4

      {$IFDEF SRL5}
        {$i srl/srl.simba}
      {$ELSE}
        {$i srl/srl.scar}
      {$ENDIF}

      begin
        clearDebug();
        setupSRL();

        {$IFDEF SRL5}
        clickNorth(SRL_ANGLE_NONE};
        {$ELSE}
        clickNorth(true);
        {$ENDIF}
      end.
    • SRL5 now uses Gaussian randomness inside its mousing functions. This means that it will now "aim" towards the center of the random box. The parameters are the same, and nothing changes in the scripting interface. For more information on this, please see: docs.

    MSI is completely compatible with SRL5 and 4, so if you wish you can download SRL5 and you'll be good to go.

    Getting SRL5:
    • Disable the SRL Updater.
    • Download SRL5 to Simba/Includes/ (or use Git Clone)
    • Rename your OLD SRL folder to "SRL-4", and rename the new SRL-5 folder to "SRL"
    • Done!

    SRL5's documentation can be found here. There are most likely some parts that were overlooked, so don't be afraid to let us know. The repository can be found here.

    SRL-5 will replace SRL-4 in the updater as soon as possible after January 1st, 2012, so convert your scripts now!

    Enjoy,
    The SRL Development Team
    Last edited by Nava2; 12-28-2011 at 06:05 PM.

  2. #2
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Simba Code:
    (*
    InPin
    ~~~~~

    .. code-block:: pascal

        function Inpin(Pin: string): Boolean;

    Enters bank pin. Will try 3 times, returns true if bank is opened.

    .. note::

        Author: ZephyrsFury and Nava2
        Last Modified: Unknown

    Example:

    .. code-block:: pascal

        if PinScreen then
        InPin('1234');
    *)

    Simba Code:
    {*******************************************************************************
    function InPin(Pin: String): Boolean;
    by: ZephyrsFury and Nava2
    Description: Enters bank pin. Will try 3 times, returns true if bank is opened.
    *******************************************************************************}

    I wanna stab my eyeballs.
    Last edited by Wyn; 12-02-2011 at 03:54 AM.

  3. #3
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    The new headers can be parsed by sphinx to auto-generate docs...plus its been kind of default for SRL5 for a while(we used this in reflection as well).

  4. #4
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    The new headers can be parsed by sphinx to auto-generate docs...plus its been kind of default for SRL5 for a while(we used this in reflection as well).
    How hard would it be to parse the old headers? Or create some other headers that don't cause my eyes to bleed?

  5. #5
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Cracking me up here wyn10 LOL!
    So basically, we have to chance and adjust all of our shiz to compile properly, and get no new benefits?

    LOLZ JK GUISE! <3 Great job, I know you all work hard!

  6. #6
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Awesome, I'll play around with it this weekend, will have free time actually!

    I like the new headers more.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


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


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

    Default

    Will start converting today. Congratulations on the much anticipated release!

    Edit:
    Could we possibly get summoning.simba implanted in SRL/SRL/skill/? Some people are having difficulty installing it themselves even after the short tutorial I made. I don't see why we couldn't just include it in SRL.

    Edit2:
    Either I'm doing something wrong or this isn't complete. I'll wait until more information is posted.
    Last edited by Flight; 12-02-2011 at 04:36 AM.

    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..."


  8. #8
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    I really have no idea why this is being released instead of adding documentation into SRL4?...

    But neat. I agree with wyn for sure though.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  9. #9
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    I like the new way , nice work guys.

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


  10. #10
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    For wyn10 complaining.. http://docs.villavu.com/srl-5/

    Does that make your eyes feel better?
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  11. #11
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I'm sorry to be a downer, but how does this warrant a full version step. From what I can tell, the changes are not on that sort of scale.
    Thanks for the work you all have put into this.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  12. #12
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    For wyn10 complaining.. http://docs.villavu.com/srl-5/

    Does that make your eyes feel better?
    It's neat and all but I don't know why sphinx's source couldn't be modified to understand the old headers? Or why stuff is using integers now? They are just more confusing to new scripters. But nice work anyways everyone who contributed.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  13. #13
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Harry View Post
    It's neat and all but I don't know why sphinx's source couldn't be modified to understand the old headers? Or why stuff is using integers now? They are just more confusing to new scripters. But nice work anyways everyone who contributed.
    I guess its because theres more info in the new headers than there was in the old ones. And if you add more info to the old ones, it'll make it ugly too.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  14. #14
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Will start converting today. Congratulations on the much anticipated release!

    Edit:
    Could we possibly get summoning.simba implanted in SRL/SRL/skill/? Some people are having difficulty installing it themselves even after the short tutorial I made. I don't see why we couldn't just include it in SRL.

    Edit2:
    Either I'm doing something wrong or this isn't complete. I'll wait until more information is posted.
    What's the problem?

    Quote Originally Posted by noidea View Post
    I'm sorry to be a downer, but how does this warrant a full version step. From what I can tell, the changes are not on that sort of scale.
    Thanks for the work you all have put into this.
    The main reason being it no longer works with SCAR. SRL4 is still SCAR compatible, while SRL5 is not.

  15. #15
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just a note, SRL 4 will never be SCAR compatible again.

  16. #16
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    What's the problem?

    The main reason being it no longer works with SCAR. SRL4 is still SCAR compatible, while SRL5 is not.
    If that's the main reason, I completely disagree. Yes it is a significant change, but not worth the step from 4 to 5. A "4.5" or some sort of notation after 4 would be more realistic. I'm sorry to highjack a celebration-y type thread though. I just feel like more thought and community input should have gone into this.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  17. #17
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    If that's the main reason, I completely disagree. Yes it is a significant change, but not worth the step from 4 to 5. A "4.5" or some sort of notation after 4 would be more realistic. I'm sorry to highjack a celebration-y type thread though. I just feel like more thought and community input should have gone into this.
    I really don't see what the big deal is. It's just a number.

  18. #18
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    I really don't see what the big deal is. It's just a number.
    If that's the way you look at it.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  19. #19
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    If that's the way you look at it.
    What's that supposed to mean? It's not like I was the only one to make this decision, it was discussed with the active developers.

  20. #20
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    What's that supposed to mean? It's not like I was the only one to make this decision, it was discussed with the active developers.
    If its only a number, then it obviously wasn't discussed enough.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  21. #21
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    If that's the way you look at it.
    http://www.itworld.com/software/1695...ame-old-kernel
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  22. #22
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    What's that supposed to mean? It's not like I was the only one to make this decision, it was discussed with the active developers.
    All I see are butchered methods and no scar extension.

    I can't see how this can be srl 5.

    Quote Originally Posted by Nava2 View Post
    For wyn10 complaining.. http://docs.villavu.com/srl-5/

    Does that make your eyes feel better?
    So opening a website so I can properly read it is any better?

  23. #23
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Release date + having regular time based releases affected there versioning. As far as I can tell SRL does not have a regular release cycle.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  24. #24
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by wyn10 View Post
    All I see are butchered methods and no scar extension.

    I can't see how this can be srl 5.
    Butchered methods? I hardly think so. I assume you're still talking about the documentation/headers. SCAR extension? We have Simba now, there's no reason to keep support for a program that is no longer a part of SRL.

  25. #25
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by wyn10 View Post
    All I see are butchered methods and no scar extension.

    I can't see how this can be srl 5.



    So opening a website so I can properly read it is any better?
    Well, it is. We, the development team, decided this was the best route and was necessary.

    We made this decision in hopes that you, the community, would appreciate it. There are significant changes, most of which are transparent to the users.

    Yes, the version number is a big change, get over it.

    As to the documentation, this is here to stay. Once you get over the fact that its larger, its quite nice to read. Its more obvious and is *very* flexible.

    Lastly, something not mentioned, we moved to git. This was a very popular decision, and something that was not the most straight forward for us to learn (coming from SVN). We wanted a more community based version control system, and now we have it.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

Page 1 of 4 123 ... LastLast

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
  •