Results 1 to 4 of 4

Thread: radial walk

  1. #1
    Join Date
    Feb 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default radial walk

    when i try to use 2 radial walk twice in a row, the second one makes the mouse freak and stay in one line and go up and down realy fast. this also happens when i add MakeCompass('n');

    Begin
    SetupSRL;
    SetChats;
    FindFaladorRoadColor;
    RadialRoadWalk(RoadColor, 72, 60, 73, X, Y);
    RadialRoadWalk(RoadColor, 52, 103, 72, X, Y);
    end.

  2. #2
    Join Date
    Feb 2007
    Location
    Toronto, Ontario, Canada
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This shouldn't happen. Try adding a wait between the two or specifying integers as the xmod,ymod parameters. -->i.e. RadialRoadWalk(RoadColor,72,60,73,1,2)
    Also, you shouldn't use radii (ya that's a word) over 72. It is also possible that you may have set the xmod/ymod too high.

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

    Default

    i think its the 73,72 part and the problem is only some spots on the mini map are that far away and its searching a spot out of the mini map and cant find the color
    in nuce-it cant find road color
    "your always where you supposed to be"

  4. #4
    Join Date
    Sep 2006
    Location
    In Finland
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by coolguy14136 View Post
    when i try to use 2 radial walk twice in a row, the second one makes the mouse freak and stay in one line and go up and down realy fast. this also happens when i add MakeCompass('n');

    Begin
    SetupSRL;
    SetChats;
    FindFaladorRoadColor;
    RadialRoadWalk(RoadColor, 72, 60, 73, X, Y);
    RadialRoadWalk(RoadColor, 52, 103, 72, X, Y);
    end.
    Ok, theres few mistakes....

    SCAR Code:
    Begin
    SetupSRL;
    SetChats;
    FindFaladorRoadColor;
    RadialRoadWalk(RoadColor, 72, 60, 73, 0, 0);
    RadialRoadWalk(RoadColor, 52, 103, 72, 0, 0);
    end.

    If you have setted XMod and YMod to X and Y and setted them to variables you should get:
    SCAR Code:
    Duplicate identifier 'x' in script
    and
    SCAR Code:
    Duplicate identifier 'y' in script

    XMod and YMod arent x and y...they are numbers...try reading the "brief lesson in radial walk by WT-Fakawi"...if you are too lazy just put "0" to XMod and YMod...and instead of RoadColor....try "FindRoadColor" thats muts better...it finds the road color for ya...and radius is 72 max i suppose so you cant put there "73" so heres the fixed version:

    SCAR Code:
    Begin
    SetupSRL;
    SetChats;
    FindFaladorRoadColor;
    RadialRoadWalk(FindRoadColor, 72, 60, 68, 0, 0);
    Wait(500)
    RadialRoadWalk(FindRoadColor, 52, 103, 68, 0, 0);
    Wait(500)
    end.
    I put minimum 500ms wait after every radialroadwalk for slow comps...!

    I hope this filled most of your guestions...but feel free to ask more...!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. radial walk help plz?
    By dark4mdawn in forum OSR Help
    Replies: 6
    Last Post: 09-03-2007, 07:48 AM
  2. radial walk help
    By del_signo in forum OSR Help
    Replies: 2
    Last Post: 02-27-2007, 12:31 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
  •