Hi,
I´m using the “Character Equipment API”. I decode the json data in a php array.
The problem now is that the entry-numbers of the arrays are changing, depending if the character has empty item-slots.
Here is an example:
Character 1 has full equipment. The array for the back has the following access data:
['2']['14']['item']['id'];
Character 2 is missing some quipment in the armory (like shirt, weapon etc.). Now the array access data for the back would be:
['2']['13']['item']['id'];
So it changed the access-number since there is no array for a free item-slot. This makes it impossible to echo out the right item-slot for a character.
Could you please help me how to handle that?