Results 1 to 14 of 14

Thread: Quick question about Lape wait functions

  1. #1
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default Quick question about Lape wait functions

    So I'm new to lape and two of my favorite functions were WaitFunc and MarkTime for waiting. I'm not seeing any functions similar in lape, am I just blind? If so could someone let me know what the new versions are?

  2. #2
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Both of those funcs were in the includes you were using not lape or pascal script.
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  3. #3
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by Harrier View Post
    Both of those funcs were in the includes you were using not lape or pascal script.
    Weird, when I try to use them I get "Unknown Declaration 'Wait Func'"

  4. #4
    Join Date
    Sep 2014
    Location
    C:\Simba\
    Posts
    565
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    Read carefully, they are not in Lape or Pascal script, they are in the includes you are using.
    Feel free to ask me any questions, I will do my best to answer them!

    Previously known as YouPee.

  5. #5
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by Joopi View Post
    Read carefully, they are not in Lape or Pascal script, they are in the includes you are using.
    Oh yes I misread, my apologies. I'm currently using Reflection.

  6. #6
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    Last edited by Citrus; 04-27-2016 at 07:31 PM.

  7. #7
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by Citrus View Post
    I've never had a problem with this before...
    When I try to include SRL-6 into my script I get loads of errors such as duplicate declarations, etc.

    Here's my includes;
    Simba Code:
    {$DEFINE SMART}
      {$i reflection/Reflection.simba}
      {$i SRL-6/SRL.simba}

  8. #8
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Spotify View Post
    I've never had a problem with this before...
    When I try to include SRL-6 into my script I get loads of errors such as duplicate declarations, etc.

    Here's my includes;
    Simba Code:
    {$DEFINE SMART}
      {$i reflection/Reflection.simba}
      {$i SRL-6/SRL.simba}
    SRL-6 is an RS3 include, and will not work with OSR includes. Use AeroLib.

  9. #9
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    SRL-6 is an RS3 include, and will not work with OSR includes. Use AeroLib.
    Simba Code:
    program FightTest;
      {$DEFINE SMART}
      {$i reflection/Reflection.simba}
      {$i Aerolib/Aerolib.simba}

    When I compile it opens up Globals.Simba and gives me this error "Error: Duplicate declaration "MMX1" at line 12"

  10. #10
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Simba Code:
    {$DEFINE SMART}
    {$i AeroLib/AeroLib.Simba}
    {$i Reflection/Reflection.Simba}
    you need to include aerolib first.

  11. #11
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Spotify View Post
    Simba Code:
    program FightTest;
      {$DEFINE SMART}
      {$i reflection/Reflection.simba}
      {$i Aerolib/Aerolib.simba}

    When I compile it opens up Globals.Simba and gives me this error "Error: Duplicate declaration "MMX1" at line 12"
    Someone with more OSRS experience can probably help here, but what about:

    Simba Code:
    {$DEFINE SMART}
    {$i Aerolib/Aerolib.simba}
    {$i reflection/Reflection.simba}

  12. #12
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    Someone with more OSRS experience can probably help here, but what about:

    Simba Code:
    {$DEFINE SMART}
    {$i Aerolib/Aerolib.simba}
    {$i reflection/Reflection.simba}
    i win.

  13. #13
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    Quote Originally Posted by Spotify View Post
    I've never had a problem with this before...
    When I try to include SRL-6 into my script I get loads of errors such as duplicate declarations, etc.
    I meant just copy and paste the function as needed.

  14. #14
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Finally compiled successfully, thanks a ton fellas

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
  •