MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
auto restart? on crashes
auto restart? on crashes
Posts: 48
Threads: 8
Joined: Jan 2005
Reputation:
0
i know its possable but how exactly can i make it so when a server crashes it automatically restarts like on linux?
Posts: 30
Threads: 3
Joined: Jan 2005
Reputation:
0
Depends on which type of crash you're talking about - There's srcds crashes and then system crashes when your entire server goes down.
To just restart your srcds when someone RCON quits or it crashes you have to use a batch file like this:
Code:
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
You'll need to edit the command line in there to whatever you want your server to be set to.
To restart your server when your whole system crashes you'll need a program like FireDaemin that runs your srcds as a Windows Service. There's a couple other programs listed in this thread here :
http://www.srcds.com/forums/showthread.php?tid=79
Posts: 48
Threads: 8
Joined: Jan 2005
Reputation:
0
so do i have 2 keep that batch running? example if i have 8 servers on windows?
Posts: 30
Threads: 3
Joined: Jan 2005
Reputation:
0
Yeah - You'll need to create a batch file for each server and leave it running with the server so it auto-restarts it upon a quit/crash.
Posts: 48
Threads: 8
Joined: Jan 2005
Reputation:
0
thx mate i added it now too see if it works
Posts: 30
Threads: 3
Joined: Jan 2005
Reputation:
0
No problem - Glad I could help
Posts: 3
Threads: 0
Joined: Sep 2007
Reputation:
0
Hi all,
I realize this is a pretty old thread, but I've been running a Garry's Mod 10 server for the past few months and sometimes the server can crash every half an hour. I decided to look for some kind of auto-restart system for srcds.
I tred uS.Rooster's batch file but there's a very big problem with that - it restarts srcds.exe but it sits at the Start Dedicated Server window. How is an auto restart batch file going to help me if I still need to be at the computer to manually press the Start Server button?
Is there a way to bypass the Start dedicated server window? Or automatically hit the Start Server button?
-Thanks for any help you guys can provide.
Posts: 340
Threads: 10
Joined: Jul 2005
Reputation:
0
Don't use the steam-dedicated server. Use the console version (add -console to your startup parameters) and you wont be sitting/hanging on any window at all.
@Rooster: your batch only works if the server has some kind of very rare crash. When the srcds crashes it's mostly a "fatal error" crash and your batch does nothing about that. To restart it from those kinds of crashes you'd have to run it as a service.
Posts: 3
Threads: 0
Joined: Sep 2007
Reputation:
0
09-04-2007, 06:01 PM
(This post was last modified: 09-04-2007, 06:03 PM by Cornflake .)
Doggie52 Wrote: Don't use the steam-dedicated server. Use the console version (add -console to your startup parameters) and you wont be sitting/hanging on any window at all.
Thank you very much for that little tip, doggie. I always wondered why -console was used in the startup parameters and I never used it assuming I didn't need it.
If it was mentioned somewhere that -console bypassed the server startup dialog box, I would have certainly used it. Sometimes features of srcds or Garry's Mod are poorly documented and keep users in the dark.
P.S. I created a simple AutoIt script that automatically detected the "Start Dedicated Server" window and hit Enter anyway
At least I won't have to worry about running that in the background anymore.
Posts: 3
Threads: 0
Joined: Sep 2007
Reputation:
0
Gah. I just tried running my server in console mode, it says my spacebuild map (sb_gooniverse_v2) doesn't exist, and that all of the sbox commands are unknown. Any particular reason that would happen? Here's what I've got in my command line parameters:
Code:
-game garrysmod -tickrate 33 -console +map sb_gooniverse_v2 +maxplayers 5
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
That's weird, they do work in GUI mode?
Posts: 4
Threads: 0
Joined: Jun 2008
Reputation:
0
I've tried several autorestart scripts, but every time my server crashes, I get the "srcds.exe has stopped working" error dialogue. My server doesn't restart until I click to close the program. This is a problem because I can't be there to click to close it every time it crashes. Is there any way to suppress this error?
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
disable windows error reporting
Posts: 4
Threads: 0
Joined: Jun 2008
Reputation:
0
I tried that. That only disables the error being sent to microsoft, an error dialogue still pops up asking me to close the program.
Posts: 85
Threads: 23
Joined: Jan 2008
Reputation:
2
create an autoit script to monitor srcds
Users browsing this thread: 1 Guest(s)