Raised This Month: $ Target: $400
 0% 

Saving ip's into nvault


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 07-08-2012 , 01:30   Re: Saving ip's into nvault
Reply With Quote #10

Quote:
Originally Posted by Liverwiz View Post
if you load ip-PointMod and save ip-KDRATIO as the keys you're not going to get consistent results.
In fact, he's actually not going to get any results.

Quote:
P.S. There is no point in adding a "KDRATIO" or "PointMod" to your key. If you need a difference, just use different vaults. It'll make it better organized and each vault smaller. (i don't know if vaultkeys are sorted or hashed, but if they're sorted....that will in turn make it faster. If they are hashed....well done developers.
If he's extending his plugin, then having different identifiers in the key may be useful, rather than mixing all kinds of data. No, vault entries are not sorted or hashed ( if they were hashed the value would not be able to be read ).

@Santaaa hopefully you've learnt and next time will show the correct the code, not write examples on the spot, hence giving helpers the wrong information. And I'll say it once again, your going to have many problems on your server if you continue to save by IP.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
 



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 15:13.


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