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

AutoRestart


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SilentLikeSilence
Senior Member
Join Date: Jul 2009
Plugin ID:
1113
Plugin Version:
1.0.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Restarts server at 5 am (servertime)
    Old 08-21-2009 , 05:45   AutoRestart
    Reply With Quote #1

    AutoRestart 1.0.0

    Description: Plugin restarts server at 5 am (servertime) everyday.

    Installation:
    - Put the autorestart.smx to mod/addons/sourcemod/plugins folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (autorestart.sp - 3204 views - 712 Bytes)

    Last edited by SilentLikeSilence; 08-21-2009 at 14:30.
    SilentLikeSilence is offline
    myzombie
    BANNED
    Join Date: Apr 2009
    Old 08-21-2009 , 09:00   Re: AutoRestart
    Reply With Quote #2

    Spooky, I was just starting to look for a plugin and found this which coincidentally released today!

    One question, if I have a batch file that monitors CSS process and auto restarts CSS when it crashes.
    What's going to happen if this plugin restarts the server when the process is being watched?

    http://www.srcds.com/db/engine.php?s...&id=1097362093
    myzombie is offline
    shustas
    SourceMod Donor
    Join Date: May 2007
    Location: London
    Old 08-21-2009 , 10:09   Re: AutoRestart
    Reply With Quote #3

    It will do its job and will restart the server. Now there is exactly the same plugin already aprroved, except no warnings but it restarts server if its empty. Does your plugin restarts no matter if empty or not? Cos I would use yours then. And 1 suggestion, why not make a countdown like 10 or 5 secs to restart
    __________________
    shustas is offline
    SilentLikeSilence
    Senior Member
    Join Date: Jul 2009
    Old 08-21-2009 , 11:00   Re: AutoRestart
    Reply With Quote #4

    The another autorestart plugin didnt work for me thats why i made this.
    This one is more simple and 100% works.

    Last edited by SilentLikeSilence; 08-21-2009 at 14:30.
    SilentLikeSilence is offline
    Pacmaney
    Senior Member
    Join Date: May 2009
    Old 08-24-2009 , 22:34   Re: AutoRestart
    Reply With Quote #5

    Works like a charm. Is it possible to have a countdown on the server or check to see if the server has people before it restarts?
    __________________
    Pacmaney is offline
    SilentLikeSilence
    Senior Member
    Join Date: Jul 2009
    Old 08-26-2009 , 07:11   Re: AutoRestart
    Reply With Quote #6

    Going to try add a countdown.
    SilentLikeSilence is offline
    CS:S*
    BANNED
    Join Date: Jun 2009
    Old 10-03-2009 , 17:45   Re: AutoRestart
    Reply With Quote #7

    when I type _restart in server console i get this:

    Code:
    # userid name uniqueid connected ping loss state adr
    # 3 "Scott" BOT active
    # 4 "Jeff" BOT active
    _restart
    Dropped Jeff from server (Server shutting down)
    Dropped Scott from server (Server shutting down)
    [-] DoS Attack Protect - Disable
    L 10/04/2009 - 00:51:53: [SM] Native "UnhookConVarChange" reported: Invalid hook callback specified for convar "pdm_enabled"
    L 10/04/2009 - 00:51:53: [SM] Displaying call stack trace for plugin "c4_plant_money.smx":
    L 10/04/2009 - 00:51:53: [SM]   [0]  Line 44, c4_plant_money.sp::OnPluginEnd()
    L 10/04/2009 - 00:51:53: [sourcebans.smx] AdminMenu_Ban()
    Segmentation fault
    Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
    пҐпЄ п╬п╨я┌  4 00:51:53 EEST 2009: Server restart in 10 seconds
    any help ?
    CS:S* is offline
    WatchDogs
    Senior Member
    Join Date: Oct 2015
    Location: Iran
    Old 07-15-2016 , 03:40   Re: AutoRestart
    Reply With Quote #8

    Hi

    I edited the plugin for simple countdown timer from 60s.

    Sorry for my codes it isn't optimized i am new at scripting
    Attached Files
    File Type: sp Get Plugin or Get Source (autorestart.sp - 845 views - 2.7 KB)
    WatchDogs is offline
    Randommagic
    Senior Member
    Join Date: Jun 2014
    Location: -
    Old 07-15-2016 , 16:05   Re: AutoRestart
    Reply With Quote #9

    good plugin, but why need it when you can use cronjob plugin instead?
    __________________

    Last edited by Randommagic; 07-15-2016 at 16:06.
    Randommagic is offline
    stoneyschillhouse
    Senior Member
    Join Date: Nov 2012
    Old 07-16-2016 , 14:48   Re: AutoRestart
    Reply With Quote #10

    @Randommagic

    If u dont have access to linux cronjobs u must use this

    I also use the linux cronjob
    __________________
    SRY FOR MY BAD ENGLISH
    I'm german
    stoneyschillhouse 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 00:07.


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