1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I would love to make a osrs herb cleaning bot

Discussion in 'Projects' started by boy9959, May 19, 2016.

  1. boy9959

    boy9959 The man who can

    Joined:
    Dec 14, 2015
    Messages:
    91
    Likes Received:
    10
    I would love to make a basic herb cleaning bot.

    Here's what it would do.
    Open bank
    Collect 28 of whatever herb selected
    Click on the 28 herbs one at a time
    Open bank
    Deposit
    Repeat
    But I wouldn't know how or where to start
     
  2. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    Bank.open();
    Bank.withdraw("Herb name", 28);
    SpriteItem herb = Inventory.newQuery().names("Herb name").actions("Clean");
    herb.interact("Clean");
    Bank.open();
    Bank.depositAll();

    That in a loop. I'm sure if you know some Java you can figure out the rest. :)

    (Don't quote me literally, this is all on the top of my head.)
     
  3. boy9959

    boy9959 The man who can

    Joined:
    Dec 14, 2015
    Messages:
    91
    Likes Received:
    10
    I will give it ago, do you know how I can make a gui for it?
     
  4. Devphreak

    Joined:
    Dec 9, 2015
    Messages:
    152
    Likes Received:
    19
    Is the runemate api really that easy?

    Ps. Don't include the bank opening in the loop.
     
  5. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    [​IMG]
    0/10 doesn't work, worst bot author ever.
     
    placebo, Qosmiof2 and Derk like this.
  6. Stopper Blocker

    Joined:
    Apr 19, 2016
    Messages:
    55
    Likes Received:
    17
    That's because you forgot to import Runemate.

    Code (Text):
    1. import please.import.runemate.com.for.me.*
     
    awesome123man likes this.
  7. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    It is that easy, indeed.

    And if you want to make an UI look at this: Tutorial - EmbeddableUI Tutorial/Reference
     
  8. boy9959

    boy9959 The man who can

    Joined:
    Dec 14, 2015
    Messages:
    91
    Likes Received:
    10
    Please no one steal this lol I really want to make my first bot with it
    --- Double Post Merged, May 19, 2016, Original Post Date: May 19, 2016 ---
    How long would it take for someone to make this and a ui with no background knowledge in Java
     
  9. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    Hard to say. It isn't quite as literal as RuneMate's API is. Just use resources and see how it's done, learn from that.
     
  10. boy9959

    boy9959 The man who can

    Joined:
    Dec 14, 2015
    Messages:
    91
    Likes Received:
    10
    Will do I'll try it out tomorrow.
     
  11. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,212
    Likes Received:
    1,042
    Quoted.
     
  12. boy9959

    boy9959 The man who can

    Joined:
    Dec 14, 2015
    Messages:
    91
    Likes Received:
    10
    Would this code work slash
     
  13. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    hnnnnggggggg
     
  14. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,212
    Likes Received:
    1,042
    I'm too sleep deprived to say tbh
     
  15. boy9959

    boy9959 The man who can

    Joined:
    Dec 14, 2015
    Messages:
    91
    Likes Received:
    10
    I'm half dead atm and need to be up for college in a few hours lol
     
  16. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Not at all
     

Share This Page

Loading...