Results 1 to 10 of 10

Thread: RadialRoadWalk?!

  1. #1
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default RadialRoadWalk?!

    Code:
    Procedure ToTheShop;
    begin
       writeln('>> Going to the shop')
       SetRun(True);
       RadialRoadWalk(RoadColor,0,45,70,0,0); // First walk, road at north-east.
    end;
    Why does this procedure click the position for like 5 times? There is no loops for this procedure.

  2. #2
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    try to make the radial 65, instand of 70.
    on my computer 70 mess up sometimes.

  3. #3
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Damn, it worked Thanks alot, +rep and added you to credits.

    EDIT: Is there btw procedure/function that finds the shops floor color on minimap? The road color finder works fine. If there is no such procedure/function, then how should I make the script find the color?

  4. #4
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Eicca, rofl, if you'd looked to the code of RadialRoadWalk you'd see it includes MouseFindFlag and that clicks the pos until flag is present.

    So, you clicked so far that only a lil part of the flag was visible.

    Sorry people, no aliens here!

  5. #5
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by n3ss3s View Post
    Eicca, rofl, if you'd looked to the code of RadialRoadWalk you'd see it includes MouseFindFlag and that clicks the pos until flag is present.

    So, you clicked so far that only a lil part of the flag was visible.

    Sorry people, no aliens here!
    Lol, I only readed WT-Fakawis tutorial and he recommended the 70. But please answer my question, how can i make the script autodetect the color of the shops floor?

  6. #6
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Eicca View Post
    Lol, I only readed WT-Fakawis tutorial and he recommended the 70. But please answer my question, how can i make the script autodetect the color of the shops floor?
    You need to write a 'autocolor'. There are a few tutorials on those to . It basicly, finds all the colors with a certain tolerance, then it bruteforces the right color out of it .
    Verrekte Koekwous

  7. #7
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Okay, I went to ~10 servers and got these:

    Red: 114 Green: 83 Blue: 53
    Red: 84 Green: 54 Blue: 29
    Red: 86 Green: 56 Blue: 31
    Red: 112 Green: 81 Blue: 51


    What should I do now?

  8. #8
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Eicca View Post
    Okay, I went to ~10 servers and got these:

    Red: 114 Green: 83 Blue: 53
    Red: 84 Green: 54 Blue: 29
    Red: 86 Green: 56 Blue: 31
    Red: 112 Green: 81 Blue: 51


    What should I do now?
    Hmm, first of all read some tutorials, then try to understand AutoColor.scar in your include folder . I can't make you an autocolor .
    Verrekte Koekwous

  9. #9
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm.. I think that I'll just leave it to manual, anyway you can pick the color from the starting point of the script, so it is not that big deal

  10. #10
    Join Date
    Oct 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Or just use symbols? FindSymbol(x,y,'Symbol')

Thread Information

Users Browsing this Thread

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

Similar Threads

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