Results 1 to 12 of 12

Thread: RadialRoadWalk

  1. #1
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default RadialRoadWalk

    Alright so, what do i put here..

    RadialRoadWalk(TheRoadColor, 36, 396, 74, HERE, ANDHERE)

    it says xMod and yMod, but what does "Mod" mean?

    and at first it says 20-75, and then it says -2 to 2. so i dont understand this.

    this is what i have now

    Code:
    procedure WalkBack;//Walks from the store back to the bank.
    begin
    Status('Walking from the store back to the bank.');
    MakeCompass('S')
     FindNormalRandoms;
     begin
        Wait(500+random(125)); 
         RadialRoadWalk(TheRoadColor, 36, 396, 74, 20, 20)
        Wait(3500+random(100));
     end;
    end;
    help would be appreciated, thanks.

  2. #2
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Those two numbers work like a MouseFindFlag type procedure. So if you click the mouse and a flag doesn't appear on the minimap, then it moves that number of pixels down to the right and tries to click again. Normal values are like 1,1 or -1,1. 20 is WAY too high for the intended purpose.

  3. #3
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ah i see. so why dosent this click were i specified?

    procedure WalkBack;//Walks from the store back to the bank.
    begin
    Status('Walking from the store back to the bank.');
    MakeCompass('S')
    FindNormalRandoms;
    begin
    RadialRoadWalk(TheRoadColor, 36, 396, 74, 1, -1)
    Wait(3500+random(100));
    end;
    end;

  4. #4
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I would guess it's because TheRoadColor is not present on the minimap.

    If this is a normal RoadColor, then try adding

    Code:
    TheRoadColor:=FindRoadColor;
    before the RRW command.

  5. #5
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    soo, it'd be this?

    this also dosent work though..

    i think i need to use getcolor(coordsblah) and then input that color into the RRW procedure..

    here's what i have now..

    begin
    MakeCompass('N')
    begin
    SetRun(true);
    Status('Walking to the store.');
    FindNormalRandoms;
    RoadColor:= FindRoadColor;
    RadialRoadWalk(RoadColor, 35, 395, 72, 1, 1);
    Wait(6000+random(250));
    begin
    FindColor(x,y,ShopSymbolColor,600,30,700,70)
    Wait(1102+random(120));
    Mouse(x,y,0,0,true);
    Wait(1000+random(250));
    FindNormalRandoms;
    end;
    end;
    end;

  6. #6
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    As long as you walk over regular RoadColor, you dont need to set any color in RadialRoadWalk, it will auto-adjust the color when a LPW-screen comes. See DraynorMelter for a detailed walker Lumbridge<->Draynor.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  7. #7
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i figured out my problem, i just did it like this...

    RoadColor:= GetColor(688, 26);// this is right before my main loop.

    RadialRoadWalk(RoadColor, 35, 395, 72, 1, 1);//that's in my walking procedure.


    thanks for the help

  8. #8
    Join Date
    Feb 2007
    Posts
    215
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Thick As Blood View Post
    i figured out my problem, i just did it like this...

    RoadColor:= GetColor(688, 26);// this is right before my main loop.

    RadialRoadWalk(RoadColor, 35, 395, 72, 1, 1);//that's in my walking procedure.


    thanks for the help
    What happens if 688,26 had somebody standing there or the road isnt there at all? The FindRoadColor works just fine.
    A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
    -Douglas Adams

  9. #9
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the thing is, i cant get the FindRoadColor to work for some reason, and that goes in a location to were no one ever stands, it's a 95% chance their wont be something, and if their is it's an Imp.

  10. #10
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    well what if you get it to do getcolor in a few areas and make its like a:=getcolor(234,546); and b and c all diff road color coords spread about the screen and make it like if(a=b=c)then roadcolor:=a or something like that but make sure the coords that you pic have the SAME color
    STOP PM'ING ME

  11. #11
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yea, that's a really good idea, and do it until they all =C or something? hmm thanks a lot, i'm gunna add this to my seller, once i finish my crafter

  12. #12
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    well something like what i said before then like If(a,b=c)then Roadcolor:= c

    and make that its own procedure and then do else <proc name> something liek that so if it dont equal then it will redo the procedure...this is in theory cause i've never tried it but logically it works..
    STOP PM'ING ME

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 Help!!!!! plz?
    By gerauchert in forum OSR Help
    Replies: 2
    Last Post: 07-15-2007, 02:53 AM
  3. 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
  •