Raised This Month: $ Target: $400
 0% 

Removing vault data with nVault


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
slurpycof
Senior Member
Join Date: Nov 2004
Old 04-22-2006 , 15:54  
Reply With Quote #5

There 3 ways I can think to do what you are wanting to do.

1. If you can get nvault_delete function added

2. Log the person steam ID with const value of gaben and then check that value to set their global. When you want to remove them, set the value to something else. This will add more overhead though.

3. Read the timestamp for a certain entry and prune with that as your window. There is still a slight chance you could remove someone you didn't want to that was gabened at the exact same time. This may be the best option for actually removing the entry from the vault.

Code:
new temp[9] new delete_time, start_time, end_time nvault_lookup(vault , arg , temp , 8 , timestamp) delete_time = timestamp start_time = delete_time - 1 end_time = delete_time +1 nvault_prune (vault , start , end ) nvault_close(vault )

It's not all of the code, but the idea is there and nice and bunched up for you
slurpycof 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 05:00.


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