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

Server Clean Up (1.2.2)


Post New Thread Reply   
 
Thread Tools Display Modes
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 04-21-2013 , 03:44   Re: Server Clean Up (1.1.9)
Reply With Quote #151

Quote:
Originally Posted by Jamster View Post
Sorry for another question, are all the replays archived in bzip2 (bz2)? Or are there other files too? All the examples I've seen just show bzip2 archives.
No bzip2.

3 folders
http://i.imgur.com/MLVSzM9.png
http://i.imgur.com/EQYw0Ud.png
http://i.imgur.com/nZ2FYhn.png
__________________
cool_myll is offline
iJumPixX
Junior Member
Join Date: Feb 2013
Location: Russian Federation
Old 04-21-2013 , 06:51   Re: Server Clean Up (1.1.9)
Reply With Quote #152

Quote:
Originally Posted by cool_myll View Post
April 30 tf too on steampipe. And there is no replay folder
iJumPixX is offline
Send a message via ICQ to iJumPixX
Jamster
Veteran Member
Join Date: Jun 2008
Old 04-21-2013 , 08:44   Re: Server Clean Up (1.1.9)
Reply With Quote #153

Quote:
Originally Posted by cool_myll View Post
ah, nice, thanks, so I need to scan for .block and .dmx, thanks!

Last edited by Jamster; 04-21-2013 at 08:44.
Jamster is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 04-21-2013 , 15:05   Re: Server Clean Up (1.2.0)
Reply With Quote #154

Right, new version posted in the OP and since I've been in non-terrible programmer mode it's fully tested and working. Just had zilch time recently but I got it sorted now! Apologies. D:

New cvars:
sm_srvcln_replays (enable spray cleaning, default 0)
sm_srvcln_replays_time (time in hours, default 168 hours)
sm_srvcln_replays_archives (like with demo's you can also optionally scan for archives to delete too)

This adds in steampipe support too for sprays and it will also remove the directories if they have no sprays in any more.

EDIT: oh yeah and make sure you restart SM to load it because of the translation thing

Last edited by Jamster; 04-21-2013 at 15:08.
Jamster is offline
iJumPixX
Junior Member
Join Date: Feb 2013
Location: Russian Federation
Old 04-22-2013 , 11:47   Re: Server Clean Up (1.2.0)
Reply With Quote #155

Quote:
Originally Posted by Jamster View Post
Right, new version posted in the OP and since I've been in non-terrible programmer mode it's fully tested and working. Just had zilch time recently but I got it sorted now! Apologies. D:

New cvars:
sm_srvcln_replays (enable spray cleaning, default 0)
sm_srvcln_replays_time (time in hours, default 168 hours)
sm_srvcln_replays_archives (like with demo's you can also optionally scan for archives to delete too)

This adds in steampipe support too for sprays and it will also remove the directories if they have no sprays in any more.

EDIT: oh yeah and make sure you restart SM to load it because of the translation thing
Now works ;)
Thank you from the Russian.
iJumPixX is offline
Send a message via ICQ to iJumPixX
fluxX
SourceMod Donor
Join Date: May 2011
Location: Austria
Old 05-02-2013 , 10:28   Re: Server Clean Up (1.2.0)
Reply With Quote #156

Hi, the plugin deleted some required server files..
It's a CS:GO Server

log:
Code:
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/gamemodes_server.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/gamemodes.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/rebuy.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/splitscreen_config.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/gameinfo.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/motd.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/maplist.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/loadouts.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/stats.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/leaderboardsconfig.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/gameinfo_srgb.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/autobuy.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/missioncycle.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/medalsconfig.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/pure_server_whitelist.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/mapcycle.txt"
L 05/02/2013 - 15:19:42: [servercleanup.smx] Deleted file "/bspconvar_whitelist.txt"
Plugin or configuration fail?

Greetz
__________________
WCFAN Gameserver Community
fluxX is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 05-02-2013 , 11:11   Re: Server Clean Up (1.2.0)
Reply With Quote #157

oh fuckkk, apologies about that! D:


I'll look into it asap
Jamster is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 05-02-2013 , 11:14   Re: Server Clean Up (1.2.0)
Reply With Quote #158

oh, is your round backup cvar empty? (mp_backup_round_file)

if so that could be it, damn, I wonder what I can do to combat that, maybe just refuse to clean if it is empty i.e. so it doesn't do that, haha

edit: unless if it's BLANK it uses "backup" by default, if so I can change that

Last edited by Jamster; 05-02-2013 at 11:15.
Jamster is offline
fluxX
SourceMod Donor
Join Date: May 2011
Location: Austria
Old 05-02-2013 , 11:16   Re: Server Clean Up (1.2.0)
Reply With Quote #159

Yep the round backup cvar is empty^^
No problem.. got a backup

Greetz
__________________
WCFAN Gameserver Community
fluxX is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 05-02-2013 , 11:31   Re: Server Clean Up (1.2.0)
Reply With Quote #160

Cool, I will add a check in for that, thanks for letting me know!
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 14:36.


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