Raised This Month: $51 Target: $400
 12% 

Server Clean Up (1.2.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Jamster
Veteran Member
Join Date: Jun 2008
Old 01-25-2010 , 10:10   Re: Server Clean Up
Reply With Quote #11

Nope, you can get Spray Pruning for that, though I can add it if people really want.
Jamster is offline
biship
Member
Join Date: Dec 2009
Old 01-25-2010 , 10:21   Re: Server Clean Up
Reply With Quote #12

wow I have 1252 files in /left4dead2/downloads
If they are not deleted, I'd like to del old ones, by age maybe?
biship is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 01-25-2010 , 12:34   Re: Server Clean Up
Reply With Quote #13

That's what Spray Pruning does! As I said in the OP.
edit: link: http://forums.alliedmods.net/showthread.php?p=560565
Jamster is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 03-14-2010 , 12:43   Re: Server Clean Up
Reply With Quote #14

Update released, fixes a small memory leak, forgot to close a handle, oh lol, so rookie.
Jamster is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 03-14-2010 , 13:48   Re: Server Clean Up
Reply With Quote #15

This should be default in SM.
__________________


bouncer is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 03-29-2010 , 22:35   Re: Server Clean Up (1.1.2)
Reply With Quote #16

Uploaded new version, I have added support to clean up sprays too from the downloads folder, thought I might as well make it all in one now.

edit: updating on a live server may cause errors, due to the way the translations work in SM since I translate the cvars, if this happens don't panic, either wait for your server to eventually restart and it'll continue normally or update when your server is off or SM is unloaded. If you have the latest SM version though I think this isn't an issue any more.

Last edited by Jamster; 03-29-2010 at 22:41.
Jamster is offline
rambomst
SourceMod Donor
Join Date: Nov 2009
Location: Sydney, Australia
Old 04-11-2010 , 22:13   Re: Server Clean Up (1.1.2)
Reply With Quote #17

I have an addon which changes the dir where auto recorded demos are saved. It would be nice if you added a cvar which I can change to specify where the demos are saved to as the cstrike folder got to cluttered up with all the auto recorded demos so I needed to change the dir.
__________________
rambomst is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 04-11-2010 , 23:14   Re: Server Clean Up (1.1.2)
Reply With Quote #18

Can do duder, I'll code it up for the next version!
Jamster is offline
rambomst
SourceMod Donor
Join Date: Nov 2009
Location: Sydney, Australia
Old 04-11-2010 , 23:15   Re: Server Clean Up (1.1.2)
Reply With Quote #19

Awesome thanks!
__________________
rambomst is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 04-12-2010 , 13:50   Re: Server Clean Up (1.1.3)
Reply With Quote #20

Update posted! The cvar for the demo path is "sm_srvcln_demos_path". I added a few other fixes too.
Jamster is offline
Reply



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 16:36.


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