Falcon 0 Share Posted March 14, 2022 I am trying to read the price of the 3rd age pickaxe but the return value I get is: -1 instead of the Grand Exchange value why is this? I suspect it's some sort of integeroverflow but don't understand why when the value is the max of a valid integer and not above. log(LivePrices.get(new Item(20014, 0))); Link to comment Share on other sites More sharing options...
camelCase 270 Share Posted March 15, 2022 LivePrices takes the id as an argument so you dont need to be making a new item. use getLow() or getHigh(), get() finds the average between those. so max cash + max cash / 2 probably causes the issue like you said Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.