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

Server Autorestart


Post New Thread Reply   
 
Thread Tools Display Modes
Boboga
New Member
Join Date: Aug 2009
Old 01-03-2010 , 03:50   Re: Server Autorestart
Reply With Quote #41

This may sound weird, but since 01-01-2010 this plugin doesn't seem to work anymore? Last time my server restarted is 31-12-2009.

More people with the same problem?
Boboga is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 01-03-2010 , 04:18   Re: Server Autorestart
Reply With Quote #42

Looks like the math used can't handle a year change.

Delete this file: configs/autorestart.txt

Should work again.

Edit:

Actually it doesn't seem to mess with the actual year, but day of the year. I dunno if that would fix it, but it's a start. lol.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 01-03-2010 at 05:03.
Antithasys is offline
Xaphan
SourceMod Donor
Join Date: Jun 2008
Old 01-03-2010 , 04:20   Re: Server Autorestart
Reply With Quote #43

Same with mine, And I know it was empty this morning, so it had time to restart.
L 12/31/2009 - 23:08:28: Server restarted.
It's now 01/03/2010
-- Edit
I'll try that Antithasys, Thanks
__________________

Last edited by Xaphan; 01-03-2010 at 04:22.
Xaphan is offline
Boboga
New Member
Join Date: Aug 2009
Old 01-03-2010 , 04:26   Re: Server Autorestart
Reply With Quote #44

Thanks!

Just removed the file, will let it know if it works.
Boboga is offline
Blakeocity
Senior Member
Join Date: Nov 2009
Old 01-03-2010 , 12:29   Re: Server Autorestart
Reply With Quote #45

Keep us posted if it does or not.

I might try it now actually.

edit: Well it worked once..Created my .txt file with nothing in it but 004.
Now I can't get it to work again.

Last edited by Blakeocity; 01-03-2010 at 13:46.
Blakeocity is offline
Boboga
New Member
Join Date: Aug 2009
Old 01-04-2010 , 00:50   Re: Server Autorestart
Reply With Quote #46

Worked fine here also!
Boboga is offline
G@ngst@r
Member
Join Date: Dec 2009
Old 01-04-2010 , 05:27   Re: Server Autorestart
Reply With Quote #47

I think its better to hook OnMapChange and OnClientDisconnect instead of timers, because they will lag server.
G@ngst@r is offline
LordVader!
Member
Join Date: Nov 2009
Old 01-11-2010 , 22:21   Re: Server Autorestart
Reply With Quote #48

Does deleting the file fix the plugin?
LordVader! is offline
Savka
New Member
Join Date: Dec 2006
Old 09-13-2010 , 08:31   Re: Server Autorestart
Reply With Quote #49

Is there still any further support for this plugin? It does not seem to be auto restarting my server at 5am.

I havent changed any settings. Saved the plugin to the plugins folder of sourcemod. Checked the active running plugin in the server, and it is listed. In my server.cfg I have 'sm_autorestart 1' and 'sm_autorestart_time 0500'. But when I look at the logs it has yet to have been restarted from the plugin. My server is all up to date, and running latest versions of plugins and mods. The server is on a linux host, with watchdog and auto restarts upon closing. Server is set to have two bots, and to kick them upon player join.

The 'autorestart.txt' in the configs folder contains the following:

256

And that is it.

Last edited by Savka; 09-13-2010 at 08:35.
Savka is offline
gamingaddict
New Member
Join Date: Jun 2011
Old 09-15-2011 , 10:46   Re: Server Autorestart
Reply With Quote #50

does it still works ?
i installed it and it is listed withen the running plugins
but does it actaully works ?
any support from the author
really helpful plugin idea .

Thanks
gamingaddict 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 18:22.


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