SRL Archive - RS3 Help

Toolscreen Access Violation


iWildman

2014-07-10 09:45:09

Hey, I'm new to scripting and I was trying to write my first script, but I keep getting this error:

Exception in Script: Runtime error: "Access violation" at line 163, column 44 in file "C:\Simba\Includes\SRL-6\lib\interfaces\toolscreen.simba"

This is the code that I used for the toolscreen:

  repeat
tabBackPack.open();
tabBackPack.mouseSlot(2, MOUSE_MOVE);

if isMouseOverText(['raft Leather']) then
begin
fastClick(MOUSE_LEFT);
wait(randomRange(500, 1500));
end
until productionScreen.isOpen() or TRStoolscreen.isOpen();

I know the code can be a lot better, I'm a complete beginner, but can anyone tell me why I'm getting the access violation error? Thankyou

Ashaman88

2014-07-10 09:51:17

until productionScreen.isOpen() or toolscreen.isOpen();

iWildman

2014-07-10 09:58:58

Thankyou, I don't get the access violation anymore but the script doesn't detect the toolscreen opening and just continues clicking leather in the inventory… any suggestions?