qwAQ 17 Share Posted June 9, 2018 Anyone know where to start using the API to create a bank value calcuator? I'm looking for an approach that is not "Take out every single item & price check" or "Take each item and sell". Is it possible to do efficiently and easily? Link to comment Share on other sites More sharing options...
Pseudo 179 Share Posted June 9, 2018 Yes it's a pretty simple process. There's been a few releases of a method to grab item values from osbuddy/osrs exchange, personally I'd create a map to store item and value data. Then iterate through bank items, grab value and store it, then simply add them up for the total. Link to comment Share on other sites More sharing options...
qwAQ 17 Author Share Posted June 9, 2018 59 minutes ago, Pseudo said: Yes it's a pretty simple process. There's been a few releases of a method to grab item values from osbuddy/osrs exchange, personally I'd create a map to store item and value data. Then iterate through bank items, grab value and store it, then simply add them up for the total. Oh, could you please link me to where I can read more about that? Link to comment Share on other sites More sharing options...
Im A Baller 348 Share Posted June 9, 2018 1 hour ago, qwAQ said: Oh, could you please link me to where I can read more about that? https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html http://api.rsbuddy.com/grandExchange?a=guidePrice&i= Put item ID at the end of this link. Item prices can be grabbed from here. Link to comment Share on other sites More sharing options...
Miami 369 7 Share Posted June 9, 2018 https://dreambot.org/javadocs/org/dreambot/api/methods/container/impl/bank/Bank.html#all-- Link to comment Share on other sites More sharing options...
Nex 2542 Share Posted June 9, 2018 i have one of these, saw banker had one on SDN so didnt release it, but if his doesnt work lmk and il post mine Link to comment Share on other sites More sharing options...
qwAQ 17 Author Share Posted June 10, 2018 13 hours ago, Im A Baller said: https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html http://api.rsbuddy.com/grandExchange?a=guidePrice&i= Put item ID at the end of this link. Item prices can be grabbed from here. Thanks! 13 hours ago, Miami 369 said: https://dreambot.org/javadocs/org/dreambot/api/methods/container/impl/bank/Bank.html#all-- Thank you! 13 hours ago, Nex said: i have one of these, saw banker had one on SDN so didnt release it, but if his doesnt work lmk and il post mine Alright, but I'm gonna integrate this into my script, thanks for offering though Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.