Results 1 to 12 of 12

Thread: not normal error

  1. #1
    Join Date
    Jan 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default not normal error

    Run this script:

    SCAR Code:
    procedure ulticlick(left:boolean);
    var
    x,y:integer;
    begin
    wait(1+random(3))
    (x,y);
    holdmouse(x,y,left);
    wait(2+rgetmouseposandom(15))
    releasemouse(x,y,left);

    wait(random(2))
    end;

    var
    x,y:integer;

    begin
    wait(500);
    repeat
    ulticlick(true);
    until(isfkeydown(12))
    end.

    I know its messed up, but it shuld just make a normal error, instead it makes a new pop up window

    anyone knows why?
    end.

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

    Default

    Is this what you meant to do?
    SCAR Code:
    procedure ulticlick(left:boolean);
    var
    x,y:integer;
    begin
    getmousepos(x,y)
    holdmouse(x,y,left);
    wait(2+random(15))
    releasemouse(x,y,left);
    end;

    begin
    wait(500);
    repeat
    ulticlick(true);
    until(isfkeydown(12))
    end.

  3. #3
    Join Date
    Jan 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes, i know how to do it right, but if you run that script, you dont get an normal error. You get a pop up error saying:

    "Access violation at adress 0051E832 in module 'scar.exe'. Read of adress 0000000C"
    end.

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

    Default

    You can't have (x,y); in your script. It doesn't mean anything.

  5. #5
    Join Date
    Jan 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i know, it makes an error, but it doesnt reports the error in debug box. It reports it in another window. Look at this screenshot:

    end.

  6. #6
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SetupSRL ?

  7. #7
    Join Date
    Feb 2006
    Posts
    1,022
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Sp0rk-eh View Post
    SetupSRL ?
    Are you blind? He doesn't even freaking include anything.

    "I know its messed up, but it shuld just make a normal error, instead it makes a new pop up window"

    You'll find SCAR gives a popup lots of errors. You'll probably find this one is because scar read the script like:-

    wait(1+random(3))(x,y);

    And was like:-

    Wtf I don't know how to deal with this - access error.

  8. #8
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Well the only access error I ever got was when I didn't setopsrl >_>

    I thought he may not have pasted the entire script here, but obviously I am wrong.

    Just trying to help.

  9. #9
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    My bad :P

    Use Pentti's version of what you're trying to do.

  10. #10
    Join Date
    Jan 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ooo, i didnt know, there are pop up errors...

    this was the first one i had.
    i tought that all wrong scripts are supose to report errors in debug box...
    end.

  11. #11
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Ye I should have looked closer >_<

    My bad tbh.

  12. #12
    Join Date
    Mar 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well, it is windows hahah!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Normal And Oak Logs!
    By Santa_Clause in forum General Marketplace
    Replies: 1
    Last Post: 07-12-2007, 03:51 PM
  2. Normal Woodcut
    By budgeda in forum RS3 Outdated / Broken Scripts
    Replies: 7
    Last Post: 06-29-2007, 06:57 PM
  3. Normal/Oak logs.
    By Thick As Blood in forum Construction, Crafting and Fletching
    Replies: 6
    Last Post: 05-19-2007, 12:40 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
  •