Results 1 to 2 of 2

Thread: Having a problem with Globals.simba

  1. #1
    Join Date
    Mar 2013
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Having a problem with Globals.simba

    Recently, nothing has been working for me.. I tried using some scripts and i had problems with "Globals.simba" so i reinstalled, completely. The problem is still persisting, its the exact same problem. This time, i updated SRL from a fresh install and installed smart 8 and not even the test script you're given in the howto thread is working for me.

    I'm confused as to how i can have the exact same issue with the script to test smart 8 as i did with scripts that required the new globals.simba from the include. Completely fresh installed...

    The problem its having is line 695 of globals, Which is blank. It's almost like simba is broken. The blank line is within this text (Not code)
    "(*
    srl_InFight
    ~~~~~~~~~~~
    (blank line 695)
    .. code-block:: pascal

    function srl_InFight: Boolean;

    Checks whether player currently is in a fight, using mainscreen
    HP bar presence detection. Returns True if Player's HP bar is detected.
    Idea for improvement: Also check using PixelShift(); to see whether Player
    is performing fighting animations to further improve the certainty of results.

    .. note::

    by Narcle

    Example:

    .. code-block:: pascal

    while srl_InFight do
    begin
    CheckHP;
    EatFood;
    end;

    *) "

    The error it spits out:
    "[Error] C:\Simba\Includes\SRL/SRL/core/globals.simba(696:5): Unknown identifier 'ImageSetClientArea' at line 695
    Compiling failed."

    Also: There was a point when i could run most scripts just fine, now even after reinstalling simba i get this problem.
    Last edited by Syden; 03-26-2013 at 06:47 AM.

  2. #2
    Join Date
    Mar 2013
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Fixed.

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
  •