Jump to content

Chocolate Crusher - Grand Exchange Support - 80k/h


Incus Valley

Recommended Posts

Chocolate Crusher

 

Crushes chocolate at the Grand Exchange

indefinately.

 

Features:

  • Buys Chocolate Bars for a predetermined price.
  • Crushes the bars into dust.
  • Sells the dust for predetermined price and repeats.
  • Indefinately crushes Chocolate bars.
  • Can also be ran in stand-alone at any bank if you untick "Buy & Sell" in the GUI.

How-to use:

  • Start with your starting amount of Chocolate bars in your bank (this wont touch any money in the bank) as this script will reinvest your starting bars continuously.

Bugs:

  • Clicks knife in inventory after crushing the last bar.
  • If you find any, please alert me and I'll fix them as soon as.

To-do:

  • Add saving of buy and sell price in the GUI.
  • Allow editing of buy and sell price while script is still running.

Images:

 

9HelcE5.png

 

7bo6ixG.png

 

IroappG.png

 

Download link:

Changelog:

1.0 - Initial release
Edited by Incus Valley
  • Like 3
Link to comment
Share on other sites

 

Looks good!

For dynamic GE support (more than 1 box), take a look at this - https://github.com/Bobrocket/OSBotAPI/blob/master/omniapi/interfaces/RSGrandExchange.java#L85

Basic logic:

Find a box with the sprite index for the LOADED buy icon (there's also the unloaded one if you're in F2P)

Click it

Wait until we can see something that identifies the GE buy offer box (in this case, "Buy offer" text)

Type it in word by word until we can see our item in the search box

Interact with it

Wait until that no longer exists

Find the median price, if we aren't buying for the median price enter in our price

If our quantity is above 1, enter in our quantity

Click the confirm button

 

Enjoy :)

 
 
 
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Works very well, but there's a bug that randomly happens. It will be dusting the chocolate and then just logs out. And it doesn't show anything in the logger other than that the script is terminating.

 

It lasted about 13 minutes before doing it here.

 

[iNFO][bot #1][05/07 10:29:53 AM]: Loaded 5 built-in random solvers!
[iNFO][bot #1][05/07 10:30:07 AM]: Let's get started!
[iNFO][bot #1][05/07 10:30:07 AM]: Started script : GE Chocolate Crusher
[iNFO][bot #1][05/07 10:43:09 AM]: Terminating script GE Chocolate Crusher...
[iNFO][bot #1][05/07 10:43:09 AM]: Script GE Chocolate Crusher has exited!
 
It would work perfectly for endless amounts of time if it weren't for this one small thing. smile.png
Edited by dcrules8383
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...