View Single Post
  #18  
Old 03-10-2012, 11:43 AM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
Quote:
Originally Posted by salesman View Post
If the information is going to be accessed frequently on the clientside, you don't really have any other options.
Sure you do.

Information like what you just listed ("the item's icon file name or a description about the item for displaying in the inventory") can be stored more conveniently in database tables as well, and you can read from those tables just as easily as you can read them from player accounts.

Variables which are subject to change and specifically relevant to player accounts should be kept on players, and everything else should be stored in a database.

Last edited by Draenin; 03-10-2012 at 11:54 AM..
Reply With Quote