View Single Post
  #10  
Old 06-04-2008, 07:57 PM
Dan Dan is offline
Daniel
Join Date: Oct 2007
Posts: 383
Dan is an unknown quantity at this point
Send a message via MSN to Dan
Quote:
Originally Posted by Twinny View Post
My question concerns how to make the most efficent item system possible. Should I
  • Keep all these individual files and load from them when required? (harddrive access, lots of little files)
  • Create one large online cache file which can then be parsed for the item details (harddrive again, read time)
  • Load each file into a kind of object database so scripts can access the data directly (memory usage, no harddrive)
  • Make each item into a wnpc (soo many damn weapons)
That's what I did before for them. All that happened was having over 200mb of textfiles for the databases (npcItemDB#.txt). It takes too much time to start up the server then (Stefan said).
__________________
Reply With Quote