Results 1 to 9 of 9

Thread: Help with yewz.

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

    Default Help with yewz.

    Hey.
    I just needed to find out in my new script-Edgy Yewz-I need to switch the trees i just need to know how because i have tried everyting. And it will just click on the colour it finds. For this do i use cords or findcolortolerance.
    Another thing i want it to click the tree symbol and it goes way of line and it clicks the tress. But it makes it walk outside.

    I know for my SwitchChecker is right:

    Procedure Checkpos;
    begin;
    if findsymbol(x,y,'water')
    then postion:='North
    endelse
    Begin
    postion:= 'south'
    end.



    If you could answer any of the questions It would be a great help thx.


    ->{Nauman}<-

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you mean from willow to yew?

    SCAR Code:
    {======================================================================================================]
        this uses getskill out of the srl include by: mat_the_b and me(its not so big so it doesnt matter)
    [======================================================================================================}


    function GetSkillStartEnd(Skill: string; Option: boolean): integer;
    begin
      if not LoggedIn then Exit;
      if (Option = True) then
      begin
        GameTab(2);
        StartSkill := GetSkillLevel(Skill);
      end else
      begin
        GameTab(2);
        EndSkill := GetSkillLevel(Skill);
      end;
    end;

    then you got

    the begin
    SCAR Code:
    GetSkillStartEnd('crafting',True);
    the end
    SCAR Code:
    GetSkillStartEnd('crafting',False);

    if you call the 'the begin' 1 time in the start of the script and directly after that 'the end' then it will say in a proggy(i will show below) *look down!*

    SCAR Code:
    WriteLn('// You started with crafting level : ' + inttostr(startskill) + '');
      WriteLn('// You ended with crafting level   : ' + inttostr(startskill) + '');//you can choose wcing

    it will say that now back on topic if you take the start level like 59
    then evry load before you bank you do 'the end' after few times it is
    level 60(integer=60)

    then

    SCAR Code:
    procedure walking;
    begin
      if endskill>59 then
      begin
        walktoyews;
      end else
         walktowillows;
    end;

    if you dont get this then i am sorry i hope i helped ya

    hermpie
    ~Hermen

  3. #3
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    He means there are two Yew trees and he wants to go from one to another. Perhaps you could make a blind click...like coordinates?
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

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

    Default

    Ihave tried That and it will just muck it up.

  5. #5
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    You can make it search both halves of the minimap. North and south part like.

    SCAR Code:
    begin
      if FindColorTolerance(x, y, TheColor, bla, bla, bla, bla, Tol) or // north
         FindColorTolerance(x, y, TheColor, bla, bla, bla, bla, Tol) then // south
      begin
        //Clicking etc.
      end;
    end;

    Fill the areas in the 'bla' parts. If your compass is in the right direction (north or south) it shouldn't find both of them at the same time. Should work, or worked for me before.

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

    Default

    Thx Gof But i decided using FindColorMM;


    ->{Nauman}<-

  7. #7
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Yea.. But won't that always find the same tree?

  8. #8
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by GoF View Post
    Yea.. But won't that always find the same tree?
    exactly so what you want to do is do what GoF said which is what i did in my Yew chopper ( a while back)

    or..

    perhaps

    if not find (blablabla color)

    then tree2;

    and make it loop

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

    Default

    No. I dont think so Only if you get the shade exactly right then it wont. Works like a charm.

    ->{Nauman}<-

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mariuswbz Yewz
    By Mariuswbz in forum First Scripts
    Replies: 14
    Last Post: 09-28-2008, 02:15 AM
  2. Lumby YewZ ~ By NaumanAkhlaQ
    By Naum in forum RS3 Outdated / Broken Scripts
    Replies: 83
    Last Post: 04-18-2008, 05:50 PM
  3. [SRL4] ECNA - Fally YewZ! [RS2]
    By Naum in forum RS3 Outdated / Broken Scripts
    Replies: 27
    Last Post: 01-22-2008, 05:52 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
  •