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.


Reply With Quote