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

[ANY] Server Crontab


Post New Thread Reply   
 
Thread Tools Display Modes
jeon
Junior Member
Join Date: Aug 2010
Old 03-21-2012 , 07:53   Re: Server Crontab
Reply With Quote #141

HOW DO I MAKE IT

FOR EVERY SECOND
jeon is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 03-21-2012 , 08:17   Re: Server Crontab
Reply With Quote #142

You should check your caps lock.

The smallest amount is minutes. So without editing there is no way to do something every second.
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 06-01-2012 , 01:44   Re: Server Crontab
Reply With Quote #143

I get the following error scrolling through all of my logs:

L 05/31/2012 - 181:23: [SM] Native "CloseHandle" reported: Handle c300bf is invalid (error 3)
L 05/31/2012 - 181:23: [SM] Displaying call stack trace for plugin "sc_module.smx":
L 05/31/2012 - 181:23: [SM] [0] Line 62, sc_module.sp::OnPluginEnd()

Does anyone know how to fix this?
DeathMaster is offline
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 06-01-2012 , 02:11   Re: Server Crontab
Reply With Quote #144

Quote:
Originally Posted by DeathMaster View Post
I get the following error scrolling through all of my logs:

L 05/31/2012 - 181:23: [SM] Native "CloseHandle" reported: Handle c300bf is invalid (error 3)
L 05/31/2012 - 181:23: [SM] Displaying call stack trace for plugin "sc_module.smx":
L 05/31/2012 - 181:23: [SM] [0] Line 62, sc_module.sp::OnPluginEnd()

Does anyone know how to fix this?
Most likely, the problem lies on lines 61 and 62 of sc_module.sp. Line 61 is KillTimer(g_hJobsTimer), and the next one is CloseHandle(g_hJobsTimer). KillTimer performs the job of CloseHandle, but with extra options, so calling CloseHandle after KillTimer is redundant, and would make the handle invalid in the CloseHandle call.

I've taken out the line and compiled it. Give it a shot.
Attached Files
File Type: sp Get Plugin or Get Source (sc_module.sp - 107 views - 10.4 KB)
File Type: smx sc_module.smx (6.0 KB, 105 views)
__________________
http://y4kstudios.com
Is that loud enough? Oh, while I have you, check out Viper.
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
dubbeh
Senior Member
Join Date: Jul 2007
Old 06-25-2012 , 02:16   Re: Server Crontab
Reply With Quote #145

Not been around these woods for a long time, but going to try and fix all my current plugins slowly. and iron out any bugs that currently exist.

Put together a few fixes and added a new cVar to disable server log output.

v1.0.1.1
- Fixed the server error message when unloading the plugin, with invalid handles from KillTimer
- Enabled a console var to enable/disable job server logging output - This can be edited inside sc_module.cfg
- Small source change for the latest version of sourcemod

Next tasks will be to update the radio plugin and possibly the afk manager

Have fun dubbeh

Quick edit..
Forgot to mention.
If anyone has any bugs in any of my plugins, can you please send me a pm with the sourcemod error output or how to reproduce the problem on a live server.

Thanks
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 06-25-2012 at 02:18.
dubbeh is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 06-25-2012 , 08:13   Re: Server Crontab
Reply With Quote #146

Welcome back dubbeh, almost 4 years since your last post! Ill test out the contrab mod soon
Nolongerinthegame is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 07-05-2012 , 04:30   Re: Server Crontab
Reply With Quote #147

Thanks nelioneil, going to update all my plugins more frequently now ;). Next job is the Match Server Manager to work with the latest CS:S.

Just released a small update today, that fixes the missing timer for the sc_module config and changed to a global versioning.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-06-2012 , 00:53   Re: Server Crontab
Reply With Quote #148

yep - gonna install this on my servers now, thank you
__________________
View my Plugins | Donate
TnTSCS is offline
paterinvictus
Senior Member
Join Date: Aug 2012
Old 09-16-2012 , 10:53   Re: Server Crontab
Reply With Quote #149

Great plugin, I just need a quick explanation of why there is a Start Day/End Day and Start Hour/End hour?

In the examples Ive seen, the start hour and end hour are usually the same. Could I not just leave out the Start hour Option and just put ? ? ? 5 30 1 for example?
paterinvictus is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 09-16-2012 , 11:09   Re: Server Crontab
Reply With Quote #150

Quote:
Originally Posted by paterinvictus View Post
Great plugin, I just need a quick explanation of why there is a Start Day/End Day and Start Hour/End hour?

In the examples Ive seen, the start hour and end hour are usually the same. Could I not just leave out the Start hour Option and just put ? ? ? 5 30 1 for example?
Say if you want to print a messaged every 30 minutes, between the hours of 7am and 7 pm you could or from tuesday to saturday, you could.
Mitchell 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 08:54.


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