Suddenly started having this issue. I've run the problem down to globals.simba:
Simba Code:
Function FoundBar: Boolean;
var
tempCTS, X, Y: Integer;
begin
tempCTS:= GetColorToleranceSpeed;
SetColorToleranceSpeed(1);
Result := FindBitmapToleranceIn(SRL_NAVBAR_BITMAP, X, Y, 0, 0, 764, 50, 10); // This is where the script stops with the error message
SetColorToleranceSpeed(tempCTS);
end;
The issue seems to be that SRL_NAVBAR_BITMAP is not being defined?? In fact, I don't see that LoadSRLBitmaps is even being called??
I've uninstalled, reinstalled, deleted everything, rebooted, etc and this keeps cropping up.
Edit:
I hate it when this happens....
So, I made quite a few changes to a script without testing between change sessions. I had compiled with CTRL->F9, but had not run the script. In looking through my changes, I realized that I had inserted some failsafes in the form of "if LoggedIn then Exit;". This caused my script to call on the LoggedIn function of Players before calling SetupSRL. Of course, LoadSRLBitmaps will not be called automatically until SetupSRL.
Thanks for anyone who looked at this post and thanks to anyone who refrained from telling me what an idiot I was.
If possible, could a moderator please close this thread?