Jump to content
  • 0
Sign in to follow this  
wishy

API player lookup

Question

when looking up a player, you get a bunch of data returned, which most of it is obvious.

 

But I can't seem to find the link between the values from the player equipped and what the actual items are.
 

['Equipment']['0'] => 17

['Equipment']['1'] => 8

...

['Equipment']['4'] => 12

 

Are examples of responses, but how do I connect the value 17 to an item for example, so I can get more data from item 17.

Problem is, when looking up item info, I don't see a value containing 17.

 

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 1
3 minutes ago, wishy said:

when looking up a player, you get a bunch of data returned, which most of it is obvious.

 

But I can't seem to find the link between the values from the player equipped and what the actual items are.
 


['Equipment']['0'] => 17

['Equipment']['1'] => 8

...

['Equipment']['4'] => 12

 

Are examples of responses, but how do I connect the value 17 to an item for example, so I can get more data from item 17.

Problem is, when looking up item info, I don't see a value containing 17.

 

 

It refers to the bagslot.

17 for example is the 17th slot in the player's inventory (counting from 0)

Share this post


Link to post
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
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...