STAR - SummerStory Timed Auto Restarter

Page 1 of 3 123 LastLast
Results 1 to 15 of 42
  1. #1
    Account Upgraded | Title Enabled! AccuracyAce is offline
    MemberRank
    Nov 2007 Join Date
    508Posts

    STAR - SummerStory Timed Auto Restarter

    S T A R
    SummerStory Timed Auto Restarter

    We'll, what's brought me here is that I could never find a 'Timed Auto Restarter' that didn't screw up and crash, I've tried tonnes of restarters, including: MSConsole & MSPSAR, but the actual programs crash on me or freeze, so I have been learning to code batch. Here I am releasing a batch restarter. Not only is it VERY easy to use, but it's stable, you can't get much more stable than a simple batch file.

    This is supposed to be for Windows Server 2003, since that is what my Dedicated Server runs on, but this may work on other Operating Systems.


    DOWNLOADS
    You'll need this first:
    Windows Server 2003 Resource Kit Tools
    Then, you'll DEFINITELY want this: STAR

    If you can't be bothered downloading it ...
    PHP Code:
    @echo off
    Title STAR 
    (SummerStory Timed Auto Restarter) - Created by Cruze@SummerStory
    :start
    color cf
    echo Created by
    sleep 
    -m 500
    cls
    echo Created by C
    sleep 
    -m 500
    cls
    echo Created by Cr
    sleep 
    -m 500
    cls
    echo Created by Cru
    sleep 
    -m 500
    cls
    echo Created by Cruz
    sleep 
    -m 500
    cls
    echo Created by Cruze
    sleep 
    -m 500
    cls
    echo Created by Cruze@SummerStory
    echo ----------------
    sleep -m 500
    echo 1. To  restart the server every 2Hrs typeAuto
    echo 
    2. To restart the server typeRestart.          
    echo 
    3. To start server typeRun.         
    echo 
    4. To shutdown the server type: Exit.
    echo 
    5. To  shutdown this restarter typeClose.            
    echo ----------------         
    set /p c=Option:
    if %
    c%==run goto run
    if %c%==exit goto exit
    if %
    c%==restart goto restart
    if %c%==auto goto auto
    if %c%==close goto close
    if %c%==Run goto run
    if %c%==Exit goto exit
    if %
    c%==Restart goto restart
    if %c%==Auto goto auto
    if %c%==Close goto close
    :run
    echo Starting 'launch_world.bat'
    start launch_world.bat
    sleep 3
    echo Starting 'launch_login.bat'
    start launch_login.bat
    sleep 3
    echo Starting 'launch_channel.bat'
    start launch_channel.bat
    echo 'Run' Complete
    goto start
    :exit
    taskkill //im launch_world.bat
    taskkill 
    //im launch_login.bat
    taskkill 
    //im launch_channel.bat
    cls
    goto start
    :restart
    echo Restarting ...
    taskkill //im launch_world.bat
    taskkill 
    //im launch_login.bat
    taskkill 
    //im launch_channel.bat
    echo Starting 'launch_world.bat'
    start launch_world.bat
    sleep 3
    echo Starting 'launch_login.bat
    start launch_login.bat
    sleep 3
    echo Starting '
    launch_channel.bat
    start launch_channel
    .bat
    echo Restart Complete
    cls
    goto start
    :auto
    echo Starting 'launch_world.bat'
    start launch_world.bat
    sleep 3
    echo Starting 'launch_login.bat'
    start launch_login.bat
    sleep 3
    echo Starting 'launch_channel.bat'.
    start launch_channel.bat
    echo Server Online.
    echo (
    2Hrs)
    sleep 1800
    cls
    echo (1Hr 30Min)
    sleep 1800
    cls
    echo (1Hr)
    sleep 1800
    cls
    echo (30Min)
    sleep 1500
    cls
    echo (5Min)
    sleep 240
    cls
    echo (1Min)
    sleep 30
    cls
    echo (30Sec)
    sleep 20
    cls
    echo (10Sec)
    sleep 10
    cls
    echo Restarting ...
    Obliterating server processes ...
    taskkill //im launch_world.bat
    taskkill 
    //im launch_login.bat
    taskkill 
    //im launch_channel.bat
    Auto restart repeating
    .
    cls
    goto auto
    :close
    cls 
    And here is one that I just whipped up, it's for the newer computers (Use this if the first doesn't work)
    PHP Code:
    @echo off
    Title STAR 
    (SummerStory Timed Auto Restarter) - Created by Cruze@SummerStory
    :start
    color cf
    echo Created by
    PING 1.1.1.1 
    -n 1 -w 1 >NUL
    cls
    echo Created by C
    PING 1.1.1.1 
    -n 1 -w 1 >NUL
    cls
    echo Created by Cr
    PING 1.1.1.1 
    -n 1 -w 1 >NUL
    cls
    echo Created by Cru
    PING 1.1.1.1 
    -n 1 -w 1 >NUL
    cls
    echo Created by Cruz
    PING 1.1.1.1 
    -n 1 -w 1 >NUL
    cls
    echo Created by Cruze
    PING 1.1.1.1 
    -n 1 -w 1 >NUL
    cls
    echo Created by Cruze@SummerStory
    echo ----------------
    PING 1.1.1.1 -n 1 -w 1 >NUL
    echo 1. To  restart the server every hour type 'Auto'
    echo 
    2. To restart the server type 'Restart'.          
    echo 
    3. To start server type 'Run'.         
    echo 
    4. To shutdown the server type 'Exit'.
    echo 
    5. To  shutdown this restarter type 'Close'
    echo ----------------         
    set /p c=Option:
    if %
    c%==run goto run
    if %c%==exit goto exit
    if %
    c%==restart goto restart
    if %c%==auto goto auto
    if %c%==close goto close
    if %c%==Run goto run
    if %c%==Exit goto exit
    if %
    c%==Restart goto restart
    if %c%==Auto goto auto
    if %c%==Close goto close
    :run
    echo Starting 'launch_world.bat'
    start launch_world.bat
    echo Starting 'launch_login.bat'
    start launch_login.bat
    echo Starting 'launch_channel.bat'
    start launch_channel.bat
    echo 'Run' Complete
    goto start
    :exit
    taskkill //im launch_world.bat
    taskkill 
    //im launch_login.bat
    taskkill 
    //im launch_channel.bat
    cls
    goto start
    :restart
    echo Restarting ...
    taskkill //im launch_world.bat
    taskkill 
    //im launch_login.bat
    taskkill 
    //im launch_channel.bat
    echo Starting 'launch_world.bat'
    start launch_world.bat
    echo Starting 'launch_login.bat
    start launch_login.bat
    echo Starting '
    launch_channel.bat
    start launch_channel
    .bat
    echo Restart Complete
    cls
    goto start
    :auto
    echo Starting 'launch_world.bat'
    start launch_world.bat
    PING 1.1.1.1 
    -n 3 -w 3 >NUL
    echo Starting 'launch_login.bat
    start launch_login.bat
    PING 1.1.1.1 -n 3 -w 3 >NUL
    echo Starting Channel.bat
    start launch_channel.bat
    echo Server Online.
    echo restarting server in 2Hrs.
    PING 1.1.1.1 -n 7200 -w 7200 >NUL
    cls
    echo Restarting ...
    Killing server processes ...
    taskkill /f /im launch_world.bat
    taskkill /f /im launch_login.bat
    taskkill /f /im launch_channel.bat
    Auto restart repeating.
    cls
    goto auto
    :close
    cls 
    If there is anything you think I should add to the restarter, then please reply.
    Credits: Cruze


  2. #2
    Member NeonSurge is offline
    MemberRank
    Mar 2009 Join Date
    52Posts

    Re: STAR - SummerStory Timed Auto Restarter

    Ooh, timed? smexy.

  3. #3
    Account Upgraded | Title Enabled! AccuracyAce is offline
    MemberRank
    Nov 2007 Join Date
    508Posts

    Re: STAR - SummerStory Timed Auto Restarter

    I know, it's super smexy.

  4. #4
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: STAR - SummerStory Timed Auto Restarter

    I was coming in to say that this fails but I guess it's alright.

    Gj. Now quit learning batch and learn some java -.-

  5. #5
    Infraction Banned zzShootzz is offline
    MemberRank
    Apr 2009 Join Date
    50Posts

    Re: STAR - SummerStory Timed Auto Restarter

    i agree,
    lern2javacode

  6. #6
    Account Upgraded | Title Enabled! AccuracyAce is offline
    MemberRank
    Nov 2007 Join Date
    508Posts

    Re: STAR - SummerStory Timed Auto Restarter

    @xQuasar & @zzShootzz
    ........... Blow me.

    Now, could someone do some testing please? ;)
    Thanks

  7. #7
    Member Matzah is offline
    MemberRank
    Apr 2009 Join Date
    63Posts

    Re: STAR - SummerStory Timed Auto Restarter

    this is awful.

  8. #8
    Account Upgraded | Title Enabled! AccuracyAce is offline
    MemberRank
    Nov 2007 Join Date
    508Posts

    Re: STAR - SummerStory Timed Auto Restarter

    I'm glad you like it.

  9. #9
    Account Upgraded | Title Enabled! Shadow465 is offline
    MemberRank
    Jul 2008 Join Date
    437Posts

    Re: STAR - SummerStory Timed Auto Restarter

    MS is dead.

  10. #10
    Account Upgraded | Title Enabled! AccuracyAce is offline
    MemberRank
    Nov 2007 Join Date
    508Posts

    Re: STAR - SummerStory Timed Auto Restarter

    Added one for newer computers, the timer is different.

  11. #11
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: STAR - SummerStory Timed Auto Restarter

    Your mother is dead

  12. #12
    Account Upgraded | Title Enabled! AccuracyAce is offline
    MemberRank
    Nov 2007 Join Date
    508Posts

    Re: STAR - SummerStory Timed Auto Restarter

    LOL, you should re-open DestinyMS and own everyone on xtremetop100

  13. #13
    Account Upgraded | Title Enabled! mcskills is offline
    MemberRank
    Apr 2008 Join Date
    379Posts

    Re: STAR - SummerStory Timed Auto Restarter

    Quote Originally Posted by AccuracyAce View Post
    LOL, you should re-open DestinyMS and own everyone on xtremetop100
    Why, DestinyMS sucked, thank god it's gone.

  14. #14
    Account Upgraded | Title Enabled! Popozow1012 is offline
    MemberRank
    Jul 2008 Join Date
    Where it's nine in the afternoonLocation
    549Posts

    Re: STAR - SummerStory Timed Auto Restarter

    I ruv you
    you gimme good server nao
    =]

  15. #15
    Account Upgraded | Title Enabled! AzuS is offline
    MemberRank
    Jul 2008 Join Date
    871Posts

    Re: STAR - SummerStory Timed Auto Restarter

    awesome...need this due to server keep crashing....bat esrors grr



Page 1 of 3 123 LastLast

Advertisement