Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 56

Thread: Trying to get the bot to ChopTree for me

  1. #26
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Yeah that's the stuff you need to work out, something like

    Simba Code:
    while not InvFull do
    begin
      if FindTree then WaitWhileChopping else FindTree
      // etc
    end else
      Bank;

    Do you see what that is going to do? You should read through some tutorials and scripts to understand what/how to do things

    Have a go at making a tree finding/cutting script and post it here or pm me

    Also read what masterBB and kingarabian posted
    Last edited by Bonfield; 07-11-2011 at 10:37 PM.



  2. #27
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Yeah, I understand it make the bot not click while chopping, which is the wait, or find another tree. Where do I put that in my script?

  3. #28
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I would put it in the mainloop, read my previous post I made some edits



  4. #29
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I put it in the mainloop but it keeps messing up.

  5. #30
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    It won't work, you dont have a WaitWhileChopping function, I'm just posting stuff to give you the idea of what to do, I'm not even sure if what i post compiles

    I'm trying to help you with the script, not write it for you

    Edit sorry if that sounds harsh it's not meant to be
    Last edited by Bonfield; 07-11-2011 at 10:53 PM.



  6. #31
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Lol, it's okay, how do I put the function, go on
    IRC

  7. #32
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I'm on an iPhone i don't know if I can go on irc



  8. #33
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    You can use animation... Wich i would suggest, or wait until the tree is gone which i would not incase you misclicked...
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  9. #34
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I wouldnt really use reflection for that, a simple count colour, or TPA check would work fine plenty of ways to check that you are cutting a tree

    Does marpis' isanimating still work?



  10. #35
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    It stops clicking once the tree is gone, and then clicks 1 tree and clicks the other and mas clicks it.

  11. #36
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by Bonfield View Post
    I wouldnt really use reflection for that, a simple count colour, or TPA check would work fine plenty of ways to check that you are cutting a tree

    Does marpis' isanimating still work?
    I never got color animation check to work for me.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  12. #37
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Have you made a WaitWhileChopping function? Are you just running the FindTree I wrote?

    Edit: I'm pretty sure it worked really good at one point, i could be wrong, is any of the pixel shift stuff he wrote still used?



  13. #38
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Try running this, and see if you get the problem, [Error] (41:23): Type mismatch at line 40
    Compiling failed.

  14. #39
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Running what?



  15. #40
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    ohh forgot to post lolol, sec.
    http://pastebin.com/QY7U6e6E

  16. #41
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    What is this supposed to do?
    Simba Code:
    *
    (TreeLocation.x)(TreeLocation.y, 3, 3, true));

    Is that supposed to be mouse?

    Also
    Simba Code:
    * * while (not(InvFull)) do
    * * * FindTree;  // need a begin here, you also dont want all these things happening while the inventory is empty
    * * * WalkToBank;
    * * * BankLogs;  // is this finished? Cause it won't work it just counts at the moment
    * * * WalkToTrees;
    * until (Logs_Chopped >= LOGS);
    Last edited by Bonfield; 07-12-2011 at 08:08 AM.



  17. #42
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    No, the mmouse was already added, now the problem is coming from that line.

  18. #43
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    But the pastebin you posted it's just how I posted it

    Your also missing a comma between treelocation.x and treelocation.y



  19. #44
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I told you to learn the basics first, Huthaifa.

  20. #45
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I didn't write that line, Bebe did, she told me to use it.

    I did but I added a parantheses and removed comma, because of this error, [Error] (41:22): Closing parenthesis expected at line 40
    Compiling failed.

  21. #46
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Jad has a good tutorial on how to find/fix these annoyin errors



  22. #47
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Alright will look at it now.

  23. #48
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Hey mate. Add my msn if you need help. home21200@hotmail.com I will be online in 10 hours. I need to sleep

  24. #49
    Join Date
    Dec 2010
    Location
    Hawaii
    Posts
    612
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    It's okay, I quit making the script, I don't understand anything I'm doing so I don't want to leech, thanks for the help though

  25. #50
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Huthaifah View Post
    It's okay, I quit making the script, I don't understand anything I'm doing so I don't want to leech, thanks for the help though
    Don't quit just take a break to read up some more...

    There are a lot of sexy tuts in the tut section... That's where I learned from.
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

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

Posting Permissions

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