Im using Smartfoxserver pro As2, Avatar chat.
So I was wondering how we could make 'items and inventory'
Items for example- a hat, shirt, shoes. So my avatar can wear them
Inventory for example- When someone buys something the items will be in their inventory..
Can somebody help me??? Thanks
How to make items?
-
- Posts: 2
- Joined: 22 Jan 2012, 09:29
Hi.
You have to use a database to store the inventory and you can use UserVariables to store the clothes a player is currently wearing. For the buy/selling system you can use server-side extensions or some other technology that enabes you to communicate with the database (like for example PHP).
Regarding how to make the system itself, I'm sorry but that's out of the scope of these forums and so we can't help you much further, as that's a general game development question. I suggest you to ask Google about that.
For more information about how the server works and its features, I suggest you to start by reading the docs at http://www.smartfoxserver.com/docs
You have to use a database to store the inventory and you can use UserVariables to store the clothes a player is currently wearing. For the buy/selling system you can use server-side extensions or some other technology that enabes you to communicate with the database (like for example PHP).
Regarding how to make the system itself, I'm sorry but that's out of the scope of these forums and so we can't help you much further, as that's a general game development question. I suggest you to ask Google about that.
For more information about how the server works and its features, I suggest you to start by reading the docs at http://www.smartfoxserver.com/docs
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 22 guests