Raised This Month: $ Target: $400
 0% 

Clean UP nvault


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 12-25-2013 , 20:48   Clean UP nvault
Reply With Quote #1

Any Possible or Good Way to Clean UP nvault Entries like those who were last accessed/touched/loaded a month Ago or something ?
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 12-25-2013 , 23:31   Re: Clean UP nvault
Reply With Quote #2

Search Before Posting
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 12-26-2013 , 18:11   Re: Clean UP nvault
Reply With Quote #3

Sorry if that appears rude..

Do i look like joined AM yesterday ?




I Did Search first .. Started from the main Nvault thread ..didnt find anything Good and i am not a pro pawn scripter so thought of posting and asking for help..
By the way why do you comment that rude always ?
Commenting Search First, Did you search ? Did you do this ? Did you do that ?
Its like Bumping thread for no point. Not willing to help you can simply skip the thread.
Rather you could have suggested me what to search and how to (assuming some thread related to this exists and i didnt find that when i searched) .. That will rather UP your Karma.
Dont take it as a insult or rude kinda behaviour .. Just suggesting something i should have done.. placing myself on your place.
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then

Last edited by devilicioux; 12-26-2013 at 18:28. Reason: off topic.
devilicioux is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 12-26-2013 , 18:41   Re: Clean UP nvault
Reply With Quote #4

Why should I take my time and post links for you? When you didn't take the time to explain what it is you want. "Clean up Nvault" what the hell is that? What does that even mean?

See how you took your time and put some thought into making your last post, that's what you should do when making a request.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 12-26-2013 , 19:51   Re: Clean UP nvault
Reply With Quote #5

Quote:
Originally Posted by wickedd View Post
Why should I take my time and post links for you? When you didn't take the time to explain what it is you want. "Clean up Nvault" what the hell is that? What does that even mean?

See how you took your time and put some thought into making your last post, that's what you should do when making a request.


See First thing.. i am not here to start a war.. and You did take time to post

Quote:
Originally Posted by wickedd View Post
Should have even saved those seconds.

Clean Up Nvault .. What could that possibly mean ? Should have put some thought in that .. It was easy and self explanatory "Nvault DATABASE" .. Thats the only thing that can mean and you are pro enough to understand that.

Secondly .. Even If the title was appropriate .. Description was good too..

Quote:
Originally Posted by devilicioux View Post
Any Possible or Good Way to Clean UP nvault Entries
By the way .. How about we stop all this and wait for someone to come up with ON-TOPIC reply.
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 12-26-2013 , 20:27   Re: Clean UP nvault
Reply With Quote #6

Haha Smart guy, show a function in nvault called or named "clean up". So, once again we have no way of knowing what you really want or mean. Sure, we can guess or speculate but why should we, it's Your ****ing request. If you can't explain it, don't request it.

So I repeat.

Quote:
Originally Posted by wickedd View Post
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 12-26-2013 , 21:15   Re: Clean UP nvault
Reply With Quote #7

Quote:
Originally Posted by wickedd View Post
Haha Smart guy, show a function in nvault called or named "clean up". So, once again we have no way of knowing what you really want or mean. Sure, we can guess or speculate but why should we, it's Your ****ing request. If you can't explain it, don't request it.

So I repeat.
lol ?



Code:
show a function in nvault called or named "clean up"
xD Who said its a function in nvault ? Read the description again xD

Dude Better Go get some sleep..

Its like you are trying to prove something by commenting "Anything On Anything" =D

and Thank You For keeping this thread UP

Happy Bumping
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-27-2013 , 05:38   Re: Clean UP nvault
Reply With Quote #8

He opened nvault.inc, and then there was light.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 12-27-2013 , 09:08   Re: Clean UP nvault
Reply With Quote #9

PHP Code:
/* Prunes the vault for entries that are within the given timestamps.
 * This will not erase values set with pset
 */
native nvault_prune(vaultstartend); 
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 12-27-2013 , 18:10   Re: Clean UP nvault
Reply With Quote #10

Quote:
Originally Posted by ConnorMcLeod View Post
He opened nvault.inc, and then there was light.
LoL For Newbies Exploring things .. There is a light on every page they open .. Keep Calm and Enjoy the conversation

Quote:
Originally Posted by pokemonmaster View Post
PHP Code:
/* Prunes the vault for entries that are within the given timestamps.
 * This will not erase values set with pset
 */
native nvault_prune(vaultstartend); 
Thank you .. 2 small doubts .. Does the timestamps gets updated everytime they are accessed ? Which means if i want to remove 30 days old "UNACCESSED or UNTOUCHED" entries (Player doesnt Join the server for last 30 days)

this should work ?

Quote:
nvault_prune( vault_name,0,get_systime() - (30*86400));
Also How to clean up those entries who were accessed 30 days ago with certain condition checks .. (Like Player level Less than 2 or something like that )

Thank you all for supporting and helping Newbies around
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then

Last edited by devilicioux; 12-27-2013 at 18:21.
devilicioux is offline
Reply


Thread Tools
Display Modes

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:34.


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