AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Clean UP nvault (https://forums.alliedmods.net/showthread.php?t=232124)

devilicioux 12-25-2013 20:48

Clean UP nvault
 
Any Possible or Good Way to Clean UP nvault Entries like those who were last accessed/touched/loaded a month Ago or something ?

wickedd 12-25-2013 23:31

Re: Clean UP nvault
 
Search Before Posting

devilicioux 12-26-2013 18:11

Re: Clean UP nvault
 
Sorry if that appears rude..

Do i look like joined AM yesterday ?


https://forums.alliedmods.net/attach...1&d=1388099332

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.

wickedd 12-26-2013 18:41

Re: Clean UP nvault
 
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.

devilicioux 12-26-2013 19:51

Re: Clean UP nvault
 
Quote:

Originally Posted by wickedd (Post 2076791)
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.

:nono:

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

Quote:

Originally Posted by wickedd (Post 2076433)

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 (Post 2076406)
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.

wickedd 12-26-2013 20:27

Re: Clean UP nvault
 
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 (Post 2076433)


devilicioux 12-26-2013 21:15

Re: Clean UP nvault
 
Quote:

Originally Posted by wickedd (Post 2076824)
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 ?

http://cdn.memegenerator.net/instanc...x/43904397.jpg

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 :D

Happy Bumping :P

ConnorMcLeod 12-27-2013 05:38

Re: Clean UP nvault
 
He opened nvault.inc, and then there was light.

pokemonmaster 12-27-2013 09:08

Re: Clean UP nvault
 
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); 


devilicioux 12-27-2013 18:10

Re: Clean UP nvault
 
Quote:

Originally Posted by ConnorMcLeod (Post 2076960)
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 :mrgreen:

Quote:

Originally Posted by pokemonmaster (Post 2077009)
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 :)


All times are GMT -4. The time now is 20:34.

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