Browse Source

ut2k4server & kfserver: Added ICP/UDP to details

* Corrected master server ports making them specific to kfserver or
ut2k4server
* Added details of being ICP or UDP data to details function
pull/8/merge
Daniel Gibbs 12 years ago
parent
commit
541103cd54
  1. 19
      KillingFloor/kfserver
  2. 19
      UnrealTournament2004/ut2k4server

19
KillingFloor/kfserver

@ -378,15 +378,20 @@ if [ "${engine}" = "unreal2" ];then
webadminpass=$(grep AdminPassword= ${systemdir}/${ini}|sed 's/\AdminPassword=//g') webadminpass=$(grep AdminPassword= ${systemdir}/${ini}|sed 's/\AdminPassword=//g')
echo "Ports the server is currently using" echo "Ports the server is currently using"
echo "" echo ""
echo "DIRECTION DESCRIPTION PORT INI VARIABLE" echo "DIRECTION DESCRIPTION PORT INI VARIABLE"
echo "INBOUND Game Port ${gameport} Port=${gameport}" echo "INBOUND Game Port ${gameport} UDP Port=${gameport}"
echo "INBOUND Query Port ${queryport} n/a" echo "INBOUND Query Port ${queryport} UDP n/a"
echo "INBOUND GameSpy Query Port ${gsqueryport} OldQueryPortNumber=${gsqueryport}" echo "INBOUND GameSpy Query Port ${gsqueryport} UDP OldQueryPortNumber=${gsqueryport}"
echo "OUTBOUND Master Server port 28900/28902 n/a" if [ "${gamename}" == "Killing Floor" ];then
echo "OUTBOUND Master Server port 28852 TCP/UDP n/a"
elif [ "${gamename}" == "Unreal Tournament 2004" ];then
echo "OUTBOUND Master Server port 28900/28902 TCP/UDP n/a"
fi
if [ "${appid}" ];then if [ "${appid}" ];then
echo "OUTBOUND Steam Port 20660 n/a" echo "OUTBOUND Steam Port 20660 UDP n/a"
fi fi
echo "INBOUND: WebAdmin ${webadmin} ListenPort=${webadmin}" echo "INBOUND WebAdmin ${webadmin} TCP ListenPort=${webadmin}"
echo "" echo ""
echo "${servername} WebAdmin" echo "${servername} WebAdmin"
echo "=======================" echo "======================="

19
UnrealTournament2004/ut2k4server

@ -320,15 +320,20 @@ if [ "${engine}" = "unreal2" ];then
webadminpass=$(grep AdminPassword= ${systemdir}/${ini}|sed 's/\AdminPassword=//g') webadminpass=$(grep AdminPassword= ${systemdir}/${ini}|sed 's/\AdminPassword=//g')
echo "Ports the server is currently using" echo "Ports the server is currently using"
echo "" echo ""
echo "DIRECTION DESCRIPTION PORT INI VARIABLE" echo "DIRECTION DESCRIPTION PORT INI VARIABLE"
echo "INBOUND Game Port ${gameport} Port=${gameport}" echo "INBOUND Game Port ${gameport} UDP Port=${gameport}"
echo "INBOUND Query Port ${queryport} n/a" echo "INBOUND Query Port ${queryport} UDP n/a"
echo "INBOUND GameSpy Query Port ${gsqueryport} OldQueryPortNumber=${gsqueryport}" echo "INBOUND GameSpy Query Port ${gsqueryport} UDP OldQueryPortNumber=${gsqueryport}"
echo "OUTBOUND Master Server port 28900/28902 n/a" if [ "${gamename}" == "Killing Floor" ];then
echo "OUTBOUND Master Server port 28852 TCP/UDP n/a"
elif [ "${gamename}" == "Unreal Tournament 2004" ];then
echo "OUTBOUND Master Server port 28900/28902 TCP/UDP n/a"
fi
if [ "${appid}" ];then if [ "${appid}" ];then
echo "OUTBOUND Steam Port 20660 n/a" echo "OUTBOUND Steam Port 20660 UDP n/a"
fi fi
echo "INBOUND: WebAdmin ${webadmin} ListenPort=${webadmin}" echo "INBOUND WebAdmin ${webadmin} TCP ListenPort=${webadmin}"
echo "" echo ""
echo "${servername} WebAdmin" echo "${servername} WebAdmin"
echo "=======================" echo "======================="

Loading…
Cancel
Save