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.

GrandExchange, how to buy items and sell them?

Featured Replies

Just wondering if anyone had any code/ ways to buy items from the GE, and also sell them

http://osbot.org/forum/topic/108450-ge-help/

 

Heres a similar thread on the first page of Scripting Help, have a read. Also check for other threads first before you post. Hopefully one of the other threads can answer your question.

 

edit - lul you posted on that thread already, anyways still check a few pages back, there might already be an answer, since i think thats probably a reasonably common question.

Edited by PlagueDoctor

  • Author

http://osbot.org/forum/topic/108450-ge-help/

 

Heres a similar thread on the first page of Scripting Help, have a read. Also check for other threads first before you post. Hopefully one of the other threads can answer your question.

 

edit - lul you posted on that thread already, anyways still check a few pages back, there might already be an answer, since i think thats probably a reasonably common question.

 

:)ohmy.pngohmy.pngohmy.pngsmile.png I posted in this post, only thing available is the way to buy it which I know how to and still doesnt seem to work :(

smile.pngohmy.pngohmy.pngohmy.pngsmile.png I posted in this post, only thing available is the way to buy it which I know how to and still doesnt seem to work sad.png

 

Hmm, i personally don't know how to do this, i'll have a look through some threads and see if i can figure it out. Hopefully someone who can answer your question will post on this thread. 

GrandExchange API

 

It supports Buying not sure about selling lots of snippets on osbot tbh or you could just make a sell method yourself using widgets 

 

if you cant be bothered, Loudpacks has a snippet not tested it though

K heres some threads. Hopefully one of them will answer your question. 

 

If these don't give you the info you need, look into widgets. Widgets are really useful if you need to tell the script to click something or type something in a certain area etc, or check if an area contains something. On the osbot client, log into a character and click settings - > options - > debug tab - > check widgets. Hover over your inventory for instance, it will show you the root and children of the area you are hovering.  In my cannonball smithing script i used widgets to detect when my smithing had leveled up, so that i could tell it to start smithing again (because leveling up generally stops whatever you are doing).  Heres the code, incase it helps you understand widgets a little better.

RS2Widget smithingLevelWidget = getWidgets().get(233, 0); // defining the widget variable.

if(smithingLevelWidget != null && smithingLevelWidget.isVisible() && smithingLevelWidget.getMessage().contains("Smithing"))
    		return Action.SMELT;

/* If the smithingLevelWidget is not equal to null, and is visible, and the widget contains the text "Smithing",
 do Action.Smelt (this is the case that interacts with the furnace and smelts the cannonballs). */

http://osbot.org/api/org/osbot/rs07/api/Widgets.html

 

edit: @Saiyan copied me while i was writing this out, pls report. Ruined my dank response.

Edited by PlagueDoctor

If you can't figure it out you should probably be writing a script which you can write. The API spoon feeds a lot, a little too much actually. Learn more about widgets.

If you can't figure it out you should probably be writing a script which you can write. The API spoon feeds a lot, a little too much actually. Learn more about widgets.

 

Alek with the lowkey flame. 

Well if he uses snippets because he doesn't understand how to write the methods, that's not teaching him anything. He should spend some time learning more about widgets and understanding our API. That will make him a better scripter and programmer in the long run.

 

Edit: Widgets is a good way to learn inheritance smile.png

  • Author

Well if he uses snippets because he doesn't understand how to write the methods, that's not teaching him anything. He should spend some time learning more about widgets and understanding our API. That will make him a better scripter and programmer in the long run.

 

Edit: Widgets is a good way to learn inheritance smile.png

 

Thank you very much, i am gonna be buying lifetime sponsorship shortly, and then really pushing some work into it. I use to script back in 2012-13, and lost nearly everything ive learned. Was the first to publish a tab-maker on the TriMuch's API.

Thank you very much, i am gonna be buying lifetime sponsorship shortly, and then really pushing some work into it. I use to script back in 2012-13, and lost nearly everything ive learned. Was the first to publish a tab-maker on the TriMuch's API.

 

Well I think most of it should come back to you fairly quickly then. Just be careful when using static ids; scripters get lazy and use them but in the long run it requires a lot more work because of maintenance. If you have issues finding widgets without the use of static ids, I could write a small tutorial on it to introduce the basic idea.

  • Author

Well I think most of it should come back to you fairly quickly then. Just be careful when using static ids; scripters get lazy and use them but in the long run it requires a lot more work because of maintenance. If you have issues finding widgets without the use of static ids, I could write a small tutorial on it to introduce the basic idea.

 

Sounds good!, i'll let you know. I'll have a look into it again. Just got back after a few weeks and am already going overboard lol.

 

Anyways, would you happen to know where I could exchange the BTC I have for the credits needed for sponsorship. I have the cash in BTC, however you guys dont accept this payment.. This payment personally I think is the best payment as its nearly right in your hands.

Sounds good!, i'll let you know. I'll have a look into it again. Just got back after a few weeks and am already going overboard lol.

 

Anyways, would you happen to know where I could exchange the BTC I have for the credits needed for sponsorship. I have the cash in BTC, however you guys dont accept this payment.. This payment personally I think is the best payment as its nearly right in your hands.

 

It's a soft currency and PayPal has the API required to process transactions. Unless there is a vendor that takes bitcoin and exchanges it to a hard currency for us, and provides us the same functionality, it's unlikely. Also PayPal has a great reputation and has been up for many years. 

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.