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:
This is the code that I used for the toolscreen:
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
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