TheGreatests Posted October 29, 2016 Share Posted October 29, 2016 Just wondering if anyone had any code/ ways to buy items from the GE, and also sell them Quote Link to comment Share on other sites More sharing options...
PlagueDoctor Posted October 29, 2016 Share Posted October 29, 2016 (edited) 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 October 29, 2016 by PlagueDoctor Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted October 29, 2016 Author Share Posted October 29, 2016 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. 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 Quote Link to comment Share on other sites More sharing options...
PlagueDoctor Posted October 29, 2016 Share Posted October 29, 2016 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 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. Quote Link to comment Share on other sites More sharing options...
Saiyan Posted October 29, 2016 Share Posted October 29, 2016 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 1 Quote Link to comment Share on other sites More sharing options...
PlagueDoctor Posted October 29, 2016 Share Posted October 29, 2016 (edited) K heres some threads. Hopefully one of them will answer your question. http://osbot.org/forum/topic/90148-simple-ge-api/ http://osbot.org/forum/topic/73580-ge-selection 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 October 29, 2016 by PlagueDoctor 1 Quote Link to comment Share on other sites More sharing options...
Alek Posted October 30, 2016 Share Posted October 30, 2016 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. 6 Quote Link to comment Share on other sites More sharing options...
Gnomedesto Posted October 30, 2016 Share Posted October 30, 2016 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. Quote Link to comment Share on other sites More sharing options...
Alek Posted October 30, 2016 Share Posted October 30, 2016 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 3 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted November 2, 2016 Author Share Posted November 2, 2016 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 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. 1 Quote Link to comment Share on other sites More sharing options...
Alek Posted November 2, 2016 Share Posted November 2, 2016 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. 1 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted November 2, 2016 Author Share Posted November 2, 2016 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. Quote Link to comment Share on other sites More sharing options...
Alek Posted November 2, 2016 Share Posted November 2, 2016 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. Quote Link to comment Share on other sites More sharing options...