Raised This Month: $ Target: $400
 0% 

Saving ip's into nvault


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 07-08-2012 , 00:36   Re: Saving ip's into nvault
Reply With Quote #9

if you load ip-PointMod and save ip-KDRATIO as the keys you're not going to get consistent results. Just in case you didn't know that....
Also, not functionally different, but use formatex, its faster. And, again, use strtok instead of replace and parse. It'll be faster.

and....
Code:
ColorChat(0, GREY, "%s ^4%s ^1has a ratio of: ^4%.2f", Prefix, name, Ratio);

PHP Code:
ColorChat(0GREY"%s ^4%s ^1has a ration of: ^4%f"PrefixnameRatio
%f displays a float value. %.2f displays "%.2f". This will also cause the program to not have proper displays. Because Ratio is trying to display to nothing the engine will ignore this call and continue execution.

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.
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 07-08-2012 at 00:50.
Liverwiz 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