Raised This Month: $ Target: $400
 0% 

nvault limit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nyuszy
Senior Member
Join Date: Apr 2009
Old 04-16-2011 , 18:20   nvault limit
Reply With Quote #1

is there a size limit for nvault?
Nyuszy is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-17-2011 , 10:15   Re: nvault limit
Reply With Quote #2

Code:
/* nVault File Format 

VAULT_MAGIC (uint32) 
VAULT_VERSION (uint16) 
ENTRIES (int32) 
[ 
   TimeStamp (int32) 
   KeyLen (uint8) 
   ValLen (uint16) 
   KeyData ([]) 
   ValData ([]) 
]
The data-type that reads the number of entries in a given nvault file is an int32 so 2,147,483,647. I don't know if AMX-X or HL will give you a problem if you try to open a giganticly sized file, though.
__________________

Last edited by Bugsy; 04-17-2011 at 10:21.
Bugsy is offline
Nyuszy
Senior Member
Join Date: Apr 2009
Old 04-17-2011 , 11:45   Re: nvault limit
Reply With Quote #3

so can i use nvault for saving bans (max ~5000 entry i think...) or better if i use sqlite (sqlvault)?
Nyuszy is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-17-2011 , 14:23   Re: nvault limit
Reply With Quote #4

Sure, nvault will work for ~5000.
__________________
Bugsy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode