Results 1 to 5 of 5

Thread: Exception: Access violation at address

  1. #1
    Join Date
    Mar 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Exception: Access violation at address

    Yeah im working on a script that im posting for the public,

    So far i got this.

    Code:
    {
    o-o                             o--o                           o   o      o   o
    |  \                            |   |                          |\  |      |   |
    |   O o-o o  o o-o  o-o o-o     O--o  o-o o   o   oo-o o-o     | \ | o-o -o- -o- o-o o-o
    |  /  |   |  | |  | | | |       |     | |  \ / \ / |-' |       |  \| |-'  |   |  |-' |
    o-o   o   o--O o  o o-o o       o     o-o   o   o  o-o o       o   o o-o  o   o  o-o o
                 |        ||    Made by: Sean
              o--o        ||    Help From : BucklyInDaHouse + The Scar Noob.     
    
    }
    program DrynorPowerNetter;
    
    {.include SRL/SRL.scar}
    {.include SRL/SRL/skill/Fishing.scar}
    
    
    // Finds the fishing area
    procedure Fis;
    begin
    repeat
    if (FindColorSpiral(x,y,15198954,500,700,700,500)) then
    wait(100+random(50));
    if IsUpText('Fish') then
    Mouse(x,y,2,2,true);
    until(InvFull);
    end;
    
    // Droping part
    procedure Drop;
    begin
    DropTo(2,28);
    end;
    begin
    repeat
    Fis;
    Drop;
    until(false);
    end.
    The Error:
    Code:
    [Runtime Error] : Exception: Access violation at address 0065478C in module 'scar.exe'. Read of address 00000000 in line 196 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Text.scar
    I think its the
    Code:
    if IsUpText('Fish') then
    I tried using
    Code:
    if IsUpTextMulti('Fish','Net','ish') then
    But it just gave me the same error.

    +rep to anyone that can help.

  2. #2
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Add SetUpSRL; in the begining of your main loop.

  3. #3
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    You must have SetUpSRL; at the beginning of your script.

    EDIT: Argh, Junior you were too fast.

  4. #4
    Join Date
    Mar 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow, that was fast.
    Dang thanks +Rep Now i can finish the script =)

  5. #5
    Join Date
    Mar 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i got the same error and i put in SetupSRL but i still does it. Why?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 01-04-2009, 07:48 PM
  2. Replies: 7
    Last Post: 10-27-2007, 12:29 PM
  3. Replies: 2
    Last Post: 10-11-2007, 05:08 PM
  4. Replies: 3
    Last Post: 06-01-2007, 08:42 PM
  5. Replies: 2
    Last Post: 04-07-2007, 03: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
  •