I installed SRL6 correctly with the right options and settings. Scripts compile and it detects colors but I am having trouble correctly setting up the inventory position to where it is reliably detected.
I run this when my inventory is in the bottom right
Simba Code:
program new;
{$DEFINE SMART}
{$i srl-6/srl.simba}
begin
ClearDebug();
smartClientWidth := 1024;
smartClientHeight := 768;
SetupSRL();
setlength(players, 1);
with Players[0] do
begin
LoginName := '';
Password := '';
isActive := True;
end;
wait(2000);
players[0].login();
wait(2000);
writeln(tabBackpack.count());
end.
I get this error after it logs in and attempts to count the items in the backpack (this also applies to the tabBackpack.open function too):
-- WARNING: TRSGameTabs._getActiveTabBox(): There's only a single tab open, failed to identify
Exception in Script: Runtime error: "You passed a wrong ye to a finder function: 1020. The client has a height of 1000, thus the ye is out of bounds." at line 171, column 32 in file "C:\Simba\Includes\srl-6\lib\utilities\wrappers.simba"
File[C:\Simba\Includes\SRL-6/logs/SRL log (03-10-13 at 09.17.15 PM).txt] has not been freed in the script, freeing it now.
Tried moving the inventory around and using different client dimensions, but kept on getting the same issue.