Page 2 of 4 FirstFirst 1234 LastLast
Results 26 to 50 of 81

Thread: A brief lesson on RadialWalk

  1. #26
    Join Date
    Mar 2006
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks this has really helped me

  2. #27
    Join Date
    May 2006
    Location
    West Coast
    Posts
    820
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes, But ATM, RRW, has a bug in it. No one seems to be figuring it out either :\

  3. #28
    Join Date
    Feb 2006
    Location
    Under a rock.
    Posts
    1,351
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    RRW works fine for me...

    Maybe you are just settign to big of A radial. I use about 45 usually.
    Or maybe your Xmod, and Ymod's are erong, so when it keeps cliking until the flag appears, its not modding back towards the senter of the MM, its modding away.
    SRL Developer
    ◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘

  4. #29
    Join Date
    Jun 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow thank you, finally i can start to use this

  5. #30
    Join Date
    Jun 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm confused about this. This script doesn't do anything.

    Code:
    {.include SRL\SRL.scar}
    var a,b: Integer;
    function RadialWalkTol(TheColor,Tol:Integer; StartRadial,EndRadial:Integer; Radius:Integer; Xmod,Ymod:integer): Boolean;// By Wizzup? and WT-Fakawi.
    
    var i: Integer;
    var X1,Y1: integer;
    begin
    
    Result:=False;
    
    if StartRadial<EndRadial then
       begin
         repeat
             for i:=StartRadial to EndRadial do
                begin
                   x1:=Round (  Radius * Sine[i]) + 646;
                   y1:=Round (- Radius * Cose[i]) + 84;
                   if FindColorTolerance(X,Y,TheColor,X1,Y1,X1+1,Y1+1,Tol) then
                      begin
                         MouseFindNoFlag(X,Y,Xmod,Ymod);
                         Result:=True;
                         FFlag(10);
                         Exit;
                      end
                end
            Radius:=Radius-4;
          until Radius<=1 ;
        end
    
    
    if StartRadial>EndRadial then
       begin
         repeat
             for i:=StartRadial Downto EndRadial do
                begin
                   x1:=Round (  Radius * Sine[i]) + 646;
                   y1:=Round (- Radius * Cose[i]) + 84;
                   if FindColorTolerance(X,Y,TheColor,X1,Y1,X1+1,Y1+1,Tol) then
                      begin
                         MouseFindNoFlag(X,Y,Xmod,Ymod);
                         Result:=True;
                         FFlag(10);
                         Exit;
                      end
                   end
           Radius:=Radius-4;
         until Radius<=1;
        end
    end;
    begin
    Setupsrl;
    radialwalktol(5728366,8,360,400,10,a,b)
    end.
    Did I make an error somewhere?

  6. #31
    Join Date
    Jun 2006
    Posts
    366
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok I'll ask it here since its mentioned here... What is DTM ... I looked everywhere in tht srl manual but everywhere it just says dtm...and plz any1 here tht is nice enuff..go to help section and help me out with my air rune crafter..thx

  7. #32
    Join Date
    Sep 2006
    Location
    texas
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i was wondering how the scripts did that, thnx, great tut

  8. #33
    Join Date
    Aug 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow thats genius good function you made there

  9. #34
    Join Date
    Aug 2006
    Location
    London
    Posts
    2,021
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    you should probably tell people to look at that script in includes\SRL\Scripts\Radial Walking Aid.scar
    you can input StartRadial,EndRadial and Radius and it draws the path that RadialWalk would take
    Join the Official SRL IRC channel. Learn how to Here.

  10. #35
    Join Date
    Jan 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sweet thank you very much man

  11. #36
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dankness View Post
    wow execellent tut, simply amazing.

    Code:
    Program l331RepMachine;
    
    var Fawki : Integer;
    
    begin
     while  Fawki <> ( 1 * 1000 * 4000 * 5 ) do 
       Fawki := Fawki * Fawki;
     writeln (' Fawki''s Rep now Equals ' + IntToStr ( Fawki ) );
     writeln ('Your Rep Will Now Have To Go Backwards Because Your Are Maxed Out!');
    end.
    Even better rep machine XD:

    PHP Code:
    Program l331RepMachine;

    var 
    Fawki Integer;

    begin
     
    while  (Fawki=(0)) do
       
    Fawki := 100;
       
    Fawki := Fawki Fawki Fawki Fawki Fawki Fawki Fawki Fawki  Fawki Fawki Fawki Fawki
     writeln 
    (' Fawki''s Rep now Equals ' IntToStr Fawki ) );
     
    writeln ('Your Rep Will Now Have To Go Backwards Because Your Are Maxed Out!');
    end
    It actually went to the minuses :O.

    BTW, Fakawi, if radial walk made any sense to me, this would have explained it 100% . But, it doesn't make any sense so it didn't help much, although i think i see how it works now.

  12. #37
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    very very nice script. now i can make my scripts walk without clicking on different signs like quest signs and stuff like that thanks alot man.

  13. #38
    Join Date
    Feb 2007
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow very nice.

    I think I might just use this.
    I'm playing to write a script sometime next week and it requires a hell lot of walking.

    I was thinking of always forcing the compass to N.
    Then creating a small box in the Minimap that the script will click on.
    This will give it some colour randomness but the walking needs to be flawless.
    Or it just wont get there.

    Neway hopefully I'll be able to use this to do all the walking and then learn how to do all the other stuff like anti ban and anti random.

    Hopefully I'll be able to get to the location and back with a 100% success rate in the next 2 weeks or so.

    Then add in all the SRL advantages

    Oh just to let you guys know, I just learned about SCAR and SRL sometime last week. So I'm like a total noob at it.

    Anyway hopefully I'll be able to make this script in the next few months.
    Not saying what it is as all you awesome coders will go and make one in a day.

  14. #39
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Successfully compiled
    Line 174: [Hint] (182:43): Variable 'NEWLINE' never used in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar
    SRL Compiled in 671msec.
    Successfully executed
    W0000t! Thank you WT =)

  15. #40
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this is awesome! thanks fakawi, now I think i could make a script that walks to a bank far away

  16. #41
    Join Date
    Mar 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thank you very much , WT-Fakawi . This is very helpful !

  17. #42
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1.RadialWalk(TheColor,0,90,70,xmod,ymod)
    This will scan TheColor from North to East, starting at 70 distance and ending at the MiniMap Center (MMCX and MMCY)

    2.RadialWalk(TheColor,0,90,40,xmod,ymod)
    This will scan from North to East, starting at 40 distance and ending at the MiniMap Center.

    3.RadialWalk(TheColor,90,0,70,xmod,ymod)
    This will scan from East to North, starting at 70 distance and ending at the MiniMap Center.

    4.RadialWalk(TheColor,90,0,40,xmod,ymod)
    This will scan from East to North, starting at 40 distance and ending at the MiniMap Center.

    5.RadialWalk(TheColor,320,400,40,xmod,ymod)
    This will scan from NorthEast to NorthWest, starting at 70 distance and ending at the MiniMap Center.

    6.RadialWalk(TheColor,320,400,40,xmod,ymod)
    This will scan from NorthEast to NorthWest, starting at 40 distance and ending at the MiniMap Center.

    7.RadialWalk(TheColor,320,400,40,xmod,ymod)
    This will scan from NorthEast to NorthWest, starting at 20 distance and ending at the MiniMap Center.

    8,9 and 10. Scan from NorthWest to NortEast
    .

    11.RadialWalk(TheColor,160,200,70,xmod,ymod)
    This will scan from SouthSouthEastto SouthSouthWest, starting at 70 distance and ending at the MiniMap Center.

    12.RadialWalk(TheColor,200,160,70,xmod,ymod)
    This will scan from SSWto SSE, starting at 70 distance and ending at the MiniMap Center.

    13.RadialWalk(TheColor,10,200,70,xmod,ymod)
    This will scan from NNEto SSW, starting at 70 distance and ending at the MiniMap Center.

    13 and 14.. Here you can clearly see the difference in behaviour. While 13 will move you player in an Upwards direction, 14 does the exact opposite; it move you Player Downwards, since it starts scanning at the bottom halve of the Minimap.
    I don't understand what you are saying by scanning,i do understand that it scan a zone one the minimap,and BTW it miss number 14...
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  18. #43
    Join Date
    Jun 2006
    Posts
    366
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    After experimenting with Yakman's Radial walk help script, I finally fully understand this tut.. One thing I still dont understand is x-mod y mod, but it still works without it..
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig (I did, so should u )

  19. #44
    Join Date
    Oct 2006
    Posts
    334
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    thanks, I understood some of it.

    Basically this was really complicated. People told me to use this instead of clicking but clicking is a lot simpler.

    Whats the advantage of radialwalk?

  20. #45
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Clicks click in the same spot with a very little random pixels, and that is VERY detectable by Jagex. if you use radial walk, it checks for example, the top right corner of the map for the color, and if it finds the color of (for another example) the road in that quarter of the map, it clicks it.

  21. #46
    Join Date
    Mar 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well, i was using RadialRoadWalk and it worked partially. The problem i had was that instead of just clicking where the color was, it would click like 2 times a second in that spot even though my character was walking to the flag. It just kept going until it clicked a bush and then stopped.

    This is the code i used:
    SCAR Code:
    RadialRoadWalk(FindRoadColor, 335, 363, 70, 1, 1);

    Can any one help me?

  22. #47
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by crapkiller View Post
    Well, i was using RadialRoadWalk and it worked partially. The problem i had was that instead of just clicking where the color was, it would click like 2 times a second in that spot even though my character was walking to the flag. It just kept going until it clicked a bush and then stopped.

    This is the code i used:
    SCAR Code:
    RadialRoadWalk(FindRoadColor, 335, 363, 70, 1, 1);

    Can any one help me?

    ur radius is way to high it's best to not go over 60 and 65 is max 70 is way too much it will just keep clicking on edge of minimap.....try and do more short walks of about 50 something radius then a couple of big ones
    Sleeping...

  23. #48
    Join Date
    Mar 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by rkroxpunk View Post
    ur radius is way to high it's best to not go over 60 and 65 is max 70 is way too much it will just keep clicking on edge of minimap.....try and do more short walks of about 50 something radius then a couple of big ones
    Ok thanks

  24. #49
    Join Date
    Mar 2007
    Posts
    81
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Verry nice tut! it helped thanks.

  25. #50
    Join Date
    Feb 2007
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow WT, you are insane! what an incredible function!!! putting so many searching methods together. programming it must have been strenuous, but the idea itself is mind-boggling. PROPS MAN! you and wizzup? are just incredible programmers. great work! you are great role-models.

    "Impressive" - Star

Page 2 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A brief lesson on fixing annoying errors :P
    By JAD in forum OSR Beginner Scripting Tutorials
    Replies: 257
    Last Post: 03-19-2013, 02:06 PM
  2. College Homework Lesson
    By Moloch in forum OSR Help
    Replies: 2
    Last Post: 11-05-2008, 02:04 PM
  3. A lesson on If-then's, For, While, and Cases!
    By Drakan in forum Outdated Tutorials
    Replies: 10
    Last Post: 08-23-2008, 02:02 AM
  4. Brief FindColorSpiral/FindObj Lesson
    By WhiteShadow in forum Outdated Tutorials
    Replies: 13
    Last Post: 07-01-2007, 02:29 PM
  5. A Quick lesson on Failsafes!
    By ronny.m.p in forum Outdated Tutorials
    Replies: 4
    Last Post: 06-29-2007, 09:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •