Forum PayVault Adding to Virtual Items Dynamically

Discussion and help relating to the PlayerIO payment solution, PayVault.

Adding to Virtual Items Dynamically

Postby ZoopTEK » July 22nd, 2013, 10:15 pm

Again, another clarification post:

It appears that virtual items are stored in BigDB (which is awesome!). This means I could potentially add more items, programmatically, to that database through BigDB. Is this correct?
ZoopTEK
 
Posts: 6
Joined: July 18th, 2013, 2:26 am

Re: Adding to Virtual Items Dynamically

Postby Henrik » July 23rd, 2013, 12:13 am

Not really,

PayVault Items look a lot like BigDB Database Objects, but the player's inventories are not stored in BigDB. To modify a player's inventory there are PayVault method for giving and consuming items.

I'm guessing you're trying to figure out how to do player trades, and in that case you will have to have some server-side code that picks a specific item from one player's inventory, consumes it, and then gives an identical item to the other player:

http://playerio.com/documentation/refer ... y.payvault
Henrik
.IO
 
Posts: 1832
Joined: January 4th, 2010, 1:53 pm


Return to PayVault



cron