Jump to content
MakeWebGames

Recommended Posts

Posted

In the NWE system what is the best way to associate extra data fields for each player?

For instance I want a player to have field A, field B, field C and so forth and then save to it and call that up as I need it based on their in game actions.

Thanks.

Posted

I'm used to working with database columns and inserting the data to the player row.

For instance, player X I need to know how many 'cars' he has and bought. i will normally add a column "cars" for instance to track this. I will create something like a shop where he can buy 2 cars and add it to his current cars count, is what you pointed me to the same thing?

I do not want to manually go and add in the 2 cars to his account via an admin interface.

Posted

You can of course create a new table for specific needs like a shop. However for user info refrain yourself to add columns to the user table. This design has been though to avoid to have modules which must modify core tables, like in McCodes V1, V2 & redux, where each time you install a module (or nearly) you need to modify some table, and where a module could actually be incompatible with another due to the fact both would require incompatible modifications.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...