Results 1 to 11 of 11

Thread: RadialRoadWalk not Working!

  1. #1
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default RadialRoadWalk not Working!

    Well I have a piece of a script that should walk from the middle of the lumbridge castle court yard(the place where you teleport from) to the general store. It isn't doing it and I don't know why. It auto fills in the road color and I have checked the walking so I don't see why it doesn't work.

    Oh and the "w" is a const for 0. Which is what FindRoadColor returns if it doesn't find it. Just keeps my stuff looking clean.

    SCAR Code:
    Procedure CastleToTrees;
     begin
     RoadColor := FindRoadColor
       ClearDebug;
     If RoadColor = w then
       begin
       WriteLn('Did not find road color! Check detail and V-Bright!');
     end else
       begin
       WriteLn('Successfully found Road color! ' + inttostr(RoadColor));
     If(RadialRoadWalk(RoadColor, 85, 93, 60, 1, 1)) then
      Begin
      WriteLn('Successfully did first click!');
     If(RadialRoadWalk(RoadColor, 339, 344, 62, 1, 1)) then
      Begin
      WriteLn('Successfully did second click!');
     If(RadialRoadWalk(RoadColor, 318, 310, 60, 1, 1)) then
      Begin
      WriteLn('Successfully did third click!');
     if(RadialRoadWalk(RoadColor, 316, 308, 56, 1, 1)) then
      Begin
      WriteLn('Successfully did fourth click!');
    end;
    end;
    end;
    end;
    end;
    end;

  2. #2
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    SRL isn't compatible with the latest RS update...

  3. #3
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So really there is no way for me to be able to walk with the script I am making until the update?

  4. #4
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Mouse clicks might work but yes, there's no SAFE way of doing many things due to the update.

  5. #5
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't trust coords unless it is something such as trading but with any type of walking or chopping I would rather not.

    Do you know of a good way to find the Oak tree? I see findcolorspiral or what ever it is works well with a find obj thing attatched but I don't know because I use to see in the many scripts that have that the mouse just shakes while looking... looks fake to me :P

  6. #6
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    I think FindObj will work the best. I always use it in my scripts.

  7. #7
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I dunno, I use a little procedure that looks something like this:
    SCAR Code:
    Function
    Var B:TPoint;
    FindATree:Boolean;
      Var i:Integer;
      Begin
        LoginCheck;//I made a proc with this name, all it is is the normal failsafes.
        Result:=False;
        LowestAngle;
        For i:=0 to GetArrayLength(TreeColors)-1 do
          Begin
            If FindObjMultiText(B.x,B.y,'ree','Tree','Tre',TreeColors[i],10) Then
              Result:=True;
          End;
      End;
    It helps.
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  8. #8
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Arrays, arrays, arrays... I don't have a clue how to use them. I read tutorials but am still lost. Most stuff I know I learned just fooling around with SCAR and SRL. Even in my visual basic programming classes arrays fooled me. I just can't think of a way that wont freak the mouse out by not finding the color for a long time and shaking as it goes.

  9. #9
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)
    I read first reply and got scared, does this mean that we shouldn't write scripts with sr? Or can we write scripts with srl, but they wont work until srl is updated?



    cuz iv just spent about 4 hours working on a script using srl and if srl is not going to work...I dont even want to think about it...

  10. #10
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah pretty much, it is fine to script and test. How safe is it. I think it is really safe because I ahve been testing and doing all that for the past 10 hours and doing very macro like procedures.

    I don't think they updated macro detection at all.

    Most of the features will not work from srl.

  11. #11
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Arrays are usefull for many diffrent things like choose a random value out of 50 diffrent values they also have the ability to have EG 10 values within one variable.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RadialRoadWalk?!
    By Eicca in forum Research & Development Lounge
    Replies: 9
    Last Post: 11-08-2007, 10:34 PM
  2. RadialRoadWalk??
    By skilld u in forum OSR Help
    Replies: 2
    Last Post: 10-05-2007, 12:01 AM
  3. RadialRoadWalk Help!!!!! plz?
    By gerauchert in forum OSR Help
    Replies: 2
    Last Post: 07-15-2007, 02:53 AM
  4. RadialRoadWalk
    By stuckman in forum OSR Help
    Replies: 11
    Last Post: 07-06-2007, 01:58 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
  •