Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Also, if running multiple servers, consider root cronjobs (watch the syntax, it's different)
https://github.com/dgibbs64/linuxgsm/wiki/Automation
But now after a restart, the server is shown as online with ./arkserver details but is not shown in HLSW or Ingame Serverlist
You can see it in log : CreateBoundSocket: ::bind couldn't find an open port between 27015 and 27015
So restart function is not functional at this moment.
I'd propose adding an additional check on line 157 of command_stop.sh:
Check if the gamename is "ARK: Survivial Evolved". If so, invoke a new fn_stop_ark3.
fn_stop_ark3 would simply be:
I could have finger-flubbed some of the above commands while adding comments, but the logic should all be there.
The same code could be expanded to grab "Port" from GameUserSettings.ini to clean those processes, too (which don't seem to get cleaned from the stop command either).
At all it would be nice to add a feature to your script to kill the port fast. Would save some time playing with crontabs ^^
Can you double check the output of:
From what I am seeing, the only way to reliably stop or restart the service is to kill the pid that's listening on the port before/after tmux has been closed.
Here's a session showing that even after waiting 20 minutes, the ports never closed.[pastebin.com]