Skip 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.

Trade Modification

Featured Replies

Hi,

First time messing with OS-Bot but more than familiar with Java. I am currently trying to find a nice way to check if a trade has been modified. Right now, my method of checking the trade inputs, sleeping then checking if they have change is not optimal and has exploits.

I cannot find a getTrade().isModified() on the docs. Can someone help out here?

 

We're dealing with coins by the way. If the amount of coins changes at any point in the trade, I want to instant decline.

 

Use the Widgets debugging tool to find the appropriate widget to indicate a trade has been modified. If I recall right the modification is shown by a red and text letting you know to double-check. You can scan for the existence of the text, or the sprite of the

I don't think a listener is necessary:

IF trade window = OPEN
	IF trade window = ACCEPTED
		WAIT
		
	ELSE IF trade items = VERIFIED
		DO trade accept
	
	ELSE IF trade is taking fucking ages
		DO trade decline

You could have a counter tally up the amount of times you've hit 'accept' for somebody who's trying to scam you, then forcefully decline the trade and blacklist that player so that your bot doesn't spend 10 hours trying to deal with the same guy.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.