AdhesiveBandage Posted July 14, 2018 Posted July 14, 2018 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.
Explv Posted July 14, 2018 Posted July 14, 2018 (edited) 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 July 14, 2018 by Explv
AdhesiveBandage Posted July 14, 2018 Author Posted July 14, 2018 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! 1