It is currently Wed Apr 30, 2025 11:01 pm

RUNNING WITH RIFLES Multiplayer

test

Game servers 49 List provided by EpocDotFr | Players online 57


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Server Restart?
PostPosted: Fri Oct 24, 2014 11:58 am 
Offline

Joined: Wed Sep 17, 2014 12:17 pm
Posts: 12
Hey guys!

Quick question: Every once in a while our RwR server crashes for whatever reason (Servers, you know how temperamental they can be). When that happens we obviously manually start it back up, only some times it takes us a while to realise it's down. I was wondering if somebody out there has an automatic restart script for their server (or is willing to show me how to make one regardless). Any help would be very appreciated.

Thank you all for your time!


Top
 Profile  
 
 Post subject: Re: Server Restart?
PostPosted: Fri Oct 24, 2014 12:30 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 12:25 am
Posts: 193
DocStone has set up something like this for the SAS servers, so your best bet is probably to ask him. :)


Top
 Profile  
 
 Post subject: Re: Server Restart?
PostPosted: Fri Oct 24, 2014 2:06 pm 
Offline

Joined: Wed Sep 17, 2014 12:17 pm
Posts: 12
Thanks, I will!


Top
 Profile  
 
 Post subject: Re: Server Restart?
PostPosted: Fri Oct 24, 2014 2:25 pm 
Offline
User avatar

Joined: Mon Feb 25, 2013 12:24 pm
Posts: 283
Hey Arkin, I just use a simple batch file that starts up then restarts all the servers we run every 12 hours:

Code:
@ECHO OFF
:START
CLS
ECHO Starting Server Proccesses
ECHO.
TIMEOUT 5
ECHO Starting RWR Standard Server
ECHO.
e:
CD e:\RWR1
START "RWR Standard" rwr_server.exe
TIMEOUT 10
ECHO Starting map rotation script
ECHO.
CD E:\RWR1\media\packages\vanilla\scripts
START "Map Rotation Script" php start_classic.php
TIMEOUT 10
ECHO Starting RWR Invasion Server
ECHO.
CD e:\RWR2
START "RWR Invasion" rwr_server.exe
TIMEOUT 10
ECHO Starting invasion script
ECHO.
CD E:\RWR2\media\packages\vanilla\scripts
START "Invasion Script" php start_invasion.php
TIMEOUT 10
ECHO Starting RWR Minimodes Server
ECHO.
CD e:\RWR3
START "RWR Invasion" rwr_server.exe
TIMEOUT 10
ECHO Starting invasion script
ECHO.
CD E:\RWR3\media\packages\vanilla\scripts
START "Minimodes Script" php start_minimodes.php
ECHO 12 Hour Countdown Started
ECHO.
TIMEOUT 43200
ECHO Killing Servers
ECHO.
TASKKILL /f /im rwr_server.exe
ECHO.
TIMEOUT 30
ECHO Restarting servers
ECHO.
GOTO START


Obviously you would modify it as to your needs, but it is as simple as that.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Server Restart?
PostPosted: Fri Oct 24, 2014 2:47 pm 
Offline

Joined: Wed Sep 17, 2014 12:17 pm
Posts: 12
Thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group