Просмотр исходного кода

fix(col): monitor Colony Survival with a TCP query (#4977)

* fix(col): monitor Colony Survival with a TCP query

Colony Survival hosts with SteamOnline networking and doesn't answer
A2S (protocol-valve) queries on its UDP game port. Monitor always
failed the query and restarted a working server every few minutes.
The query port listens on TCP (details already shows it as TCP), so
use query mode 5 (TCP).

* fix(col): keep querytype set for the gamedig query modes

querytype is ignored by the TCP query, but an empty value would break
monitoring if querymode is switched back to a gamedig mode.
Daniel Gibbs 1 неделя назад
Родитель
Сommit
77d8b6f018
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/config-default/config-lgsm/colserver/_default.cfg

+ 1 - 1
lgsm/config-default/config-lgsm/colserver/_default.cfg

@@ -154,7 +154,7 @@ stopmode="2"
 # 3: gamedig
 # 4: gsquery
 # 5: tcp
-querymode="2"
+querymode="5"
 querytype="protocol-valve"
 
 ## Console type