Jump to content
MakeWebGames

Save New Data With Player


Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...