Jump to content
AdhesiveBandage

Fetching other players levels

Recommended Posts

I was reading through the api and was wondering if there is a way to fetch other peoples level and stats rather than just fetching my own. I was planning on using it to avoid players in PVP worlds while looting. From what I am reading on https://osbot.org/api/org/osbot/rs07/api/Skills.html it seems to only refer to my Player.

Link to comment
Share on other sites

6 minutes ago, AdhesiveBandage said:

I was reading through the api and was wondering if there is a way to fetch other peoples level and stats rather than just fetching my own. I was planning on using it to avoid players in PVP worlds while looting. From what I am reading on https://osbot.org/api/org/osbot/rs07/api/Skills.html it seems to only refer to my Player.

I don't think you can get anything other than their combat lvl, whether they're skulled etc. using the API:
 

Player player = getPlayers().closest("Adhesivebandage");

int lvl = player.getCombatLevel();



If you actually need their different skill levels (not sure why you would), you can make use of the official OSRS web API:

 

Edited by Explv
Link to comment
Share on other sites

15 hours ago, Explv said:

I don't think you can get anything other than their combat lvl, whether they're skulled etc. using the API:
 


Player player = getPlayers().closest("Adhesivebandage");

int lvl = player.getCombatLevel();



If you actually need their different skill levels (not sure why you would), you can make use of the official OSRS web API:

 

This solved my problem. Thanks for the help!

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...