How to Create A MySQL Game Inventory
Posted by: Ricky Myre
Date: October 20, 2011 09:12AM

I have been trying to figure out how to create a character inventory using my MySQL. I would like many different users to have a variable number of items, and a quantity of each.

How would I make a database that says:
Player ID 1 owns:
2x Object A
4x Object C
1x Object D

Player ID 2 owns:
3x Object A
1x Object B
1x Object C
2x Object D
7x Object E

The players and the objects they own would be on one table, and the infomation about the object would be on the other.

I'm trying to describe this clearly, but if it cam of as unclear, please explain to me what to elaborae on.

Options: ReplyQuote


Subject
Written By
Posted
How to Create A MySQL Game Inventory
October 20, 2011 09:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.