View Single Post
Old 24/11/2017, 12:47 AM   #6
rt-2
Huge Clucker
 
rt-2's Avatar
 
Join Date: Jun 2011
Location: Montréal, Québec, Canada
Posts: 276
Reputation: 24
Default Re: Prevent server CTRL+C closing.

Quote:
Originally Posted by Sew_Sumi View Post
There isn't as Ctrl-C is a stop process key combo. It's nothing to do with the server executable, hence why when you use a command in command prompt, and have the command 'hang', you press ctrl-c, and you are able to stop it.





Now really, why on earth are you even pressing ctrl-c in the first instance...
AGAIN, because pressing CTRL+C is how you CCCClose a console application,,, thats how you do it,, if I use the X button (or CTRL+Z on linux), it just kills the server,, when you do CTRL+C the server actually executes the "serverExit" and "filterscriptExit" events and THEN closes....

rt-2
__________________
rt-2
My hardcore first person 1994 simulation in development:
SA Advance Roleplay
rt-2 is offline   Reply With Quote