View Single Post
  #39  
Old 11-12-2009, 01:02 AM
firefighter firefighter is offline
Registered User
Join Date: Jan 2009
Location: Germany
Posts: 70
firefighter is on a distinguished road
Quote:
If you intend on having a lot of players on your server and keeping the database loaded into memory I would not suggest using one database for every single player. That's a lottta lotta memory usage.
Hmm I don't think that this is a problem because mostly only integer numbers (for the indices) must be held and the memory is large enough i think

Quote:
To be honest I see absolutely no benefit to using SQLite over, say, TIniFile, for mudlib storage. Loading/Saving of player data using these methods should only be done on login/logout, a file for every player, and is not slow enough to where using a system like that is necessary.
I hate storing data in files ...
Sometimes there is no other method to store data but I prefer to store it at least in a Database-NPC (I think also based on files but held in the memory). And storing the data on logout isn't good because the logout-event isn't called e.g. if the graal client crashes or not?

Quote:
Also: Unless you figured out some way to better encrypt the packets going to-from the server, say, RSA encryption, then I doubt you're protecting against calling functions/triggers through hacking means
I don't know if it makes sense

But thank you for your attention and tips
Reply With Quote