[Runtime Error] In FindNormalRandoms

Discussion in 'Scar/Simba Help' started by SOCCERGREG, Jul 21, 2007.

[Runtime Error] In FindNormalRandoms
  1. Unread #1 - Jul 21, 2007 at 11:38 AM
  2. SOCCERGREG
    Referrals:
    0

    SOCCERGREG Guest

    [Runtime Error] In FindNormalRandoms

    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?
     
  3. Unread #2 - Jul 21, 2007 at 3:43 PM
  4. SOCCERGREG
    Referrals:
    0

    SOCCERGREG Guest

    [Runtime Error] In FindNormalRandoms

    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.
     
  5. Unread #3 - Jul 21, 2007 at 11:24 PM
  6. SOCCERGREG
    Referrals:
    0

    SOCCERGREG Guest

    [Runtime Error] In FindNormalRandoms

    B U M P
     
  7. Unread #4 - Jul 22, 2007 at 8:31 AM
  8. Starblaster100
    Joined:
    Apr 21, 2005
    Posts:
    335
    Referrals:
    2
    Sythe Gold:
    0

    Starblaster100 Forum Addict

    [Runtime Error] In FindNormalRandoms

    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)
     
< problem with scar | need help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site