Results 1 to 13 of 13

Thread: 'Another' Error..

  1. #1
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default 'Another' Error..

    I get:

    Code:
    [Runtime Error] : Exception: Access violation at address 007290FF in module 'scar.exe'. Read of address 00000000 in line 92 in script C:\Program Files\SCAR 3.14\includes\SRL\SRL\Skill\Fishing.scar

    Wich is in here:

    SCAR Code:
    {*******************************************************************************
    procedure HandleWhirlPool;
    By: Dankness
    Description: Finds and Handles Whirlpools by Standing still and waiting
    *******************************************************************************}


    procedure HandleWhirlPool;
    var
      x, y: Integer;
    begin
      if (FindDTM(WhirlPoolDTM, x, y, MSX1, MSY1, MSX2, MSY2)) then //This is line 92
      begin
        Status('Whirlpool found!');
        Inc(WhirlPools);
        Mouse(647, 82, 2, 2, True);
        FTWait(50 + Random(15));
        repeat
          HoverSkill('fishing', False);
          if (not (LoggedIn)) then Exit;
          FTWait(2 + Random(2));
        until (not (FindDTM(WhirlPoolDTM, x, y, MSX1, MSY1, MSX2, MSY2)));
      end;
    end;

    Help please..
    Ce ne sont que des gueux


  2. #2
    Join Date
    Jan 2008
    Location
    Mianus [Ye thats right xD]
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I dont have scar on this pc.. but is there a DTM called WhirlPoolDTM in that script? if not, thats the prob and I think it might be old..

  3. #3
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    its my own script, for SRL 3.14, SRL #12/13.

    In my own script theres no WhirlpoolDTM, just the AntiRandom command HandleWhirlpool
    Ce ne sont que des gueux


  4. #4
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Is DTM declared and showed up somewhere?
    Eerik.

  5. #5
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Check out srl\srl\skill\fishing.scar there it all is
    Ce ne sont que des gueux


  6. #6
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by floor66 View Post
    Check out srl\srl\skill\fishing.scar there it all is
    If it's there, have u included fishing.scar at the beginning?
    SCAR Code:
    {.include srl\srl\skill\fishing.scar}
    Eerik.

  7. #7
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Looks like the DTM isn't anywhere in the file, which is causing the error as the DTM doesn't exist. To fix it, you would have to make your own DTM then add it into the procedure or make your own.

  8. #8
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    @Eerik:
    I did include it

    ---

    I willl try to make a DTM :/ but im not sure how to :P
    Ofc, i need to get a whirlpool first..
    Ce ne sont que des gueux


  9. #9
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by floor66 View Post
    @Eerik:
    I did include it

    ---

    I willl try to make a DTM :/ but im not sure how to :P
    Ofc, i need to get a whirlpool first..
    LOL?
    Should make it clear.
    Eerik.

  10. #10
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    P.S heaven, gratz with SRL memb :P
    Ce ne sont que des gueux


  11. #11
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by floor66 View Post
    P.S heaven, gratz with SRL memb :P
    Thanks,
    Eerik.

  12. #12
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Seems like the SRL's own WhirlPoolDTM was removed? It never used to be in a DTMFromString in the Fishing.scar, but someone should've then atleast replace it with something...

    Ray, I see you're viewing - mind whipping a kickass TPA whirlpool finder?

  13. #13
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Well, i've tried to make it, but i just couldnt get the right image, and Yohojo also says it wont work in the mainscreen..


    P.S:
    Imma be lil afk for now, goin to do some UT3 ^^
    Ce ne sont que des gueux


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Line 135: [Error] (14845:1): Syntax error in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 16
    Last Post: 05-23-2008, 01:14 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. 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
  •