View Single Post
  #26  
Old 03-12-2012, 01: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
Did you even read my proposed general solution?
Yup. Did you even read mine?

Quote:
Originally Posted by salesman
The information would be stored in database tables. But whenever serverside information is going to be needed constantly by the client, it is not viable to repeatedly request that information from the server. Instead, you should cache the information in clientr.variables which are in sync with the server.
Yeah, but when you cache that information, you don't need to have clientr.variables for every little piece of information on every weapon or item. Only pieces of information which can be manipulated by the player's actions. A simple query is enough to fetch all the information associated with a record you've created in a database table, and that's way easier than trying to fetch those pieces of information one-by-one.
Reply With Quote