05.03.2012, 18:24
I came up with an idea of automatically removing inactive accounts from the scriptfiles accounts folder, for example automatically delete the file if they are inactive for example 2 weeks.
Now that I wonder, is it actually possible to script? I am using an y_ini filesaving in my gamemode, and I have no idea if it would be possible, the reason I want to do this is to prevent huge sizes and keep a track who actually plays.
If it isn't possible to actually automatically remove the file, would it then be possible to add something what tells somewhere that account x has been inactive for x days?
- Coffeemonster.
Now that I wonder, is it actually possible to script? I am using an y_ini filesaving in my gamemode, and I have no idea if it would be possible, the reason I want to do this is to prevent huge sizes and keep a track who actually plays.
If it isn't possible to actually automatically remove the file, would it then be possible to add something what tells somewhere that account x has been inactive for x days?
- Coffeemonster.


?
). You then need to open, check and close each file separately (can run into 1000+ accounts) which will lag your server for sure. MySQL is built to quickly do this kind of a stuff.
