Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • How to check what equipment other players have?


    peanutbutterp

    Recommended Posts

    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

    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

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.