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 08-15-2010 , 08:07   Re: Server Clean Up (1.1.6)
Reply With Quote #41

Ah, sorry I forgot to update about that! Yes, I definitely need to create a module to read file timestamps but I'm a bit stumped atm plus I've been busy work wise, apologies. I've posted in the AMXX bugs about requesting a feature but I realize that AMXX doesn't get much attention any more for requests.
Jamster is offline
rambomst
SourceMod Donor
Join Date: Nov 2009
Location: Sydney, Australia
Old 09-30-2010 , 09:05   Re: Server Clean Up (1.1.6)
Reply With Quote #42

Could you get this to work with the demos that are automatically generated by GameTech Warmod. Thanks.
__________________
rambomst is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 10-02-2010 , 15:37   Re: Server Clean Up (1.1.6)
Reply With Quote #43

Sure, I'll sort something out, I'm on coding light duties atm so it might be a bit.

edit: hmm, can I download the source code for this? Obviously not, poop. Can you give me an example of how the demo's are laid out in warmod?

Last edited by Jamster; 10-02-2010 at 16:06.
Jamster is offline
rambomst
SourceMod Donor
Join Date: Nov 2009
Location: Sydney, Australia
Old 10-02-2010 , 19:45   Re: Server Clean Up (1.1.6)
Reply With Quote #44

Source code: http://forums.alliedmods.net/showthread.php?p=532260
Demos:
Code:
2010-09-21-0957-de_dust2.dem
2010-09-21-1038-de_nuke.dem
2010-09-21-1116-de_tuscan.dem
2010-09-21-1205-de_inferno.dem
__________________
rambomst is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 10-02-2010 , 20:03   Re: Server Clean Up (1.1.6)
Reply With Quote #45

Ah, excellent, much thanks. I'll sort something out soon!
Jamster is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 10-03-2010 , 08:58   Re: Server Clean Up (1.1.6)
Reply With Quote #46

Right my good man, this should work, tell me either way so I can fix it or post it as an update, thanks!
Attached Files
File Type: sp Get Plugin or Get Source (servercleanup.sp - 337 views - 8.6 KB)
Jamster is offline
rambomst
SourceMod Donor
Join Date: Nov 2009
Location: Sydney, Australia
Old 10-03-2010 , 09:02   Re: Server Clean Up (1.1.6)
Reply With Quote #47

I just tested it and it seems to work fine. It cleaned up all the old demos, Nice work.
__________________
rambomst is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 10-03-2010 , 10:12   Re: Server Clean Up (1.1.6)
Reply With Quote #48

Excellent, I'll post the update now, thanks for testing. :]
Jamster is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 11-19-2010 , 05:07   Re: Server Clean Up (1.1.7)
Reply With Quote #49

some errors detected...

(can you suppress errors if plugin try to clean blocked logs?)

Quote:
Originally Posted by servercleanup.smx
L 11/18/2010 - 00:46:10: SourceMod error session started
L 11/18/2010 - 00:46:10: Info (map "ctf_2fort") (file "errors_20101118.log")
L 11/18/2010 - 00:46:10: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/18/2010 - 01:18:10: Error log file session closed.
L 11/18/2010 - 01:18:12: SourceMod error session started
L 11/18/2010 - 01:18:12: Info (map "cp_granary") (file "errors_20101118.log")
L 11/18/2010 - 01:18:12: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/18/2010 - 12:12:21: Error log file session closed.
L 11/18/2010 - 12:12:23: SourceMod error session started
L 11/18/2010 - 12:12:23: Info (map "ctf_turbine") (file "errors_20101118.log")
L 11/18/2010 - 12:12:23: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/18/2010 - 17:11:13: Error log file session closed.
L 11/18/2010 - 17:11:15: SourceMod error session started
L 11/18/2010 - 17:11:15: Info (map "cp_coldfront") (file "errors_20101118.log")
L 11/18/2010 - 17:11:15: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/18/2010 - 215:52: Error log file session closed.
L 11/18/2010 - 215:54: SourceMod error session started
L 11/18/2010 - 215:54: Info (map "pl_badwater") (file "errors_20101118.log")
L 11/18/2010 - 215:54: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/18/2010 - 22:09:11: Error log file session closed.
L 11/18/2010 - 22:09:13: SourceMod error session started
L 11/18/2010 - 22:09:13: Info (map "cp_dustbowl") (file "errors_20101118.log")
L 11/18/2010 - 22:09:13: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/18/2010 - 23:13:12: Error log file session closed.
L 11/18/2010 - 23:13:13: SourceMod error session started
L 11/18/2010 - 23:13:13: Info (map "ctf_mach4") (file "errors_20101118.log")
L 11/18/2010 - 23:13:13: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/19/2010 - 00:132: Error log file session closed.
L 11/19/2010 - 00:134: SourceMod error session started
L 11/19/2010 - 00:134: Info (map "cp_granary") (file "errors_20101119.log")
L 11/19/2010 - 00:134: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/19/2010 - 00:41:00: Error log file session closed.
L 11/19/2010 - 00:41:01: SourceMod error session started
L 11/19/2010 - 00:41:01: Info (map "ctf_2fort") (file "errors_20101119.log")
L 11/19/2010 - 00:41:01: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/19/2010 - 01:12:15: Error log file session closed.
L 11/19/2010 - 01:12:17: SourceMod error session started
L 11/19/2010 - 01:12:17: Info (map "ctf_mach4") (file "errors_20101119.log")
L 11/19/2010 - 01:12:17: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
L 11/19/2010 - 01:43:23: Error log file session closed.
L 11/19/2010 - 01:43:25: SourceMod error session started
L 11/19/2010 - 01:43:25: Info (map "pl_goldrush") (file "errors_20101119.log")
L 11/19/2010 - 01:43:25: [servercleanup.smx] Unable to delete file "logs/l1116005.log", please check file permissions.
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Jamster
Veteran Member
Join Date: Jun 2008
Old 11-19-2010 , 05:32   Re: Server Clean Up (1.1.7)
Reply With Quote #50

That's odd, can you post your serverclean config? I swear I set the minimum cvar time to 24hrs so this wouldn't be an issue.

Is there something about your setup I should know about? Seems very strange. :{

edit: nevermind, I'm dumb, the file l1116005.log must be corrupt or something, I'd try and sort that out if I were you, shouldn't be doing that

Last edited by Jamster; 11-19-2010 at 05:34.
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 11:28.


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