Page 1 of 2 12 LastLast
Results 1 to 25 of 42

Thread: SRL Public Revision #29 & 30

  1. #1
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default SRL Public Revision #29 & 30

    Revision #29!

    The latest SMART has been added. Please note that this version still only works minimized.
    The source of SkyScripter's awesome plugin has been added.

    More info will probably be posted in this thread.

    EDIT: I think I forgot the set the SRLVersionNumber...



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  2. #2
    Join Date
    Dec 2007
    Location
    Malaysia
    Posts
    430
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    kool but thought next rev would have SMART fixed ohh well longer wait...

  3. #3
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Fixed something. Use #30 instead.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

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

    Default

    Very nice, thanks

    ~Camo
    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.


  5. #5
    Join Date
    May 2007
    Posts
    136
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Has the randoms been fixed?

    I hope so.... T.T

  6. #6
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Lrn2 put new Worlds.ini in revs, kthxbi
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  7. #7
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    EDIT: I think I forgot the set the SRLVersionNumber...
    Hmm

  8. #8
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Revision #29 also contains a really neat feature possibly worth checking out, in globals.scar, called SRL procedure constants. They are basically variables that are called during various times throughout commonly used SRL procedures and functions, as their names might imply.

    To make use of this feature, simply assign a procedure to one of the 9 SRL_Procs variables! Like this:

    SCAR Code:
    procedure LOL;
    begin
      WriteLn('Yay?');
    end;

    begin
      SetUpSRL;
      SRL_Procs[0] := @LOL; { Here, we assign the SRL_Procs[0] variable (declared in Globals.scar) to procedure LOL;. }
      if (SRL_Procs[0] <> nil) then { Not really needed in this exact case, but just an example on
     how to check if a procedure variable actually is assigned to a procedure. }

        SRL_Procs[0](); { Here, we finally call the procedure assigned to the variable. }
    end.

    I highly reccomend you to check out globals.scar in the core folder to get better understanding of this feature.

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

    Default

    New feature makes for some very useful... thoughts?

    Not sure how to explain it. But, I will be using
    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

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

    Default

    What are the advantages of using the SRL_Procs variables?

  11. #11
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Sweet. Those new things in globals.scar look fun. I'm definitely gonna fiddle around with them.

    Edit:
    Quote Originally Posted by lordsaturn View Post
    What are the advantages of using the SRL_Procs variables?
    They're called during various things within SRL. From what I understand if you defined, say, SRL_Procs[7] as procedure Blah, then it would call Blah whenever you called FindNormalRandoms, FindInventoryRandoms, or FindNonInventoryRandoms.

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

    Default

    Have any randoms been fixed update in this rev?

  13. #13
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Hugolord View Post
    Have any randoms been fixed update in this rev?
    There have been small fixes mainly, I don't think the Box has been fully fixed yet, though.
    The SRL_Procs are used to make SRL performs certain functions at fixed events. Like if it has finished talking to a random, then it will call the SRL_Procs[srl_OnFindRandom]. You can assign a procedure to this function.

    Add this to your script:

    SCAR Code:
    Procedure WriteInRandoms;
    Begin
      WriteLn('We are calling FindNormalRandoms');
    End;

    And in the setup:
    SCAR Code:
    SRL_Procs[srl_OnRandomCall] := @WriteInRandoms;

    You'll see what it does soon enough.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  14. #14
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow thats pretty sweet, could you call your proggies, ect with it? /me gets a bunch of ideas...
    “Ignorance, the root and the stem of every evil.”

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

    Default

    EDIT: I think I forgot the set the SRLVersionNumber...
    Darn you Wizzup

    Anything else changed except for randoms and SMART?


    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!

  16. #16
    Join Date
    Nov 2008
    Location
    Canada
    Posts
    159
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Code:
    Line 77: [Error] (94:1): 'BEGIN' expected in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/smart.scar
    SCAR Code:
    <<<<<<< .mine
    // SRL Development Team
    procedure SmartSetupEx(worldnumber: integer; members, signed, superdetail: boolean);
    =======
    procedure SmartSetupEx(worldnumber: integer; members, signed, superdetail: boolean);
    >>>>>>> .r30
    I get that error since the new update.
    I run in triangles because circles are for squares.

  17. #17
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by botsrs View Post
    Code:
    Line 77: [Error] (94:1): 'BEGIN' expected in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/smart.scar
    SCAR Code:
    <<<<<<< .mine
    // SRL Development Team
    procedure SmartSetupEx(worldnumber: integer; members, signed, superdetail: boolean);
    =======
    procedure SmartSetupEx(worldnumber: integer; members, signed, superdetail: boolean);
    >>>>>>> .r30
    I get that error since the new update.
    Delete that file then re download srl...
    ============================================
    Hmm, nice, Rev 29, add
    SCAR Code:
    UseAutoResponder := True;
    , rev 30, just to remove it..

    Hmm, why'd you guys change
    SCAR Code:
    0..9: text := IntToStr(I);
    to
    SCAR Code:
    0: text := '0'; //Zero
          1: text := '1'; //One
          2: text := '2'; //Two
          3: text := '3'; //Three
          4: text := '4'; //Four
          5: text := '5'; //Five
          6: text := '6'; //Six
          7: text := '7'; //Seven
          8: text := '8'; //Eight
          9: text := '9'; //Nine

    Huh -
    SCAR Code:
    unit WizzyPlugin_AquaPet;
    and
    SCAR Code:
    package perspective;

     *
     * @author benland100
     *)
    -confused...- xD

    Nice updates, looked at em all.

  18. #18
    Join Date
    Nov 2008
    Location
    Canada
    Posts
    159
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Thanks, Timer. But still, none of my scripts actually start. They're all SMART, and I redid the SMART fixes. They start fine, but end just as fast. The SMART window doesn't even come up in some.
    I run in triangles because circles are for squares.

  19. #19
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Whats WizzyPlugin_AquaPet?

  20. #20
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Mylesmadness View Post
    Whats WizzyPlugin_AquaPet?
    It's for 3d -> 2d conversions.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  21. #21
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Perhaps someone should make a small tut on SRL_Procs? They are very useful and should be explained in detail so people can start implementing them. (I'm too busy atm)
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  22. #22
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Narcle View Post
    Perhaps someone should make a small tut on SRL_Procs? They are very useful and should be explained in detail so people can start implementing them. (I'm too busy atm)
    I think my previous post explained them quite well..



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  23. #23
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    I think my previous post explained them quite well..
    yes but how many will even read it?
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  24. #24
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

  25. #25
    Join Date
    Nov 2008
    Posts
    37
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    //Click 'Log In' on main menu
    <<<<<<< .mine
    while (GetColor(343, 175) <> 7750) do
    =======

    Line 332: [Error] (5336:1): Identifier expected in script

    line 332 is the <<<mine line. how do i fix this

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SRL has gone public
    By Sdcit in forum News and General
    Replies: 16
    Last Post: 09-26-2007, 12:09 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
  •