View Single Post
Jacob
Senior Member
Join Date: Oct 2010
Old 11-09-2010 , 21:28   Re: [INC] nVault Utility
Reply With Quote #10

Quote:
Originally Posted by Exolent[jNr] View Post
Don't keep the vault open the whole map since it is a file handle and not an actual vault.
Open it each time it's being used.

Also, don't use a loop if you are just reading a value for a known key. Use nvault_get().

Yes, nvault_set() will work, but nvault_open() and nvault_util_open() are 2 different handles so you cannot mix handles between the nvault and nvault util.
Exolent, if keep the vault open the whole map,will it cause Reliable channel overflowed ?

Last edited by Jacob; 11-09-2010 at 22:54.
Jacob is offline