Results 1 to 12 of 12

Thread: RadialRoadWalk Problem...

  1. #1
    Join Date
    Jul 2006
    Posts
    152
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default RadialRoadWalk Problem...

    So it seems like whenever I try to script something it doesn't work... even if it is exactly the same as someone else's that does...

    Anyways, my problem is that RadialRoadWalk isn't... happening.

    Here is the script so far, it compiles:
    SCAR Code:
    program walker;
    {.include SRL/SRL.scar}
    var SkRoadColor:integer;


    procedure RoadWalkDirection(Direction:string);
    begin
    MakeCompass('N');
    SkRoadColor:=FindRoadColor;
    if Direction='N' then
       begin
       RadialWalk(SkRoadColor,320,50,65,1,1);
       end;
    if Direction='W' then
       begin
       RadialWalk(SkRoadColor,230,310,65,1,0);
       end;
    if Direction='S' then
       begin
       RadialWalk(SkRoadColor,140,230,65,1,1);
       end;
    if Direction='E' then
       begin
       RadialWalk(SkRoadColor,0,360,60,1,1);
       end;
    end;

    begin
    RoadWalkDirection('E');
    end.

    For 'E', the direction I am testing, I got fed up with rrw because it wasn't detecting the color. Because of this I set it for 0 - 360, hoping that it would click ANY road within the radius... I then positioned my char in the middle of varrock (basically everything is road) and still, it could not find the color.

    Anything I am doing wrong? (i know what all the parameters do)

  2. #2
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    procedure RoadWalkDirection(Direction:string);
    begin
    MakeCompass('N');
    SkRoadColor:=FindRoadColor;
    if Direction='N' then
       begin
    //will make it go counter clockwise
       RadialWalk(SkRoadColor,320,50,65,1,1);//RadialWalk(SkRoadColor,320,>440<,65,1,1);
       end;
    if Direction='W' then
       begin
       RadialWalk(SkRoadColor,230,310,65,1,0);
       end;
    if Direction='S' then
       begin
       RadialWalk(SkRoadColor,140,230,65,1,1);
       end;
    if Direction='E' then
       begin
    //same problem goes counter clockwise
       RadialWalk(SkRoadColor,0,360,//change>60<,1,1);
       end;
    end;
     
    begin
    RoadWalkDirection('E');
    end.
    well thats what i found
    "your always where you supposed to be"

  3. #3
    Join Date
    Jul 2006
    Posts
    152
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks, I'll check that out and edit if problem still occurs ^^

    EDIT: Well I got it to click... but now it clicks like 2 pixels away from where i am already standing... and doesn't even move the mouse smoothly. Wtf!!! Am I cursed or something??!@

  4. #4
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    SkRoadColor...you didn't set it yet...
    Interested in C# and Electrical Engineering? This might interest you.

  5. #5
    Join Date
    Jul 2006
    Posts
    152
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SkRoadColor:=FindRoadColor;

    Its at the top of the procedure.

  6. #6
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    did you still keep RadialWalk(SkRoadColor,230,310,>65<,1,0); the 65 as 65
    "your always where you supposed to be"

  7. #7
    Join Date
    Jul 2006
    Posts
    152
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The only one that counts is the one for 'E', and atm I am just trying to make it smoothly click SOMEWHERE that is not right next to me. No, I tried every amount I could, from 1 to 500, spaced by about 50 or so. Everything was the same exact distance.
    (im back btw)

    Edit: Anyone?

  8. #8
    Join Date
    Jul 2006
    Posts
    152
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No one can help me? (sorry for double post but i need a bump...)

    Also other problems... Mouse doesn't work for me. It moves the mouse, and clicks, but it doesn't do it smoothly, at all. I set the mouse speed to 1, and it is still instant. then i set it to 100. no change. MMouse, same story.

    Can anyone help?

  9. #9
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    are you using benmouse?

  10. #10
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Hah! I just got this problem,so now I know how to fix it!

    SetupSRL!

    Interested in C# and Electrical Engineering? This might interest you.

  11. #11
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow lol...another case goes to setupsrl.

  12. #12
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Yeah, SetupSRL should be one of the first things everyone should check for when they're having problems.

    And, I must add...Its pretty embarrassing to post a nonworking script, then find out that all you needed was SetupSRL Heh done it before
    Interested in C# and Electrical Engineering? This might interest you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RadialRoadWalk??
    By skilld u in forum OSR Help
    Replies: 2
    Last Post: 10-05-2007, 12:01 AM
  2. RadialRoadWalk Help!!!!! plz?
    By gerauchert in forum OSR Help
    Replies: 2
    Last Post: 07-15-2007, 02:53 AM
  3. RadialRoadWalk is.............
    By rkroxpunk in forum OSR Help
    Replies: 21
    Last Post: 03-21-2007, 05:07 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
  •