[Hint] D:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
Compiled successfully in 2671 ms.
False
Walk here ? . < -
False
Walk here ? . < -
False
Walk here ? . < -
False
Walk here ? . < -
False
Walk here ? . I - -
False
Walk here ? . I - -
False
Walk here ? . I - -
False
l -. z --. - ? = = _-- s -z ? -Ps z S -
False
l -. z --. - ? = = _-- s -z ? -Ps z S -
False
l -. z --. - ? = = _-- s -z ? -Ps z S -
True
Walk here l -. z --. - ? = = _-- s -z ? -Ps z S -
False
? . I - .
False
? . I - -
True
Walk here ? . I - -
True
Walk here ? . I - -
True
Walk here ? . I - -
True
Walk here ? . I - -
True
Walk here ? . I - -
True
Walk here / 1 hore options - -
True
Walk here / 1 hore options - -
True
Walk here / 2 hore options - -
True
Walk here / 2 hore options - -
True
Walk here / 1 hore o^ions r -
True
Walk here ! . \ I r -
False
Climb-down Ho^ / 2 mre options r -
True
Walk here ! . \ I r -
True
Walk here ! . \ I r -
True
Walk here ! . \ I . -
True
Walk here / 4 hore o^ions r -
True
Walk here / 1 hore o^ions r -
True
Walk here ! . \ I r -
True
Walk here ! . \ I r -
True
Walk here ! . \ I r -
False
l -. z --. - ? = = _-- s -z ? -Ps z S -
False
l -. z --. - ? = = _-- s -z ? -Ps z S -
False
Click . -. z --. - ? = = _-- s -z ? -Ps z S -
True
Walk here l -. z --. - ? = = _-- s -z ? -Ps z S -
False
Climb-down Hole / 2 more options -
False
Climb-down Hole / 2 more options -
False
Climb-down Hole / 2 more options -
False
Climb-down Hole / 2 more options -
True
Walk here ? . I -
True
Walk here ? . I -
True
Walk here ? . I -
True
Walk here ? . I .
True
Walk here ? . I -
True
Walk here / 2 ^re options -
True
Walk here / 2 ^re options - -
True
Walk here / 2 ^re options - -
False
? . < - -
False
? . < - -
True
Walk here ? . < - -
True
Walk here ? . < - -
True
Walk here ? . < - -
False
Add friend Lia^./ 2 more options - -
False
? . < - -
False
? . < - -
False
? . < - -
True
Walk here ? . < - -
True
Walk here ? . < - -
True
Walk here ? . < - -
False
Climb-down Ho^./ 2 more options - -
False
Climb-down Ho^./ 2 more options - -
True
Walk here ? . < - -
True
Walk here ? . < - -
True
Walk here / 1 hore o^ions< - -
True
Walk here ? . < - -
True
Walk here / 1 hore o^ions< - -
True
Walk here ? . < - -
False
? . < - -
False
? . < - -
True
Walk here ? . < . -
True
Walk here ? . < - -
True
Walk here / 1 hore o^ions< - -
True
Walk here ? . < - -
True
Walk here / 2 hore o^ions< - -
False
Worn Equipmeh. < -
True
Walk here ? . < - -
True
Walk here ? . < - -
False
Select left-clibk option < -
False
Drink dPPer rescoreflas yt / 3 more options -
False
Drink Sup. r r^?tc.re .!a / 3 more options
False
Praye List ^
False
. .
False
AcHvate .
False
Activa^e (
False
.
False
Walk here
False
Walk here
False
Walk here
False
Walk here
False
False
Walk here / 2 more options
False
False
False
Walk here
False
Walk here
False
Walk here
False
Walk here
False
Walk here
False
Walk here
False
Walk here
False
Walk here
False
Quest Journals
False
S le ect left-click option
False
Turn run mode off / 1 more options
False
World Map
False
Toggle money pouch / 3 more options
False
Lift Boulder / 3 more options
False
Walk here
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
False
False
Activate
False
Walk here
False
Walk here
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
True
Walk here
True
Walk here
True
Walk here
False
Lift Boulder / 3 more options
False
Lift Boulder / 3 more options
False
Stats
False
False
Activate
False
Activate
False
Activate
False
Activate
False
Activate
False
Activate
False
Activate
False
Activate
True
Walk here
True
W la k here
True
Walk here
True
Walk here
False
-. z --. - ? = = _-- s -z ? -Ps z S -
False
-. z --. - ? = = _-- s -z ? -Ps z S -
Successfully executed.
My log for this script :
{$i srl/srl.simba}
function UpTextMatches(Text : string) : Boolean;
var
TP : TPoint;
begin
Result := FindText(TP.x,TP.y,Text,UpChars_s,0,0,MSX1+300,MSY1+30);
end;
begin
repeat
wait(500);
writeln(UpTextMatches('alk'));
writeln(rs_GetUpText);
until false;
end.
The beginning of the log shows that it messed up somehow. Once i moved the mouse away, and back it worked perfect though. I couldn't get it to fail, even when rs_getuptext did. Excluding that very first few lines.
So maybe expand on the initial idea with this?
function UpTextMatches(Text : string) : Boolean;
var
TP : TPoint;
begin
Result := FindText(TP.x,TP.y,Text,UpChars,0,0,MSX1+300,MSY1+30)
OR FindText(TP.x,TP.y,Text,UpChars_s,0,0,MSX1+300,MSY1+30)
OR FindText(TP.x,TP.y,Text,UpCharsEx,0,0,MSX1+300,MSY1+30)
OR pos(Text,rs_GetUpText) >= 0;
end;
I added all the uptext font because im not positive what the difference in usage is