Page 1 of 7 123 ... LastLast
Results 1 to 25 of 162

Thread: SurfingYewsEdgeville

  1. #1
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default SurfingYewsEdgeville

    This is a good little woodcutter made it in a few hours. It uses objDTM walking so you need to go here http://villavu.com/forum/showthread....ghlight=objDTM to download the add-on for simba for it to work.

    Here is a crappy video show the script running. You have to have the link to view it.
    http://www.youtube.com/watch?v=90hrI...ature=youtu.be



    Start at Red Dot.

    Code:
    What the script does
              Can start at either yew tree but i suggest the southern one, make your camera face south also.
              Chops both Yew trees at edgeville then banks them
              Waits for the inventory to be full before banking
              Seems to be the only working Edgeville Script ATM
              Improved Chopping method, knows when tree is down now.
              Moves Camera angle to show better view of yew. 
              Improved walking thanks to S1N.
              Resting when energy is below 50. 
              More Speedy Tree Finding Now.  
              Paint Progress Report.
              Skiller Support.
              ADDED XP Gained to Paint.
              ADDED SRL Stats Support.
              ADDED Tpa Tree Finding.
              ADDED Auto Updating.
              ADDED LessBotLike Option to Constants
              ADDED Breaking
              ADDED SPS Walking For ODTM Backup
    No Longer Need to Declare Players. Just enter your details into the form when you hit start.












    Progress Report:
    Surfing Yews
                 Total Time Running: 5 hours , 59 minutes and 57 seconds
                 Yews Chopped: 967


    I Borrowed S1N's Yew cutter script for the base and functions. His script can be found here - http://villavu.com/forum/showthread.php?t=70895
    Last edited by Drax; 03-09-2012 at 12:55 AM.

  2. #2
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    You might want to give some credits to me....

    I Dont believe this, you took my WHOLE code and just added ObjectDTM walking. You even changed the proggy. You serious...
    This deserves a complete ban.

  3. #3
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by S1N View Post
    You might want to give some credits to me....

    I Dont believe this, you took my WHOLE code and just added ObjectDTM walking. You even changed the proggy. You serious...
    This deserves a complete ban.
    You influenced me to make it, i did forget to ask about borrowing some functions and what not. If you like ill take it down and use it only for personal use then.
    Sorry.

  4. #4
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Surfing View Post
    You influenced me to make it, i did forget to ask about borrowing some functions and what not. If you like ill take it down and use it only for personal use then.
    Sorry.
    You used my whole script as a base...
    But no, i don't want it taken down. It's good to see new people start scripting, helps the community grow.
    Just add credits next time

  5. #5
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by S1N View Post
    You used my whole script as a base...
    But no, i don't want it taken down. It's good to see new people start scripting, helps the community grow.
    Just add credits next time
    Yeah i'm real sorry bro i just really liked you functions and procedures. This is the way i was teaching myself. Next script will be 100% mine and no butchering :P

  6. #6
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    No problem, if you need any help just hit me up

  7. #7
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by S1N View Post
    No problem, if you need any help just hit me up
    Will do thanks bro.

  8. #8
    Join Date
    Oct 2008
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    All this needs is a way to check for the other tree. Like..
    It will cut the north tree, then just sit there and wait for it to respawn without moving to check the other one.
    AYRTOOOO
    93/99 wcing.. 76/99 firemaking.. 65/99 range...

  9. #9
    Join Date
    Jan 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Its loading up right now... About to use it.. BETTER BE GOOD!
    I like this script alot
    Last edited by Chrome; 01-21-2012 at 04:01 PM.

  10. #10
    Join Date
    Jan 2012
    Location
    Sweden
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What is this?

    Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    Last edited by Smetig; 01-21-2012 at 04:37 PM.

  11. #11
    Join Date
    Jan 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Smetig View Post
    What is this?

    Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    I don't know but I wouldn't worry about it too much.
    This happens for me too but i dont think it affects performance

  12. #12
    Join Date
    Dec 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this cut yews but stuck when try bank here

  13. #13
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Ayrtoo View Post
    All this needs is a way to check for the other tree. Like..
    It will cut the north tree, then just sit there and wait for it to respawn without moving to check the other one.
    You know what i didn't even consider if other people where cutting trees with you, my bad. I will try to implement a timed procedure so that if it doesn't find the tree in a set time it will move to the other tree.

    I may have to update the DTM walking aswell to make it more accurate as it seems to walk out side the bank then clicks on the deposit box. I will have to do that later on today. But this script atm should run fine.

    Also with the tree finding issue make sure you pick a world that has no one in it so the script runs fine, i will fix this later when i get time.

  14. #14
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Smetig View Post
    What is this?

    Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    Don't worry about this. It says this when going out of the set area to find the yew tree. It won't interfere with the script.

  15. #15
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Check out the new script and tell me what you think. I improved the chopping method so if it doesn't find the yew in around 10 seconds it will move to the other. Have only done half an hour of testing, it ran pretty smoothly. Post any bugs you have. Thanks

  16. #16
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Simba Code:
    Procedure WalkToBank;
    begin
      if ObjDTM_Walk('84:22:4:3:7:67:43:3:7:43:63:3:7:40:76:3:7:28:72:4:73:8:73:27:98:30:98:9', 0, 100, 80, True) then
        begin
          wait(5000 + random(250));
          end;
    begin
      if ObjDTM_Walk('106:48:3:10:7:119:69:10:7:119:61:10:7:119:53:4:98:27:97:50:116:51:115:27', 0, 100, 80, True) then
        begin
          wait(3000 + random(250));
          end;
    begin
      if ObjDTM_Walk('73:66:3:1:7:95:47:1:7:123:80:3:7:128:96:4:69:57:70:73:84:73:83:57', 0, 100, 80, True) then
        begin
          WriteLn('Now at Bank')
          wait(1500 + random(250));
          MakeCompass('0');
          end
      else WriteLn('Could not find Bank');
    end;
    end;
    end;

    All the "wait's" can be replaced with -

    Simba Code:
    Procedure WalkToBank;
    begin
      if ObjDTM_Walk('84:22:4:3:7:67:43:3:7:43:63:3:7:40:76:3:7:28:72:4:73:8:73:27:98:30:98:9', 0, 100, 80, True) then
        begin
          repeat
            wait(100);
          until(Not IsMoving);
        end;
    begin
      if ObjDTM_Walk('106:48:3:10:7:119:69:10:7:119:61:10:7:119:53:4:98:27:97:50:116:51:115:27', 0, 100, 80, True) then
        begin
          repeat
            wait(100);
          until(Not IsMoving);
        end;
    begin
      if ObjDTM_Walk('73:66:3:1:7:95:47:1:7:123:80:3:7:128:96:4:69:57:70:73:84:73:83:57', 0, 100, 80, True) then
        begin
          WriteLn('Now at Bank')
          repeat
            wait(100);
          until(Not IsMoving);
          MakeCompass('0');
          end
      else WriteLn('Could not find Bank');
    end;
    end;
    end;
    Much more efficient.

  17. #17
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hey thanks yeah i only just realized i put waits in there... lol stupid me.

  18. #18
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    ======UPDATED======

    Fixed the walking thanks to S1N and updated finding and cutting method for yews. Now it will search for yews for about 10 seconds then if it can't find will move onto the the next one. Check it out thanks.

  19. #19
    Join Date
    Dec 2011
    Location
    Nj
    Posts
    2,341
    Mentioned
    1 Post(s)
    Quoted
    18 Post(s)

    Default

    Working good for anyone?

    Can someone post proggy?

    For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip

  20. #20
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I'm running it at the moment. It's been running for about 2 hours now, seems to be working pretty good :P. Check it out. It uses DTM walking so follow my link above to download it. If you have any issues please post here.

  21. #21
    Join Date
    Jan 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can you help? Send you a PM describing my problem.

  22. #22
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Sterg789 View Post
    Can you help? Send you a PM describing my problem.
    I pmed you back

  23. #23
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    ======UPDATED======

    Removed Useless Code
    Removed most copied code
    Improved speed
    More reliable
    Check it out!

  24. #24
    Join Date
    Feb 2008
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I get this error when i compile

    Exception in Script: Unable to find file 'ObjectDTM\ObjDTMInclude.simba' used from ''

  25. #25
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Giant Panda View Post
    I get this error when i compile

    Exception in Script: Unable to find file 'ObjectDTM\ObjDTMInclude.simba' used from ''
    if you actually bothered to spend some time reading the first post then you would know why

    ~shut

Page 1 of 7 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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