• Log in or sign up for an account here: https://www.sythe.org/login

[Runtime Error] In FindNormalRandoms

  • Thread starter Thread starter SOCCERGREG
  • Start date Start date
S

SOCCERGREG

Guest
Code:
{.include SRL\Srl.scar}

Procedure MyRandoms;
Begin
FindNormalRandoms;
 wait(10)
 UseBoxSolver := True
  wait(10)
 UseCerterSolver := True
  wait(10)
 UseSandwichSolver :=True
 FindMaze;
 wait(10)
 Solvepinball;
 Wait(10)
  if (FindFight) then
   begin
    RunAwayDirection('E');
     Wait(8500 + random(3500));
    RunBack;
   end;
  Wait(10);
 FindTalk;
end;

Begin
activateclient;
Myrandoms;
end.

Everyone tells me to use this to find randoms, but I keep getting this error...
"[Runtime Error] : Exception: Access violation at address 006FE79D in module 'scar.exe'. Read of address 00000000 in line 315 in script C:\Program Files\SCAR 3.11\includes\srl\srl\core\Text.scar"

And then it opens text.scar to this part

Code:
procedure CloseWindow; //I've ben testing and everything leads to this procedure
begin                     //So is something wrong with this procedure???
  if (FindBitmapMaskTolerance(CWindow, x, y, 400, 3, 515, 100, 0, 85)) then
  Begin
    Mouse(x + 8, y + 3, 3, 1, True);
    Wait(400+Random(400));
  End;
end;

Can someone help me fix this or find another way to find randoms in runescape?
 
I've been laying around and I don't think I have enough memory.

PLZ try the first script and if it works tell me how much CPU and ram your computer has plz because i'm going to need to get more.
 
Please don't bump posts. Next time will be a warning.
Try putting SetupSRL in your main loop, just before ActivateClient.
Also make sure you are not freeing the Bitmap CWindow in your script anywhere (Although, I doubt you are)
 
Runescape Gamblingrunescape gambling
Back
Top