Results 1 to 8 of 8

Thread: Smart Error ...

  1. #1
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Smart Error ...

    umm many ppl asked how to solve this error which includes me....

    [Runtime Error] : Exception: Access violation at address 025710AB in module 'Embedded SMART.dll'. Read of address 000006DC in line 47 in script C:\Documents and Settings\Owner\My Documents\Grade 7\SCAR 3.15\includes\SRL/SRL/misc/SMART.scar

    this error keeps appearing in many of the scripts i try to create...and im shur its not my script thats the problem becuz if compiles properly. please tel me wat to exactly do to avoid this.

  2. #2
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Are you using Markus method? sometimes it doesnt works for me... try using the normal method.


  3. #3
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Cazax View Post
    Are you using Markus method? sometimes it doesnt works for me... try using the normal method.
    wel markus method is the one i use...btw wats the normal method?...can u lyk actualy show me a link or how to use the normal method? plz?

  4. #4
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default



    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  5. #5
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default


    thanks. i used it but still same problem.. btw this is my script..plz help the error keeps coming..

    SCAR Code:
    program Miner;
    {.include SRL/SRL/misc/SMART.scar}
    {.include SRL/SRL.scar}

    var x,y: integer;

    const
      SmartWorld      = 126;   //  what world smart uses
      Signed          = True;

      LoadsPerPlayer= 2;
      WaitPerRock= 5000;
      rockcolor1= 5274794;
      rockcolor2= 4944798;
      rockcolor3= 4879005;

    procedure DeclarePlayers; //this is where i make players
    begin
      HowManyPlayers :=1;  // how many players do you want
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer:=0
      Players[0].Name   := 'Username'; //Character Name
      Players[0].Pass   := 'Password'; //Character Pass
      Players[0].Nick   := 'nick'; //Nickname 3 - 4 Letter's of char name
      Players[0].Active := True; //true if you want this player to be ran in the script false if you dont want it to run
    end;

    procedure SetupSmart;
    begin
      SmartSetupEx(SmartWorld, false, Signed);
      ClearDebug;
      WriteLn('Setting up Smart... Please Hold...');
      Wait(10000 + random(5000));
      SetTargetDC(SmartGetDC);
      While not(SmartReady) do Wait(100);
    end;



    Procedure Myrandom;
    begin

      FindNormalRandoms;
      FindLamp('Mining');
     
     if(FindFight)then
      RunAway('N', True,1,15000);
    end;

    procedure antiban;
    begin
     if(not(LoggedIn)) then Exit;
      case Random(30) of
      1: RandomRClick;
      2: HoverSkill('Mining', False);
      3: RandomMovement;
      4: BoredHuman;
      5: AlmostLogout;
      6: DoEmote(400 + Random(90));
     end;
    end;

    procedure Minedarock;

    var x, y, MyMark: integer;

    begin
     if(not(LoggedIn))then
      Exit;
      Marktime(Mymark);
      MakeCompass('N');
     repeat
     if FindObjCustom(x, y, ['Min', 'ine'], [rockcolor1, rockcolor2, rockcolor3], 7)
      then
       begin
        Mouse(x,y,0,0,false);
        Wait(500+ (random(150)));
        writeln('found rock');
         if ChooseOption('ine') then
          begin
          Wait(WaitPerRock);
          antiban;
          Myrandom;
          exit;

       end;
      end;
       if TimeFromMark(MyMark) > (2 * 60 * 100) then
       begin
        Logout;
        Exit;
       end;
      until false;

    end;


    procedure Drop;
    begin
      if Not(LoggedIn) then exit;
      GameTab(4);
      for x := 3 to 28 do
      Begin
        if Random(101) < 3 then
        Begin
          MouseItem(x, true);
          MouseItem(x + 1, true);
        end;
        MouseItem(x, false);
        ChooseOption('rop');
      end;
    end;

    begin
     if (not(LoggedIn)) then LoginPlayer;
      SetupSmart;
      SetupSRL;
      DeclarePlayers;
      if LoggedIn then Logout;
      LoginPlayer;
     repeat
      Minedarock;
       if InvFull then
       begin
       Drop;
       Inc(Players[CurrentPlayer].Banked);
       if Players[CurrentPlayer].Banked mod LoadsPerPlayer = 0 then
       begin
        NextPlayer(True);
       end;
      end;
      if not Loggedin then NextPlayer(False);

     until False;
    end.

  6. #6
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    and yes it comes for all the scripts "i make" btw this is the error again...and above is the script the error comes for...
    [Runtime Error] : Exception: Access violation at address 025710AB in module 'Embedded SMART.dll'. Read of address 000006DC in line 47 in script C:\Documents and Settings\Owner\My Documents\Grade 7\SCAR 3.15\includes\SRL/SRL/misc/SMART.scar

  7. #7
    Join Date
    Dec 2007
    Posts
    372
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    idk what the problem is, but its happenned to me. I just reinstalled SCAr and SRL (lost all my scripts unfortunately) reinstalled the SVN and REV and then it works over 80% of the time.


    Kind of a last resort, but i had to.

  8. #8
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by putnam11 View Post
    idk what the problem is, but its happenned to me. I just reinstalled SCAr and SRL (lost all my scripts unfortunately) reinstalled the SVN and REV and then it works over 80% of the time.


    Kind of a last resort, but i had to.
    hmmm lol wel mine works now : ) yup..post the script thats not working and maybe its the samething that was rong with my script..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Smart error and Some kind of Math.scar error
    By FagetHax0r in forum OSR Help
    Replies: 6
    Last Post: 02-24-2008, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •