Raised This Month: $ Target: $400
 0% 

nVault - Database


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 11-10-2009 , 03:31   Re: nVault - Database
Reply With Quote #1

Your nVault folder is in:
PHP Code:
$gamedir/addons/amxmodx/data/vault 
No, you don't have to open or close the nVault at each query
Just start it in plugin_init() and close it in plugin_end() or wherever in your public.

Hope that helps
__________________
unnyquee is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 11-10-2009 , 03:52   Re: nVault - Database
Reply With Quote #2

I'm using this
http://forums.alliedmods.net/showthread.php?t=91503
__________________
xbatista is offline
Send a message via Skype™ to xbatista
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 11-10-2009 , 04:11   Re: nVault - Database
Reply With Quote #3

It is a very good way to store data (like frags, deaths, money or whatever)
But if you want to display those informations on websites, you could use DBI (from my point of view, it's very simple)

Good luck!
__________________
unnyquee is offline
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 11-10-2009 , 05:55   Re: nVault - Database
Reply With Quote #4

omg , I'm blind. I didn't find this thread. Thank you very much for the replies.
Leon M. is offline
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 11-10-2009 , 06:09   Re: nVault - Database
Reply With Quote #5

I hope that you are aware that nVault informations are stored in binary mode.. so you can't open them and read just like an ordinary document..
__________________
unnyquee is offline
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 11-10-2009 , 10:19   Re: nVault - Database
Reply With Quote #6

I know but its not necessary to read the file. I will only store some settings for the clients which are used in the game.
Leon M. 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 17:47.


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