Raised This Month: $51 Target: $400
 12% 

[INC] nVault Utility


Post New Thread Reply   
 
Thread Tools Display Modes
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-10-2010 , 00:02   Re: [INC] nVault Utility
Reply With Quote #11

Quote:
Originally Posted by Jacob View Post
Exolent, if keep the vault open the whole map,will it cause Reliable channel overflowed ?
No.
__________________
Bugsy is offline
Jacob
Senior Member
Join Date: Oct 2010
Old 11-10-2010 , 04:34   Re: [INC] nVault Utility
Reply With Quote #12

Quote:
Originally Posted by Bugsy View Post
No.
in what case,using nvault will cause Reliable channel overflowed,is there any example?
Jacob is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-10-2010 , 13:10   Re: [INC] nVault Utility
Reply With Quote #13

Quote:
Originally Posted by Jacob View Post
in what case,using nvault will cause Reliable channel overflowed,is there any example?
Why do you assume nVault is causing this?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Jacob
Senior Member
Join Date: Oct 2010
Old 11-10-2010 , 19:36   Re: [INC] nVault Utility
Reply With Quote #14

Quote:
Originally Posted by Exolent[jNr] View Post
Why do you assume nVault is causing this?
Because if i enabled a nvault plugin,sometimes i was kicked for the reason Reliable channel overflowed when changing map.while i disable this plugin,i wasn't kicked any more.
Jacob is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-22-2011 , 17:47   Re: [INC] nVault Utility
Reply With Quote #15

Wow Bugsy this is amazing its exactly what I need.

When using nvault_util_readall() , what would you say is the best way to "get" all of the values together so I can sort them and pick out certain ones? I was going to parse the result value and store each one of my new values into a few different arrays but I don't think I can create an array big enough - If every player who joins the server creates an nvault entry, well eventually the number of entries will become bigger than the array size wouldn't it? Hopefully what I'm trying to say makes sense. :S
Can you help me at all?
Thanks.
hornet is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-22-2011 , 23:24   Re: [INC] nVault Utility
Reply With Quote #16

Quote:
Originally Posted by hornet View Post
Wow Bugsy this is amazing its exactly what I need.

When using nvault_util_readall() , what would you say is the best way to "get" all of the values together so I can sort them and pick out certain ones? I was going to parse the result value and store each one of my new values into a few different arrays but I don't think I can create an array big enough - If every player who joins the server creates an nvault entry, well eventually the number of entries will become bigger than the array size wouldn't it? Hopefully what I'm trying to say makes sense. :S
Can you help me at all?
Thanks.
Use dynamic arrays. See cellarray.inc
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
modernwarfare
Senior Member
Join Date: Aug 2011
Location: sweden
Old 09-23-2011 , 03:35   Re: [INC] nVault Utility
Reply With Quote #17

ok thx

man but how would i add ranking system to my xp mod

using this (i use nvault)
__________________
Im supporting/coding XP Mod Plugin
Free Palestine
R.I.P. The 2967 American people that lost their lives 9/11 and R.I.P.
The 48,644 Afghan and 1,690,903 Iraqi people that paid the ultimate price for a crime they did not commit.



modernwarfare is offline
Send a message via MSN to modernwarfare Send a message via Skype™ to modernwarfare
didoWEE
Senior Member
Join Date: Oct 2012
Location: Bulgaria
Old 02-02-2013 , 14:34   Re: [INC] nVault Utility
Reply With Quote #18

Great job Bugsy

P.S. Why don't you add example for top10 or top15, it will be very useful. I hope you will do it.

Last edited by didoWEE; 02-02-2013 at 14:37.
didoWEE is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 02-03-2013 , 17:13   Re: [INC] nVault Utility
Reply With Quote #19

Quote:
Originally Posted by didoWEE View Post
Great job Bugsy

P.S. Why don't you add example for top10 or top15, it will be very useful. I hope you will do it.
https://forums.alliedmods.net/showpo...11&postcount=6
guipatinador is offline
lqlqlq
Senior Member
Join Date: Jan 2008
Old 04-15-2014 , 14:01   Re: [INC] nVault Utility
Reply With Quote #20

How to grab current position of entry by name ?
Code:
public CmdRank(id) {
new hVault1 = nvault_util_open( "hnsxp" );

new name[32]
new iPos1;
new Giverank[32]
new iTimeStamp
get_user_name(id,name,31)
nvault_util_read( hVault1 , iPos1 , name , 31 , Giverank , 31 , iTimeStamp )
new iCount = nvault_util_count( hVault1 );
client_print(id,print_chat,"[Blockmaker] %s, Your rank is: %i of %i",name, Giverank[0], iCount)
nvault_util_close( hVault1 );
}
I have this, but not working...
lqlqlq 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 02:21.


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