peanutbutterp 1 Share Posted January 20, 2018 Hello, UPD: Found a snippet on how to do this. New question, how do I look up prices of these items? Alch prices or G.E. prices I'm trying to find in the API the functionality to check what other players are wearing. I can easily check their names, combat and see if they're skulled or not, but I cannot check what they are wearing. for(Player p: getPlayers().all()){ if(p.isSkulled()){ log("Skulled player found!"); log(p.getName()); log(Integer.toString(p.getLevel())); } } Link to comment Share on other sites More sharing options...
Pseudo 179 Share Posted January 20, 2018 From a quick scan I believe player#getComposite#getAppearance would return an array of the worn items? I may be wrong, though. E:/ As for the other query, I don't believe the API has a class for grabbing item price, you'd have to write something to send a query to the ge or rsbuddy exchange I assume. Link to comment Share on other sites More sharing options...
Dinh 496 Share Posted January 20, 2018 https://github.com/anondinh/dream-util/tree/master/src/org/dinhware/price Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.