Results 1 to 8 of 8

Thread: AeroLib error

  1. #1
    Join Date
    Jan 2018
    Location
    Sweden
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default AeroLib error

    Hey everyone. I've been trying to set up simba and now I'm trying to get aerolib to work.
    When trying to run this code:

    program RUNME;
    {$DEFINE SMART}
    {$DEFINE WALKER}

    {$i AeroLib/AeroLib.Simba}


    begin
    initAL();
    end.

    I get this error:
    Error: Operator "cmp_Equal" not compatible with types at line 163
    Compiling failed.

    line 163 is: if Self = Interfaces[MAKESCREEN] then

    If I try to run it after the first error I get this message:
    Error: Unknown declaration "TInterface" at line 8

    line 8 is this:
    Interfaces: Array [0..17] of TInterface;


    I just downloaded the latest AeroLib version as well as the latest simba version. Unsure how to solve this.

    //Jamms

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

    Default

    Howdy Jamms. Let me start by asking if the version of Simba you're using is Simba 1.2-rc6 32-bit version? Also, it may or may not be directly related to this error in particular, but are you running Simba as an administrator?

    Also that file (Interfaces.simba) is part of the AeroLib include, which is just a library of useful code to be used in scripts, therefore the include files themselves aren't intended to be ran directly. Now, if you're using the Simba I attached a link to and you're still getting an error then replace line 163 of Interfaces.simba with this line and tell me if it fixes your compile error:
    Simba Code:
    if (Self.Text = 'quantity') then  // Temporary work-around
    Last edited by Flight; 01-25-2018 at 11:21 PM.

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


  3. #3
    Join Date
    Jan 2018
    Location
    Sweden
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    It worked with the simba version you linked. Thank you.

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

    Default

    Quote Originally Posted by Jamms View Post
    It worked with the simba version you linked. Thank you.
    Awesome, glad to hear it worked for you. Are you having any other issues with the include now?

    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. #5
    Join Date
    Jan 2018
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Awesome, glad to hear it worked for you. Are you having any other issues with the include now?
    I had the same error, using AeroLib 2.1_1 however now I'm getting these errors:
    Variable "DISABLE_RANDOMS" not used at line 14, column 35 in file "C:\Simba\Includes\AeroLib\misc\randomsolvers\Mast er.simba"
    Variable "BOX_CB" not used at line 112, column 36 in file "C:\Simba\Includes\AeroLib\core\Constants.simb a"
    Variable "AL_OnFindRandomCall" not used at line 191, column 63 in file "C:\Simba\Includes\AeroLib\core\Constants.simb a"
    Variable "AL_CombatRandoms" not used at line 192, column 32 in file "C:\Simba\Includes\AeroLib\core\Constants.simb a"
    Variable "AL_runDirection" not used at line 193, column 37 in file "C:\Simba\Includes\AeroLib\core\Constants.simb a"
    Variable "KMTarget" not used at line 12, column 29 in file "C:\Simba\Includes\AeroLib\core\engine\InputHandle r.simba"
    Variable "ITarget" not used at line 12, column 29 in file "C:\Simba\Includes\AeroLib\core\engine\InputHandle r.simba"
    Variable "pnt" not used at line 844, column 20 in file "C:\Simba\Includes\AeroLib\core\Chat.simba"
    Variable "Found" not used at line 302, column 17 in file "C:\Simba\Includes\AeroLib\core\gametabs\Inventory .simba"
    Variable "TheSkill" not used at line 114, column 22 in file "C:\Simba\Includes\AeroLib\core\Antiban.simba"
    Parameter "Result" not set at line 206, column 43 in file "C:\Simba\Includes\AeroLib\misc\randomsolvers\Mast er.simba"
    Parameter "Result" not set at line 306, column 61 in file "C:\Simba\Includes\AeroLib\core\minimap\Walker\Bas e.pas"
    Variable "tmp3" not used at line 307, column 32 in file "C:\Simba\Includes\AeroLib\core\minimap\Walker\Bas e.pas"
    Variable "test" not used at line 317, column 19 in file "C:\Simba\Includes\AeroLib\core\minimap\Walker\Bas e.pas"
    Error: Variable expected at line 68
    Compiling failed.
    Any solution would be highly appreciated

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

    Default

    Quote Originally Posted by icyxen View Post
    I had the same error, using AeroLib 2.1_1 however now I'm getting these errors:

    Code:
    Error: Variable expected at line 68
    Any solution would be highly appreciated
    Everything above that line in your debug box is normal and insignificant so you can ignore that. However the compile error you have at line 68 is what's holding you up. Which script are you attempting to compile/run?

    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. #7
    Join Date
    Jan 2018
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Everything above that line in your debug box is normal and insignificant so you can ignore that. However the compile error you have at line 68 is what's holding you up. Which script are you attempting to compile/run?
    This one, thank you
    Iron ore pro.simba

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

    Default

    Quote Originally Posted by icyxen View Post
    This one, thank you
    Iron ore pro.simba
    Ah, well you'll have to ask the writer of the script as it doesn't pertain to one of my own.

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


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
  •