Page 1 of 3 123 LastLast
Results 1 to 25 of 75

Thread: [SRL][RS2]Junior's Draynor Yew Cutter v1[RS2][SRL]

  1. #1
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [SRL][RS2]Junior's Draynor YewCutter 1.4[RS2][SRL]

    WARNING! DO NOT use this script, it is outdated. I will update it when I have time!


    JUNIOR DRAYNOR YEW CUTTER V1.4

    Thanks chris for hacking into my account, changing the password, and trying to put a PIN on my bank. I have the account back and I will just like to say thanks for the 770 free yew logs you cut for me. And thanks again for the 3 woodcutting levels!

    This script will start at the bank, walk to the yew tree, chop a full load, walk back to bank, bank the logs, and repeat the process.
    Yes this script has optional autocolor, and you MUST be weilding a blue water staff in order for this script to work. FOLLOW THE DIRECTIONS IN SCRIPT PLEASE.

    I REALLY want feedback on this script. Tell me what I can improve on, whats unecessary in my coding, etc.

    AND, the purpose of the BLUE WATER STAFF is to detect if the player is just standing there or cutting down the tree. When the staff is gone it tells the script to do certain procedures, and when it is visible it tells the script to do other procedures.


    Progress Report
    SCAR Code:
    <~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
    /\        jR SCARWriters                                              
    /\        One Tree Draynor YEW CUTTER                                
    <~-~------------------------------------------------------------------
    /\ Worked for 29 Minutes and 0 Seconds                                      
    /\ Chopped about 54 Logs                    
    /\ Completed 2 Bank Trips                      
    /\ Gained about 17280 XP                              
    /\ Avoided a total of 0 Ents!            
    <~-~------------------------------------------------------------------
    /\ Current RoadColor: 6908529                  
    /\ Current BankSymbol Color: 6478070
    /\ Current Quest Symbol Color: 15956845
    <~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~

    /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    |     SRL Randoms Report       |
    |    [url]www.villu-reborn.com[/url]      |
    |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    | Talking Random[s]      :  1  |
    | Rick[s] Solved         :  1  |
    \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/


    KNOWN BUGS:
    • Minor bank walking problems, sometimes the road color changes. Making a procedure
      to pick a new road color if it changes.
      (Made a temporary procedure for this, adding a very good one made form Tarajunky.)
      ^Fixed!
    • Fixing ent finding procedure, sorry for the inconvience.
      SRL's procedure still doesn't find ent...will be fixed somehow.
    • Bank walking sucked.
      Bank walking still does not work, will put more extra time into next ones release.



    Version history:
    • Verison 1.0 - First Release
    • Version 1.1 - Temporary road color changing procedure,
      Making a better one soon.
    • Version 1.2 - Received a auto road color procedure from Tarajunky,
      added that in(Works like a charm!). Made a procedure
      that detects if you went up any levels, used SRL ent
      procedure.
    • Version 1.3 - Fixed Runtime error caused by mislabelled arrays, new
      progress report, added "FindRandoms;" procedure more often
      in my "ChopYews;" procedure.
    • Version 1.4 - Newer progress report, better bank walking, edited SRL
      ent procedure, added more new auto colors, removed unecessary
      procedures.



    Enjoy

    ~jR

  2. #2
    Join Date
    Oct 2006
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    tyvm ...i hope it's working i am going to try

  3. #3
    Join Date
    Nov 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    are there any yews in draynor?

  4. #4
    Join Date
    Sep 2006
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    There is a yew in draynor but its not really in draynor... its out in the woods near lumby.

    And good job junior I tested it right now and it works good.

  5. #5
    Join Date
    Oct 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Jr Draynor Yew Cutter Problem

    Hey Junior, thanks for the effort youve put in im testing it now. I keep getting stuck just before the path that runs south into the wizzy tower. Any suggestions wat may cause this, becasue once that happens the mouse simply hovers over trees and looks at my players stats. I ended up stopping the cript because nothing was happenin. Ill let it run and post another reply letting ya knwo whats happenin.

    The porg report was:

    Code:
    Jr SCAR Draynor Yew Cutter + Banker
    Version 1.0 : First release.
    PLEASE REPORT AND POST ALL BUGS AND PROGGYS!!
    Found Staff, begining script.
    Bank Symbol Color: 5885665
    The Road Color: 2650471
    Axe head colors: 6774085 6181951 6905672
    THROUGH MINIMAP!!!!!!!!---> 65536
    RoadColor[1] = 65536
     THROUGH RADIALROADWALK=  ---> 65536
    Successfully executed

  6. #6
    Join Date
    Oct 2006
    Posts
    412
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the problem is:
    THROUGH MINIMAP!!!!!!!!---> 65536
    RoadColor[1] = 65536
    THROUGH RADIALROADWALK= ---> 65536

    it is getting a black color as the road color and not the actuall road color.

    the problem would be here:

    procedure Roadcolor1;
    Begin
    Makecompass('W')
    Myroadcolor:= GetColor(704, 83);
    writeln('The Road Color: ' + inttostr(MyRoadColor))
    End;

    if your not standing at the correct part that he says to stand in the script setup it will not get the proper road color( also the problem with this method to get a road color is if rs has rotates the minimap differently then it was scripted to read(rs programmed their minimap to do this) then it will no doubt get the wrong color.

    if you color grab the road color yourself then it should probably work fine.

  7. #7
    Join Date
    Oct 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hmm this is a bit of a pickle. Thnx for the advice, i tried manually changing all the 'myroadcolour' variables to a manually taken road colour but that didnt work. I still get stuck just before the road to the wizzy tower again.

    I also tried facing different positions and standing in different positions, like the first grey sqares of the bank and the first bank booth spot.

    And with my next prgress report i didnt even get the road[1] colour and stuff....

    Jr SCAR Draynor Yew Cutter + Banker
    Version 1.0 : First release.
    PLEASE REPORT AND POST ALL BUGS AND PROGGYS!!
    Found Staff, begining script.
    Bank Symbol Color: 4964577
    The Road Color: 2063736
    Axe head colors: 6642243 5984829 6774086
    Successfully executed

  8. #8
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I haven't yet tested the script. Looks pretty good, but that road color find won't work I think.
    SCAR Code:
    procedure Roadcolor1;
     Begin
      Makecompass('W')
      Myroadcolor:= GetColor(704, 83);
      writeln('The Road Color: ' + inttostr(MyRoadColor))
    End;

  9. #9
    Join Date
    Oct 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default omfg

    best script ever!!!!

  10. #10
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @ av4: Are you sure you have the latest SRL? It is supposed to be going towards fally.

    @ Pentii: Yes it does work. Why would you think it does not work?

    @ lilgreg: Thanks, test it and tell me what I can improve on.

  11. #11
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Junior View Post

    @ Pentii: Yes it does work. Why would you think it does not work?
    When you rotate your compass, minimaps places will not everytime be exactly in same direction. Roads place can move in minimap about from (704,83) to (700,80) or to (708,87). But it doesn't matter that much if you take road color from middle of minimap or place where road is large. (I haven't tested the script yet, so I can't be sure about that how good it works)

    EDIT:
    I Tested your script, yup it works, you take it from place where roads size is large.
    So that what I said above, doen't matter to it.

  12. #12
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok Pentii I realize what you were saying.
    I have just made a new procedure in V1.1. Sometimes when walking to the yew tree, the road color changes. The procedure will pick the road color again incase it changes. This proecedure is TEMPORARY, untill I make a newer, better one.

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

    Default

    I have a flawless roadcolor finder. You should just use this.

    Code:
    function FindRoadColor:integer;  // By Tarajunky
    var red,green,blue:integer;
    var TestColor,a,b,GenericRoadColor:integer;
    begin
      GenericRoadColor:=6842479;
      Flag;
      a:=MMX1;
      b:=MMY1;
      repeat
        b:=b+1;
        repeat;
          a:=a+1;
          if FindColorTolerance(x,y,GenericRoadColor,a,b,MMX2,MMY2,80) then
          begin
            a:=x;
            b:=y;
            TestColor:=GetColor(x,y);
            red:=(TestColor mod 256);
            green:=((TestColor/256) mod 256);
            blue:=((TestColor/256) / 256);
            if Red-Green>=5 then if Red-Green<=10 then
            if Red-Blue>=5 then if Red-Blue<=10 then
            begin
              if GetColor(a+5,b+5)=TestColor then
              if GetColor(a+3,b+3)=TestColor then
              if GetColor(a,b+5)=TestColor then
              if GetColor(a+5,b)=TestColor then
              if GetColor(a,b+3)=TestColor then
              if GetColor(a+3,b)=TestColor then
              if GetColor(a+5,b+3)=TestColor then
              if GetColor(a+3,b+5)=TestColor then
              begin
                result:=TestColor;
                RoadColor:=TestColor;
                Writeln('RoadColor = '+IntToStr(TestColor));
                exit;
              end;
            end;
          end else a:=MMX2;
        until a>=MMX2;
        a:=MMX1;
      until b>=MMY2;
      Writeln('Could not find Road Color!');
      result:=0;
    end;
    All you have to do is use this before each step.
    If not(FindMMColor(x,y,RoadColor)) then RoadColor:=FindRoadColor;

  14. #14
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OMG! Thank you so much. Ill add that into my script soon.

  15. #15
    Join Date
    Oct 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Also support for multiple axes(in the case of them breaking) would be nice

    Ran it for 40 minutes until axe broke.

  16. #16
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by spire8989 View Post
    Also support for multiple axes(in the case of them breaking) would be nice

    Ran it for 40 minutes until axe broke.
    Im fixing my ent finding procedure, and just incase that doesnt work, yes I will make it support multiple axes.
    And a couple more questions... Did it bank the yews? How many did it cut? Did you see what happened during the time the yew tree was an ent? If you did can you tell me what the script did?

  17. #17
    Join Date
    Oct 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Junior View Post
    Im fixing my ent finding procedure, and just incase that doesnt work, yes I will make it support multiple axes.
    And a couple more questions... Did it bank the yews? How many did it cut? Did you see what happened during the time the yew tree was an ent? If you did can you tell me what the script did?
    It banked the yews, totaled 87 or so. I was watching the matrix when the ent attacked sorry.

  18. #18
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    ROFL WAFFLE why do you need to have a water staff for it to work?

  19. #19
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by yohojo8 View Post
    ROFL WAFFLE why do you need to have a water staff for it to work?
    Seems like that he uses it for script know if tree is chopped down.
    If it doesn't find staff color, account is chopping tree, if staff color has found account is not chopping tree...

  20. #20
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Pentti View Post
    Seems like that he uses it for script know if tree is chopped down.
    If it doesn't find staff color, account is chopping tree, if staff color has found account is not chopping tree...
    Yup. Its the most effecient way to detect wether your player is still chopping down the trees or not.

    @ Spire: Next time post the progress report please.

  21. #21
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just released version 1.2!
    Check the version history for updates.

  22. #22
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Released version 1.3, check version history on first post for the latest updates.

  23. #23
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry for triple posting...
    VERSION 1.4 IS FINALLY OUT!
    Took me about 3 hours to complete, test, and release to the community. Please people if your using this script or just looking through it let me know about what I can improve on or work on or do differently. Anything to make this script better.
    Check out first post for the updates on version 1.4.
    Enjoy
    ~jR

  24. #24
    Join Date
    Jun 2006
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i will try to test later, looks pretty good

  25. #25
    Join Date
    Jul 2006
    Location
    NY
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bobert5696 View Post
    i will try to test later, looks pretty good
    Thanks, just make sure you let me know about bugs, or things I can do to make it better.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Draynor cutter
    By OLDSCHOOLMACRO'ER in forum First Scripts
    Replies: 14
    Last Post: 10-06-2008, 08:59 PM
  2. Draynor Cutter by Griff721
    By Griff in forum RS3 Outdated / Broken Scripts
    Replies: 51
    Last Post: 08-26-2008, 10:30 PM
  3. Draynor oak cutter
    By dallas574 in forum OSR Help
    Replies: 1
    Last Post: 05-19-2008, 02:33 AM
  4. Best draynor willow cutter.
    By bloxstorm in forum RS3 Outdated / Broken Scripts
    Replies: 4
    Last Post: 10-01-2007, 09:42 PM
  5. Draynor Oak Cutter+Banker? Willing To Pay
    By Wdf? in forum RS3 Outdated / Broken Scripts
    Replies: 3
    Last Post: 07-30-2007, 06:31 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
  •