.bat command to start server again

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
PeanutButter
New to forums
New to forums
Posts: 9
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Sep 17, 2017 9:49 pm

.bat command to start server again

Post by PeanutButter »

Hello, I was wondering what the command is on a .bat file whenever a game server crashes and you want it to start up again without pressing "okay". Is it -silentcrash ?
User avatar
hiimcody1
Staff
Staff
Posts: 1593
Joined: Wed Dec 28, 2011 4:59 pm

Re: .bat command to start server again

Post by hiimcody1 »

-nocrashdialog is the flag you are looking for I believe.
PeanutButter
New to forums
New to forums
Posts: 9
Joined: Sun Sep 17, 2017 9:49 pm

Re: .bat command to start server again

Post by PeanutButter »

Alright cool, thanks. :D
PeanutButter
New to forums
New to forums
Posts: 9
Joined: Sun Sep 17, 2017 9:49 pm

Re: .bat command to start server again

Post by PeanutButter »

Didn't seem to work, still got stuck in the dialogue when it crashed any other commands i can add ?
User avatar
hiimcody1
Staff
Staff
Posts: 1593
Joined: Wed Dec 28, 2011 4:59 pm

Re: .bat command to start server again

Post by hiimcody1 »

What kind of server is it?
PeanutButter
New to forums
New to forums
Posts: 9
Joined: Sun Sep 17, 2017 9:49 pm

Re: .bat command to start server again

Post by PeanutButter »

Rust Server
User avatar
hiimcody1
Staff
Staff
Posts: 1593
Joined: Wed Dec 28, 2011 4:59 pm

Re: .bat command to start server again

Post by hiimcody1 »

Try using "-silent-crashes" instead. You were pretty close with what you had originally it seems.
PeanutButter
New to forums
New to forums
Posts: 9
Joined: Sun Sep 17, 2017 9:49 pm

Re: .bat command to start server again

Post by PeanutButter »

Alright thanks :) :D
PeanutButter
New to forums
New to forums
Posts: 9
Joined: Sun Sep 17, 2017 9:49 pm

Re: .bat command to start server again

Post by PeanutButter »

How about to set priority high on the server ? -high ? I tried -high and don't seem to work.
User avatar
hiimcody1
Staff
Staff
Posts: 1593
Joined: Wed Dec 28, 2011 4:59 pm

Re: .bat command to start server again

Post by hiimcody1 »

I'm not sure if there's a startup flag for it, but you should be able to use an OS command to do set the priority after it is running.
PeanutButter
New to forums
New to forums
Posts: 9
Joined: Sun Sep 17, 2017 9:49 pm

Re: .bat command to start server again

Post by PeanutButter »

How would i do that ?
User avatar
hiimcody1
Staff
Staff
Posts: 1593
Joined: Wed Dec 28, 2011 4:59 pm

Re: .bat command to start server again

Post by hiimcody1 »

In Windows, you'd set it for the process through Task Manager.
PeanutButter
New to forums
New to forums
Posts: 9
Joined: Sun Sep 17, 2017 9:49 pm

Re: .bat command to start server again

Post by PeanutButter »

You guys know another command to use because -silent-crashes isn't working anymore.
PeanutButter
New to forums
New to forums
Posts: 9
Joined: Sun Sep 17, 2017 9:49 pm

Re: .bat command to start server again

Post by PeanutButter »

Well i just went ahead a disabled the crash dialogues, hope that helps.
Post Reply