Page 3 of 34 FirstFirst 1234513 ... LastLast
Results 51 to 75 of 827

Thread: AeroLib Include

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

    Default

    Not sure if it's a AL bug or a simba offset bug (Using w8), but when using the normal rs client (Not smart) the login handler doesn't enter the username and enters the password in the user box :/
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  2. #52
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Harrier View Post
    Not sure if it's a AL bug or a simba offset bug (Using w8), but when using the normal rs client (Not smart) the login handler doesn't enter the username and enters the password in the user box :/
    i noticed it too, it tried it but it were all random letters (like it was typing my name and pass at the same time)

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

    Default

    Quote Originally Posted by hoodz View Post
    i noticed it too, it tried it but it were all random letters (like it was typing my name and pass at the same time)
    That's his anti-keylogger thing. It's meant to type 1-5 letters of each then change to the other box. Guess it's not changing for you :/
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  4. #54
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Harrier View Post
    That's his anti-keylogger thing. It's meant to type 1-5 letters of each then change to the other box. Guess it's not changing for you :/
    I believe you can turn it off

  5. #55
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    It still doesn't work, even if you disable it.





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

    Default

    Quote Originally Posted by Harrier View Post
    Not sure if it's a AL bug or a simba offset bug (Using w8), but when using the normal rs client (Not smart) the login handler doesn't enter the username and enters the password in the user box :/
    It is indeed a bug in AL and it's been fixed but I don't believe I've uploaded that version yet. So far just Krazy_Meerkat has the newest version as I left it with him before I started moving. My internet access at the moment is extremely limited so I'm not sure if I've enough stability to upload the new version. If I have some free time I'll make some more changes to the include for another revision release. Hang in there...

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


  7. #57
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    It is indeed a bug in AL and it's been fixed but I don't believe I've uploaded that version yet. So far just Krazy_Meerkat has the newest version as I left it with him before I started moving. My internet access at the moment is extremely limited so I'm not sure if I've enough stability to upload the new version. If I have some free time I'll make some more changes to the include for another revision release. Hang in there...
    Nice, can't wait!

  8. #58
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    Nice, can't wait!
    Sure you can... It's not like your gonna die in the meanwhile
    !No priv. messages please

  9. #59
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by slacky View Post
    Sure you can... It's not like your gonna die in the meanwhile
    slacky pls..

  10. #60
    Join Date
    Aug 2007
    Posts
    539
    Mentioned
    20 Post(s)
    Quoted
    266 Post(s)

    Default

    Once you know how to use SEWalker, it can be very accurate. Nice!

  11. #61
    Join Date
    Mar 2013
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Is this still being worked on? Would love to see some tutorials/example scripts to work from.

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

    Default

    Quote Originally Posted by Shout View Post
    Is this still being worked on? Would love to see some tutorials/example scripts to work from.
    Indeed it is, I've just been crazy busy and away from my laptop as well as changing locations. I'm only able to use internet off my phone's wifi. When I have time I work on bits and pieces of it, making improvements here and there. Again, sorry for the delay.

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


  13. #63
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Indeed it is, I've just been crazy busy and away from my laptop as well as changing locations. I'm only able to use internet off my phone's wifi. When I have time I work on bits and pieces of it, making improvements here and there. Again, sorry for the delay.
    Hey, take your time. The include is crazy good anyhow





  14. #64
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Trouble incoming!

    Function name: getSkillXP
    Located: Skills.simba
    Error: The mouse function brakeMMouse random parameters goes out of bounds pretty radically.
    Fix: Change it into a mousebox?

    Function name: waitFindColors
    Located: Timing.simba
    Error: You missed something tiny
    Fix:

    Simba Code:
    function waitFindColors(var TPA: TPointArray; Color, Tol: Integer; Area: TBox; MaxTime: Integer): Boolean;
    var
      T: Timer;
    begin
      Result := False;
      T.start();
      while T.timeElapsed < MaxTime do
      begin
        if createCol(Color,Tol).findAllIn(Area, TPA) then
          Exit(True);
        Wait(10 + Random(6));
      end;
    end;


    waitFindColors needs to be fixed in order for getSkillXP to work!





  15. #65
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    I also found something: sometimes the setCompass(direction: variant); doesnt work

    it will only work for example when you want to set the compass to 30 but not to 120.

    if you need more information just tell me and ill give you screenshots etc

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

    Default

    Quote Originally Posted by Fitta View Post
    Trouble incoming!

    Function name: getSkillXP
    Located: Skills.simba
    Error: The mouse function brakeMMouse random parameters goes out of bounds pretty radically.
    Fix: Change it into a mousebox?

    Function name: waitFindColors
    Located: Timing.simba
    Error: You missed something tiny
    Fix:

    Simba Code:
    function waitFindColors(var TPA: TPointArray; Color, Tol: Integer; Area: TBox; MaxTime: Integer): Boolean;
    var
      T: Timer;
    begin
      Result := False;
      T.start();
      while T.timeElapsed < MaxTime do
      begin
        if createCol(Color,Tol).findAllIn(Area, TPA) then
          Exit(True);
        Wait(10 + Random(6));
      end;
    end;


    waitFindColors needs to be fixed in order for getSkillXP to work!
    Great bug report, detail-filled, just the way I like it, but I didn't catch what's wrong with 'waitFindColors();'. Could you elaborate a bit on that? As for the first bug I'll take a look at it right now.

    Quote Originally Posted by hoodz View Post
    I also found something: sometimes the setCompass(direction: variant); doesnt work

    it will only work for example when you want to set the compass to 30 but not to 120.

    if you need more information just tell me and ill give you screenshots etc
    Thank you also for the bug report. Does this only occur at 120 or is this just an example? I'm not sure if this has been corrected in Rev. 0.4 or not, I've modified many bits and pieces over time that I've certainly forgotten about. I'll also take a look at this immediately.

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


  17. #67
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Great bug report, detail-filled, just the way I like it, but I didn't catch what's wrong with 'waitFindColors();'. Could you elaborate a bit on that? As for the first bug I'll take a look at it right now.



    Thank you also for the bug report. Does this only occur at 120 or is this just an example? I'm not sure if this has been corrected in Rev. 0.4 or not, I've modified many bits and pieces over time that I've certainly forgotten about. I'll also take a look at this immediately.
    You missed

    while T.timeElapsed < MaxTime do

    < MaxTime
    ^ This ^



    EDIT: If you wish for future reports(using your include quite heavily), I can supply you with a fix too?





  18. #68
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Thank you also for the bug report. Does this only occur at 120 or is this just an example? I'm not sure if this has been corrected in Rev. 0.4 or not, I've modified many bits and pieces over time that I've certainly forgotten about. I'll also take a look at this immediately.
    it was just a random example.

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

    Default

    Quote Originally Posted by Fitta View Post
    You missed

    while T.timeElapsed < MaxTime do

    < MaxTime
    ^ This ^



    EDIT: If you wish for future reports(using your include quite heavily), I can supply you with a fix too?
    Perhaps I'm overlooking an obvious mistake, but I don't see an error with the logic:
    Simba Code:
    T.start(); // New timer is triggered
      while T.timeElapsed < MaxTime do  // Until the timer's duration reaches the time limit do...

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


  20. #70
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Perhaps I'm overlooking an obvious mistake, but I don't see an error with the logic:
    Simba Code:
    T.start(); // New timer is triggered
      while T.timeElapsed < MaxTime do  // Until the timer's duration reaches the time limit do...
    Maybe I have an old release, in my release it "< MaxTime" wasnt there.

    EDIT:
    This function was in my folder?
    Simba Code:
    function waitFindColors(var TPA: TPointArray; Color, Tol: Integer; Area: TBox; MaxTime: Integer): Boolean;
    var
      T: Timer;
    begin
      Result := False;
      T.start();
      while T.timeElapsed do
      begin
        if createCol(Color,Tol).findAllIn(Area, TPA) then
          Exit(True);
        Wait(10 + Random(6));
      end;
    end;





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

    Default

    Fitta you're right, that was still an active bug in AeroLib even until Rev. 0.4. It's been fixed now; thank you. And Hoodz, I just checked the 'setCompass()' function with 120 as the parameter; it worked fine for me. I suspect it's a bug in 0.3 but i'ts certainly been fixed in the newest (unreleased) version.

    At the moment I'm working on a 'GroundItems' entity extension. It will work similar to the MSObjects type; finding ground items on the MS via dual (or the optional single only) colors and size limits. AeroLib will also automatically load a database for some predefined ground items. There won't be many, just a few to set an example, so contributions would be great. I've also added a few more functions some of my later scripts will require.

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


  22. #72
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Fitta you're right, that was still an active bug in AeroLib even until Rev. 0.4. It's been fixed now; thank you. And Hoodz, I just checked the 'setCompass()' function with 120 as the parameter; it worked fine for me. I suspect it's a bug in 0.3 but i'ts certainly been fixed in the newest (unreleased) version.

    At the moment I'm working on a 'GroundItems' entity extension. It will work similar to the MSObjects type; finding ground items on the MS via dual (or the optional single only) colors and size limits. AeroLib will also automatically load a database for some predefined ground items. There won't be many, just a few to set an example, so contributions would be great. I've also added a few more functions some of my later scripts will require.
    Thank you for your time

  23. #73
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Fitta you're right, that was still an active bug in AeroLib even until Rev. 0.4. It's been fixed now; thank you. And Hoodz, I just checked the 'setCompass()' function with 120 as the parameter; it worked fine for me. I suspect it's a bug in 0.3 but i'ts certainly been fixed in the newest (unreleased) version.

    At the moment I'm working on a 'GroundItems' entity extension. It will work similar to the MSObjects type; finding ground items on the MS via dual (or the optional single only) colors and size limits. AeroLib will also automatically load a database for some predefined ground items. There won't be many, just a few to set an example, so contributions would be great. I've also added a few more functions some of my later scripts will require.
    A little wishlist for Aerolib..

    Input a integer and get the per hour rate, perfect for progress reports.
    Simba Code:
    function perHour(I: Integer): integer;
    begin
      Result := Round((3600*(I))/(GetTimeRunning/1000));
    end;

    findxp.simba in the osrs include(Changed to work with lape), the following functions.. (TillLevel is not in the findxp.simba include)
    Simba Code:
    {*******************************************************************************
    function ConvertXpToLvl(Xp: Integer): Integer;
    By: Brak, Flyboy
    Description: Returns skill level based on xp level
    *******************************************************************************}

    function ConvertXpToLvl(xp: Integer): Integer;
    var
      level, exp: Integer;
    begin
      for level := 1 to 99 do
      begin
        exp := exp + Trunc(level + 300 * Pow(2.0, level / 7.0));
        if ((exp / 4) > xp) then
        begin
          Result := level;
          Exit;
        end;
      end;
      Result := 99;
    end;

    {*******************************************************************************
    function ConvertLvlToXP(Xp: Integer): Integer;
    By: Ron
    Description: Returns exp based on level
    *******************************************************************************}

    function ConvertLvlToXP(Level: Integer): Integer;
    var
      i, exp: Integer;
    begin
      for i := 1 to Level do
        exp := exp + Trunc(i + 300 * Pow(2.0, i / 7.0));
      Result := exp div 4;
    end;

    function TillLevel(CurrentXP: Integer): Integer;
    begin
      Result := ConvertLvlToXP(ConvertXpToLvl(CurrentXP))-CurrentXP;
    end;





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

    Default

    Quote Originally Posted by hoodz View Post
    Thanks you for your time
    Of course.

    Quote Originally Posted by Fitta View Post
    A little wishlist for Aerolib..

    Input a integer and get the per hour rate, perfect for progress reports.
    Simba Code:
    function perHour(I: Integer): integer;
    begin
      Result := Round((3600*(I))/(GetTimeRunning/1000));
    end;

    findxp.simba in the osrs include(Changed to work with lape), the following functions.. (TillLevel is not in the findxp.simba include)
    Simba Code:
    {*******************************************************************************
    function ConvertXpToLvl(Xp: Integer): Integer;
    By: Brak, Flyboy
    Description: Returns skill level based on xp level
    *******************************************************************************}

    function ConvertXpToLvl(xp: Integer): Integer;
    var
      level, exp: Integer;
    begin
      for level := 1 to 99 do
      begin
        exp := exp + Trunc(level + 300 * Pow(2.0, level / 7.0));
        if ((exp / 4) > xp) then
        begin
          Result := level;
          Exit;
        end;
      end;
      Result := 99;
    end;

    {*******************************************************************************
    function ConvertLvlToXP(Xp: Integer): Integer;
    By: Ron
    Description: Returns exp based on level
    *******************************************************************************}

    function ConvertLvlToXP(Level: Integer): Integer;
    var
      i, exp: Integer;
    begin
      for i := 1 to Level do
        exp := exp + Trunc(i + 300 * Pow(2.0, i / 7.0));
      Result := exp div 4;
    end;

    function TillLevel(CurrentXP: Integer): Integer;
    begin
      Result := ConvertLvlToXP(ConvertXpToLvl(CurrentXP))-CurrentXP;
    end;
    I can certainly add those into the include. Perhaps there's also some other handy, commonly-used progress report snippets I can add into that directory. Thanks for the suggestions mate.

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


  25. #75
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Of course.
    Flight could you add something to the include for me?
    A function that returns the text if you hover about the combat styles (combat tab).
    It should return a TStringArray.

    Examples: ['shared xp']
    ['ranged xp', 'defence xp']

    I tried it myself but im really bad with text recognising

Page 3 of 34 FirstFirst 1234513 ... 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
  •