Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Item-Combiner

Featured Replies

Item-Combiner

Osbot script designed to automate any 2 item combination action.

Source + Jar: https://github.com/PayPalMeRSGP/Item-Combiner

Common use cases:

  • stringing bows
  • creating unf potions
  • finishing potions
  • doing hosidious favor by making special compost

Usage Instructions

Currently this script ONLY works with NPC bankers, so no bank chests. Also only works for game tasks where FOURTEEN of TWO item types of withdrawn and put together.

Start script with an inventory setup with the 2 items to combine. The items are auto detected and the session's recipe will be set. Script will execute until either constituent item runs out.

WARNING: I only check for the "Nothing interesting happens" String in game chat, it is the user's responsibility to ensure that they have the required level necessary!

I don't know what the exact gamechat string for not having the required lvl, so if anyone can tell me I can remove this warning.

Installation

A precompiled jar of the source code has been provided for you under the compiled folder. Drop this under the scripts folder in your osbot user files directory located under your user folder on your computer.

Special Notes

This script is written to simulate a markov chain. Most actions such as item creation have been redundantly coded to be solved in multiple distinct ways. For example, When interacting with the widget to confirm to combine items, there are 3 choices of which one is randomly chosen.

  • AFK (62.5%; 100/160): interact with the widget, move mouse offscreen, remain idle for some random time even after all items have been combined
  • HoverBank (31.25%; 50/160): interact with widget, then right click hover the bank option, when all items have combined immedietly click to open the bank
  • PrematureStop (6.25%; 10/160): interact with widget, right click hover the bank, before all items have combined, click to open the bank canceling combining the remaining items. This is meant to simulate a EHP player mistiming the game ticks.

Percentages are calculated from relative probability weights I've set. The following line defines the above branch probabilities.

Item-Combiner/src/nodes/bankingnodes/withdraw/Withdraw.java

private List<Edge> bothItemsWithdrawn = Arrays.asList(
            new Edge(AFKCreation.class, 100),
            new Edge(HoverBankerCreation.class, 50),
            new Edge(PrematureStopCreation.class, 10));

The AFK branch probability is calcuated by taking the weight of that branch (100) divided by the total weight sum of every branch (100 + 50 + 10). So 100/160 = 0.625.

If desired you can modify these probabilites to your own desires. Doing so may grant your script a different profile than every other user.

 

Also the items slot of the two items chosen to be used on one another is random, by default item.interact(<item>) always interacts with the first item slot index matching the specified target item.

Edited by PayPalMeRSGP

when you start the script, you just take out one type of object and put it back in the bank in an infinite bulce

Nice release, I was actually wondering if there would be a script like this soon

  • Author
2 hours ago, Erradicated said:

when you start the script, you just take out one type of object and put it back in the bank in an infinite bulce

what is your inventory when you start the script. 

On 12/4/2018 at 3:03 PM, PayPalMeRSGP said:

what is your inventory when you start the script. 

jug of water and clay

  • 2 weeks later...
  • Author
On 12/16/2018 at 2:04 PM, maiameihana said:

same with me

 

On 12/6/2018 at 2:28 AM, Erradicated said:

jug of water and clay

oops, misread an API method. Fixed.

  • 3 months later...
  • 3 months later...

Works fine but ever 2 buckets it banks... could do with an update or a fix.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.