Page 4 of 34 FirstFirst ... 2345614 ... LastLast
Results 76 to 100 of 827

Thread: AeroLib Include

  1. #76
    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
    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
    Sure pal, I'll see what I can 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..."


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

    Default

    Quote Originally Posted by james10000 View Post
    can anyone help?

    when i try to run a aerolib script i get this error
    Exception in Script: Unknown compiler directives at 5:3
    Switch to lape search my dear friend!





  3. #78
    Join Date
    Mar 2013
    Location
    Argentina
    Posts
    758
    Mentioned
    27 Post(s)
    Quoted
    365 Post(s)

    Default

    Quote Originally Posted by james10000 View Post
    can anyone help?

    when i try to run a aerolib script i get this error
    Exception in Script: Unknown compiler directives at 5:3

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

    Default

    I noticed some people are having issues downloading SimbaExt from Slacky's website so I've added an uploaded version to my DropBox. The correct links can now be found on the OP.

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


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

    Default

    Not sure if it's a problem on my end, if it is for the life of me I can't see it. For some reason it opens up the music tab, and keeps on flipping between the inv and music tab.
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  6. #81
    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 problem on my end, if it is for the life of me I can't see it. For some reason it opens up the music tab, and keeps on flipping between the inv and music tab.
    mmh, are you calling random finding?

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

    Default

    Quote Originally Posted by hoodz View Post
    mmh, are you calling random finding?
    Nope :/ and I also tested it with Flights Catherby Cooker and found I had the same issue (Before and after removing all the random finding)
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  8. #83
    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
    Nope :/ and I also tested it with Flights Catherby Cooker and found I had the same issue (Before and after removing all the random finding)
    mmh weird, its working fine for me. what script were you using (not the cooker but the other one)

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

    Default

    Quote Originally Posted by hoodz View Post
    mmh weird, its working fine for me. what script were you using (not the cooker but the other one)
    Rogue cooker + I re-installed aerolib and it fixed it. I assume I must of edited something when looking around
    Nvm; it seems to happen on some worlds, but not on world 2 :?
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  10. #85
    Join Date
    Oct 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    what does op stand for? I think I need that ext file to run the monkfisher. Im getting this error:

    Error: Duplicate declaration "DrawText" at line 241
    Compiling failed.

  11. #86
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by tzaro View Post
    what does op stand for? I think I need that ext file to run the monkfisher. Im getting this error:

    Error: Duplicate declaration "DrawText" at line 241
    Compiling failed.
    op means original post or original poster, depending on context.
    (First post in the thread, the author of the thread.)

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

    Default

    Wishlist time! These are pretty straight forward. Tab is just for the variety, and it looks super sexy. waitTab is crazy handy when dealing with spells which have a delay(Plank Making spell, Superheat, Alch etc..)

    Simba Code:
    function Tab(i: integer): boolean;
    begin
      Case Random(8)of
        0: Result := FTab(I);
        1..7: Result := gameTab(I);
      end;
    end;

    function waitTab(Tab, waitPerLoop, MaxWait: integer): boolean;
    var
      T: Timer;
    begin
      T.start;
      repeat
        Result := (getCurrentTab = Tab);
        If Not Result then
          Wait(waitPerLoop);
      until(T.timeElapsed > MaxWait)or(Result);
    end;

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

    Default

    made a cooking script with aerolib:


    still running

  14. #89
    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
    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
    Sure I'll give it a go.

    Quote Originally Posted by Fitta View Post
    Wishlist time! These are pretty straight forward. Tab is just for the variety, and it looks super sexy. waitTab is crazy handy when dealing with spells which have a delay(Plank Making spell, Superheat, Alch etc..)

    Simba Code:
    function Tab(i: integer): boolean;
    begin
      Case Random(8)of
        0: Result := FTab(I);
        1..7: Result := gameTab(I);
      end;
    end;

    function waitTab(Tab, waitPerLoop, MaxWait: integer): boolean;
    var
      T: Timer;
    begin
      T.start;
      repeat
        Result := (getCurrentTab = Tab);
        If Not Result then
          Wait(waitPerLoop);
      until(T.timeElapsed > MaxWait)or(Result);
    end;
    I like the concept of 'waitTab', I'll add that in. Thanks for the suggestion!

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


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

    Default

    Quote Originally Posted by Flight View Post
    Sure I'll give it a go.



    I like the concept of 'waitTab', I'll add that in. Thanks for the suggestion!
    Cheers!

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

    Default

    Could you add something like WorldInfo := [];? So you can choose what world to log into?
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  17. #92
    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
    Could you add something like WorldInfo := [];? So you can choose what world to log into?
    you can call changeWorld(world);

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

    Default

    Quote Originally Posted by hoodz View Post
    you can call changeWorld(world);
    <33
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

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

    Default

    Simba Code:
    function IntInArrEx(var index: integer; iarr: TIntegerArray; int: Integer): boolean;
    var
      I: Integer;
    begin
      For I:=0 to High(iarr)do
        if iarr[I] = int then
        begin
          Result := True;
          Index := I;
          Exit;
        end;

    end;

    function IntInArr(iarr: TIntegerArray; int: Integer): boolean;
    var
      t: Integer;
    begin
      Result := IntInArrEx(t, iarr, int);
    end;

    Is there something similar to this in your include? Can't seem to find these anywhere..

  20. #95
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by Fitta View Post
    Simba Code:
    function IntInArrEx(var index: integer; iarr: TIntegerArray; int: Integer): boolean;
    var
      I: Integer;
    begin
      For I:=0 to High(iarr)do
        if iarr[I] = int then
        begin
          Result := True;
          Index := I;
          Exit;
        end;

    end;

    function IntInArr(iarr: TIntegerArray; int: Integer): boolean;
    var
      t: Integer;
    begin
      Result := IntInArrEx(t, iarr, int);
    end;

    Is there something similar to this in your include? Can't seem to find these anywhere..
    inIntArrayEx/inIntArray is in simba

    or

    Code:
    begin
      writeLn(1 in [1, 2, 3]);
    end.
    Compiled successfully in 359 ms.
    True
    Successfully executed.

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

    Default

    am I the only one to have problems with the login? It seems to click in random places and not type the username or password at all.

    me.name and me.password are defined..

    also getSkillXP and getSkillMaxLevel don't hover over the correct skill and they dont return anything.

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

    Default

    Quote Originally Posted by ineedbot View Post
    am I the only one to have problems with the login? It seems to click in random places and not type the username or password at all.

    me.name and me.password are defined..

    also getSkillXP and getSkillMaxLevel don't hover over the correct skill and they dont return anything.
    Both fixed in the next revision 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..."


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

    Default

    Just pushed rev. 0.4 through GitHub. Quite a few bug fixes (I can't recall them all over time), many small additions made, SEWalker now has (optional) SPS-style methods, and a GroundItems entity branch was added. A couple example items are added to the database.

    If you have any issues with the newest version please be sure to make a post here.

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


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

    Default

    Quote Originally Posted by Flight View Post
    Just pushed rev. 0.4 through GitHub. Quite a few bug fixes (I can't recall them all over time), many small additions made, SEWalker now has (optional) SPS-style methods, and a GroundItems entity branch was added. A couple example items are added to the database.

    If you have any issues with the newest version please be sure to make a post here.
    Error: Unknown declaration "toObj"
    Why do you have to change things
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  25. #100
    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
    Error: Unknown declaration "toObj"
    Why do you have to change things
    The whole include is slowing moving to the SRL-6 style; completely object-oriented. Here's an example of how to create (and use) a TMSObject:

    Simba Code:
    procedure TMSObject.create(_Name: string; _UpText: TStringArray; _InnerCols, _OuterCols: Array of TColEx);

    Simba Code:
    procedure openTheBank();
    var
      foundPoint    : TPoint;
      obj_BankBooth : TMSObject;
    begin                // Obj name        Uptext array             Array of TColEx (primary)       Array of TColEx (secondary)
      obj_BankBooth.create('BankBooth', ['ank B','nk bo','booth'], [createCol(540243, 3, 0.10, 1.07)], [createCol(3545, 10)]);

      if obj_BankBooth.find(foundPoint) then
        if openBankPoint(foundPoint, True) then
          writeln('We opened the bank!')
        else
          writeln('Failed to open the bank')
      else
        writeln('Failed to find the bank booth');
    end;

    I apologize as I realize this will cause some minor compile issues but clearly it's simple to fix.

    Edit:
    I need to write a bunch of tutorials, unfortunately the PrintScreen button doesn't work on my laptop so I'll have to come up with something else to take snapshots for graphic tutorials.

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


Page 4 of 34 FirstFirst ... 2345614 ... 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
  •