Results 1 to 12 of 12

Thread: radialwalkex error

  1. #1
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default radialwalkex error

    if i cal radialwalkex i get this error:
    [Runtime Error] : Exception: Canvas does not allow drawing in line 545 in script C:\Program Files\SCAR 3.12\includes\SRL/SRL/Core/Mapwalk.scar
    which makes absolutely no sence as there is nothing that uses a canvas in that function any idea's?
    Infractions, reputation, reflection, the dark side of scripting, they are.

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i know,i had that before then you filled somthing wrong in try it again
    ~Hermen

  3. #3
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    RadialWalkEx(X, Y, 0, 0, Color, 0, 160, 240, 60); ive got this, i dont see whats wrong about this?
    Infractions, reputation, reflection, the dark side of scripting, they are.

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol never used that :s i will look in the include and help you
    or ask my bear

    SCAR Code:
    function RadialWalkEx(var x, y: Integer; cx, cy, TheColor, tol: Integer;
      StartRadial, EndRadial: Integer; Radius: Integer): Boolean;
    ~Hermen

  5. #5
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    hermpie, if you really know what is wrong, tell me, else it's just spam... i apreciate you are trying to help me but im actually hoping on a response from a dev
    Infractions, reputation, reflection, the dark side of scripting, they are.

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ehm what are the cx and the cy?

    show whole script
    ~Hermen

  7. #7
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    SCAR Code:
    {.include SRL/SRL.scar}
    var
      X, Y, Color : integer;
    begin
      ActivateClient;
      SetupSRL;
      Color := 12161405;
      Repeat
        RadialWalkEx(X, Y, 0, 0, Color, 0, 160, 240, 60);
        Mouse(X + 10, Y, 5, 5, True);
      Until(FindSymbol(X,Y, 'Mining Spot'));
    end.

    cx and cy are the offset, with radialwalk you will see it is 0,0 so that means the midpoint of the circle on which is looked at for colors is exactly in the middle...
    Infractions, reputation, reflection, the dark side of scripting, they are.

  8. #8
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you dont got program?
    ~Hermen

  9. #9
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    no, like that matters XD
    Infractions, reputation, reflection, the dark side of scripting, they are.

  10. #10
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    then ask a dev i dunno
    edit: wait!
    maybe because you fill in 0 0 change that
    ~Hermen

  11. #11
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    already tried altering the values, nothing seems to matter...
    Infractions, reputation, reflection, the dark side of scripting, they are.

  12. #12
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sorry, i tried but couldn't ask a dev
    ~Hermen

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RadialWalkEx
    By Lee Lok Hin in forum OSR Help
    Replies: 5
    Last Post: 04-07-2008, 08:25 AM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. RadialWalkEx
    By Rambozin in forum OSR Help
    Replies: 0
    Last Post: 04-29-2007, 06:44 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
  •