Malcolm Posted December 13, 2018 Posted December 13, 2018 getGrandExchange().getOverallPrice(int ID); What does this actually return? @Patrick If I am correct (and what I've used it for) I think this returns the overall value of the item in the GE (not the actual listed price) but I'm not 100% sure. If this is the case it would make any OSBuddy import prices redundant.
Chris Posted December 13, 2018 Posted December 13, 2018 2 minutes ago, Malcolm said: getGrandExchange().getOverallPrice(int ID); What does this actually return? @Patrick If I am correct (and what I've used it for) I think this returns the overall value of the item in the GE (not the actual listed price) but I'm not 100% sure. If this is the case it would make any OSBuddy import prices redundant. the value displayed in the ge interface
Malcolm Posted December 13, 2018 Author Posted December 13, 2018 (edited) 6 minutes ago, Chris said: the value displayed in the ge interface That can't be as I've tested it and it returns something different than that. keyboard.typeString(""+getGrandExchange().getOverallPrice(2353)); Edited December 13, 2018 by Malcolm
Chris Posted December 13, 2018 Posted December 13, 2018 18 minutes ago, Malcolm said: That can't be as I've tested it and it returns something different than that. keyboard.typeString(""+getGrandExchange().getOverallPrice(2353)); nvm i just saw the code. It pulls from this url with gson https://storage.googleapis.com/osbuddy-exchange/summary.json and returns the price do keep in mind that prices always fluctuate
Malcolm Posted December 13, 2018 Author Posted December 13, 2018 2 minutes ago, Chris said: https://storage.googleapis.com/osbuddy-exchange/summary.json is this not osbuddy prices anyways? So you could actually use this instead of importing osbuddy?
Chris Posted December 13, 2018 Posted December 13, 2018 2 minutes ago, Malcolm said: is this not osbuddy prices anyways? So you could actually use this instead of importing osbuddy? i think so. would have to ask @Patrick to be sure
Explv Posted December 13, 2018 Posted December 13, 2018 4 hours ago, Malcolm said: is this not osbuddy prices anyways? So you could actually use this instead of importing osbuddy? Yes that is an official osbuddy price list 1