Neverwinter Nights Forum News
Posted Thursday, July 17, 2003 - 19:03 CET by Veldrin

Here are today's Neverwinter Nights forum highlights. Please take into account that these are only single parts of various threads and should not be taken out of context. Bear in mind also that the posts presented here are copied as-is, and that any bad spelling and grammar does not get corrected on our end.

Georg Zoeller, Designer

Database: The information is persistent, it will stay between reboots

Performance: Not a good idea to use frequent database calls in a pw. I would always store anything in standard local variables and dump these to the database only at predefined events (i.e. server shutdown, hourly save, etc). For PWs, I think NWNX2 is a the more perfomant solution (through it has no StoreCampaignObject). The scope of the database engine is more aimed at carrying over information between modules, small scope "persistant" modules. Maybe putting the database directory on a ramdrive would work too ....

You should store any value on the characters as standard local int and only when the party is transferring to a new module store the campaign values. Database write operations are sloow, so I would not recommend *extensive* use of it during the module, unless your server is high end.


Name:
E-mail:
Password (staff only):
Comment: