• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Buying items off website and going into character bp how does that work????

jizzalot

New Member
Joined
Jun 4, 2009
Messages
3
Reaction score
0
if someone could give me a link or a programe or a detail explaination :) Thank you
 
All items that is equipped by players are stored in the table 'player_items'.

In this table it's six fields 'player_id', 'sid', 'pid', 'itemtype', 'count' and 'attributes'. The field 'player_id' is associated with the id of the player found in table 'players'.

If you want to add something to a backpack you should search for 'pid' = 3. Three is the id for backpack slot. In that row, check for 'sid'. To store something in the backpack insert a row with 'pid' as the 'sid' of the backpack. The 'sid' for the new item should be 200 if the last 'sid' entry for that player got the value 199 for example.

The rest of the fields are self explained. :)
 
Back
Top