Forum Jump :

Author Message


Posts: 3
Rank:


Level: Member

Country: ee
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2015-11-05 17:37        
     
Hello, Dear Scripters.
I have an idea to make iniDB working on my server with aoutodeletion data after certain period of time.
I want to do auto delete players data, and saved vehicles after 5 days. If they didnt update its status.
It will be great, because of productivity, effectivity and server stability.
Does anyone have an idea how to do it?
ThankYou.


Author Message


Posts: 51
Rank:


Level: Member

Country: ca
Location: Victoria, British Columbia
Occupation: Canadian Forces Weapon Technician
Age:
In-game name: PiZZADOX

 
#2 Posted at 2015-11-06 00:47        
     
Sure you don't want to scrub through the files outside of ArmA instead of implementing this in game? I think it would defeat the purpose of increased performance and smaller files if you tried to implement this in game.

The only way I can think of doing this comparison is: logging a time data for the client whenever another variable is changed, and a check on server startup between the date of data entry and current server date.