|
|
@@ -292,7 +292,7 @@ fn_details_ports(){
|
|
|
|
|
|
parmslocation="${red}UNKNOWN${default}"
|
|
|
# engines that require editing in the config file
|
|
|
- local ports_edit_array=( "avalanche" "dontstarve" "idtech2" "idtech3" "lwjgl2" "projectzomboid" "idtech3_ql" "refractor" "realvirtuality" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" )
|
|
|
+ local ports_edit_array=( "avalanche" "dontstarve" "idtech2" "idtech3" "idtech3_ql" "lwjgl2" "projectzomboid" "quake" "refractor" "realvirtuality" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" )
|
|
|
for port_edit in "${ports_edit_array[@]}"
|
|
|
do
|
|
|
if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]; then
|
|
|
@@ -404,6 +404,15 @@ fn_details_quake3(){
|
|
|
} | column -s $'\t' -t
|
|
|
}
|
|
|
|
|
|
+fn_details_quake(){
|
|
|
+ echo -e "netstat -atunp | grep mvdsv"
|
|
|
+ echo -e ""
|
|
|
+ {
|
|
|
+ echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
|
|
|
+ echo -e "> Game\tINBOUND\t${port}\tudp"
|
|
|
+ } | column -s $'\t' -t
|
|
|
+}
|
|
|
+
|
|
|
fn_details_quakelive(){
|
|
|
echo -e "netstat -atunp | grep qzeroded"
|
|
|
echo -e ""
|
|
|
@@ -683,6 +692,8 @@ fn_display_details() {
|
|
|
fn_details_ark
|
|
|
elif [ "${gamename}" == "Hurtworld" ]; then
|
|
|
fn_details_hurtworld
|
|
|
+ elif [ "${gamename}" == "QuakeWorld" ]; then
|
|
|
+ fn_details_quake
|
|
|
elif [ "${gamename}" == "Quake 2" ]; then
|
|
|
fn_details_quake2
|
|
|
elif [ "${gamename}" == "Quake 3: Arena" ]; then
|