Results 1 to 15 of 15

Thread: Radial Walking&Symbol Clicking help needed!

  1. #1
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Radial Walking&Symbol Clicking help needed!

    Ok so i have started to script for the first time (yay....) and i needed to learn radial walk and i have so i made a script for the walking and i called it for test and its for test walking... heres the script, note that i did NOT wish to get any help or let anyone see my script or parts of it but im just an uber super duper n00b so here read on...

    THIS WORKS IN LUMBY ONLY! its supposed to walk from lumby garden to the north heres a map, it has 7 clicks and after each walk it says 1,2,3,4 and so on and 1 meens the first checkpoint...

    Red: Ive done these and they work 100%
    Blue: It dosent walk this path cuz it gets a Loading Screen so the color changes

    Green: I have this left to do



    SCAR Code:
    program New;
    {.include srl/srl.scar}

    const

    Color = 6316391 ; //road color!

    procedure start;
    begin
    cleardebug;
    RadialWalk( color , 50, 160, 50, 1, 1);
    Writeln ('1');
    fflag (0);
    RadialWalk( color , -50, 10, 65, 1, 1);
    Writeln ('2');
    fflag (0);
    RadialWalk( color , -40, 50, 65, 1, 1);
    Writeln ('3');
    fflag (0);
    RadialWalk( color , 1, 10, 50, 1, 1);
    Writeln ('4');
    fflag (0);
    RadialWalk( color , 1, 10, 65, 1, 1);
    Writeln ('5');
    fflag (0);
    RadialWalk( color , -80, 1, 70, 1, 1);
    writeln ('6');
    fflag (0);
    RadialWalk( color , -80, 1, 60, 1, 1);
    writeln ('7');
    fflag (0);
    end;


    begin
    setupsrl;
    start;
    end.

    thats the radial thing and the symbol problem is that i whant it to click on the quest icon and i read a tut about symbol finding&clicking but i coundt make it to work... so plz help...

  2. #2
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Use GetRoadColor after each click.

    Like:

    SCAR Code:
    GetRoadColor;
    RadialWalk(stuff, stuff, stuff, yoy get it)
    GetRoadColor;

    But I made my first radialroadwalker (army transferer to the lumby chicken pen) ECACTLY like yours, exept I didn't have errors like that.

    Basiacally, "GetRoadColor" is a autocoloring function. Enjoy.

  3. #3
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    the better way would be to use RadialRoadWalk....

    like this:

    SCAR Code:
    RadialRoadWalk(FindRoadColor,89,100,10,0,0);
    Flag;

    FindRoadColor will give you updated colors for the road, similar to GetRoadColor as EvilChicken said
    METAL HEAD FOR LIFE!!!

  4. #4
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by gerauchert View Post
    the better way would be to use RadialRoadWalk....

    like this:

    SCAR Code:
    RadialRoadWalk(FindRoadColor,89,100,10,0,0);
    Flag;

    FindRoadColor will give you updated colors for the road, similar to GetRoadColor as EvilChicken said
    RadialRoadwalk = Mouse + Flag + FindColor.

  5. #5
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    hmm i always through the flag in there cuz it doesnt ever seem to wait for the flag without me calling for it...

    try it with and without and see what works better with you
    METAL HEAD FOR LIFE!!!

  6. #6
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Btw, use "FFlag(integer)" instead. Someone explain this function to him?

  7. #7
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok so for

    GetRoadColor;
    RadialWalk(stuff, stuff, stuff, yoy get it)
    GetRoadColor;
    i wont need flag; ?

    and

    RadialRoadWalk(FindRoadColor,89,100,10,0,0);
    Flag;
    FindRoadColor, do i have to put in an color or something?

  8. #8
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by yanix View Post
    Ok so for



    i wont need flag; ?

    and



    FindRoadColor, do i have to put in an color or something?
    No.

    And, yes.

    Instead of "color" as you used, insert "Roadcolor".

  9. #9
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    God i never knew '-' radials exsisted. Got to read up on this!

  10. #10
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by EvilChicken View Post
    No.

    And, yes.

    Instead of "color" as you used, insert "Roadcolor".
    Roadcolor wont update the color automatically though...

    keep FindRoadColor in there and thats it you will be good.

    Evil says that Flag is built in so i guess you dont have to put it, however if it messes up then through in the FFlag(0);
    METAL HEAD FOR LIFE!!!

  11. #11
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why the hell is EvilChicken registerd user? hes memers material

  12. #12
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by yanix View Post
    Why the hell is EvilChicken registerd user? hes memers material
    EvilChicken = Community Member
    METAL HEAD FOR LIFE!!!

  13. #13
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

  14. #14
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ow lol didnt see that... i just look at the pretty colors

  15. #15
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by gerauchert View Post
    EvilChicken = Community Member
    Wait..

    Is that a good rank?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Clicking the nearest symbol, help!
    By Ultra in forum OSR Help
    Replies: 4
    Last Post: 01-19-2009, 01:37 AM
  2. Clicking The Nearest Symbol.
    By Ultra in forum OSR Help
    Replies: 2
    Last Post: 01-19-2009, 12:09 AM
  3. symbol clicking?
    By faster789 in forum OSR Help
    Replies: 11
    Last Post: 04-01-2008, 08:25 AM
  4. clicking the quest symbol then the bank symbol
    By RudeBoiAlex in forum OSR Help
    Replies: 7
    Last Post: 03-22-2007, 11:14 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
  •