[GH-ISSUE #865] Arma 3 Monitoring Query Error (FIX) #696

Closed
opened 2026-02-27 02:03:11 +03:00 by kerem · 16 comments
Owner

Originally created by @MCPC10 on GitHub (Jun 7, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/865

image

I have found a solution for this error (You must add this to the monitor_gsquery.sh):

elif [ "${engine}" == "realvirtuality" ]; then
port=$((port + 1))
fi
image

Then it should work :)

If I have posted wrong, excuse me I'm new on Github and my english is bad :)

Originally created by @MCPC10 on GitHub (Jun 7, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/865 ![image](https://cloud.githubusercontent.com/assets/8211507/15868085/715ee7ca-2ce6-11e6-81e5-e48872b8c06d.png) I have found a solution for this error (You must add this to the monitor_gsquery.sh): elif [ "${engine}" == "realvirtuality" ]; then port=$((port + 1)) fi ![image](https://cloud.githubusercontent.com/assets/8211507/15868111/90d74a98-2ce6-11e6-962c-0817dd34a032.png) Then it should work :) If I have posted wrong, excuse me I'm new on Github and my english is bad :)
kerem 2026-02-27 02:03:11 +03:00
Author
Owner

@ghost commented on GitHub (Jun 9, 2016):

it didn't work for me :/ dunno why..

if [ "${gsquery}" == "yes" ]; then

# Downloads gsquery.py if missing
if [ ! -f "${functionsdir}/gsquery.py" ]; then
    fn_fetch_file_github "lgsm/functions" "gsquery.py" "${functionsdir}" "executecmd" "norun" "noforce" "nomd5"
fi  

info_config.sh

if [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
    port=$((port + 1))
elif [ "${engine}" == "spark" ]; then
    port=$((port + 1))
elif [ "${engine}" == "realvirtuality" ]; then
    port=$((port + 1))
fi

if [ -n "${queryport}" ]; then
    port="${queryport}"
fi
<!-- gh-comment-id:224824093 --> @ghost commented on GitHub (Jun 9, 2016): it didn't work for me :/ dunno why.. if [ "${gsquery}" == "yes" ]; then ``` # Downloads gsquery.py if missing if [ ! -f "${functionsdir}/gsquery.py" ]; then fn_fetch_file_github "lgsm/functions" "gsquery.py" "${functionsdir}" "executecmd" "norun" "noforce" "nomd5" fi info_config.sh if [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then port=$((port + 1)) elif [ "${engine}" == "spark" ]; then port=$((port + 1)) elif [ "${engine}" == "realvirtuality" ]; then port=$((port + 1)) fi if [ -n "${queryport}" ]; then port="${queryport}" fi ```
Author
Owner

@igeighty commented on GitHub (Jun 14, 2016):

confirmed, @MCPC10 solution works.
screen shot 2016-06-14 at 7 54 44 pm

<!-- gh-comment-id:225834469 --> @igeighty commented on GitHub (Jun 14, 2016): confirmed, @MCPC10 solution works. ![screen shot 2016-06-14 at 7 54 44 pm](https://cloud.githubusercontent.com/assets/19503471/16038745/e2932a0e-3269-11e6-9ec4-db0e9895c005.jpg)
Author
Owner

@JHulsmans commented on GitHub (Jun 14, 2016):

Hi @koekblik2 Were you able to resolve your issue with the provided fix? If so we can close this issue.

<!-- gh-comment-id:225847224 --> @JHulsmans commented on GitHub (Jun 14, 2016): Hi @koekblik2 Were you able to resolve your issue with the provided fix? If so we can close this issue.
Author
Owner

@igeighty commented on GitHub (Jun 14, 2016):

i have added the pull request https://github.com/dgibbs64/linuxgsm/pull/884 to include the fix into monitor_gsquery.sh (hope i have have done it correctly i am learning git still)

i have tested with fresh install and changed the lines in monitor_gsquery.sh and it works still.
thanks for finding a fix

<!-- gh-comment-id:225848090 --> @igeighty commented on GitHub (Jun 14, 2016): i have added the pull request https://github.com/dgibbs64/linuxgsm/pull/884 to include the fix into monitor_gsquery.sh (hope i have have done it correctly i am learning git still) i have tested with fresh install and changed the lines in monitor_gsquery.sh and it works still. thanks for finding a fix
Author
Owner

@UltimateByte commented on GitHub (Jun 14, 2016):

@igeighty you did it right :)
Nice to see you contributing :)
Hopefully this fix will be confirmed working and merged :)

<!-- gh-comment-id:225849043 --> @UltimateByte commented on GitHub (Jun 14, 2016): @igeighty you did it right :) Nice to see you contributing :) Hopefully this fix will be confirmed working and merged :)
Author
Owner

@igeighty commented on GitHub (Jun 14, 2016):

thanks @UltimateByte i used the web version to do the pull request after testing it locally. that was straightforward enough. i am just having trouble getting my head around the mac desktop version of github.

thanks for the code you guys, it has been a great learning tool also. not to mention a really nice way of setting up an arma server under linux.

great job. (next i will test the syntax for mods under different conditions, i.e. nested folders or not. and try and come up with something for the comments in arma3server.

cheers.
Doug

<!-- gh-comment-id:225849710 --> @igeighty commented on GitHub (Jun 14, 2016): thanks @UltimateByte i used the web version to do the pull request after testing it locally. that was straightforward enough. i am just having trouble getting my head around the mac desktop version of github. thanks for the code you guys, it has been a great learning tool also. not to mention a really nice way of setting up an arma server under linux. great job. (next i will test the syntax for mods under different conditions, i.e. nested folders or not. and try and come up with something for the comments in arma3server. cheers. Doug
Author
Owner

@UltimateByte commented on GitHub (Jun 14, 2016):

Mac ! 👎 :p
Good job btw, that's great to see such a collaborative work. :)

<!-- gh-comment-id:225851159 --> @UltimateByte commented on GitHub (Jun 14, 2016): Mac ! :-1: :p Good job btw, that's great to see such a collaborative work. :)
Author
Owner

@ghost commented on GitHub (Jun 14, 2016):

i did this now and yes the ./arma3server details is fixed but somehow i'm still getting query error even tho the console says it connected successfully..

<!-- gh-comment-id:225853508 --> @ghost commented on GitHub (Jun 14, 2016): i did this now and yes the ./arma3server details is fixed but somehow i'm still getting query error even tho the console says it connected successfully..
Author
Owner

@ghost commented on GitHub (Jun 14, 2016):

nevermind guys all of you thanks for helping i fixed it :)

<!-- gh-comment-id:225854097 --> @ghost commented on GitHub (Jun 14, 2016): nevermind guys all of you thanks for helping i fixed it :)
Author
Owner

@UltimateByte commented on GitHub (Jun 14, 2016):

@koekblik2 The query fix isn't released yet, will come soon :)

<!-- gh-comment-id:225854167 --> @UltimateByte commented on GitHub (Jun 14, 2016): @koekblik2 The query fix isn't released yet, will come soon :)
Author
Owner

@ghost commented on GitHub (Jun 14, 2016):

i fixed the query issue everything is fixed now :)

<!-- gh-comment-id:225854727 --> @ghost commented on GitHub (Jun 14, 2016): i fixed the query issue everything is fixed now :)
Author
Owner

@igeighty commented on GitHub (Jun 14, 2016):

the query issue, did you fix it with the code above ? or another way .

<!-- gh-comment-id:225854908 --> @igeighty commented on GitHub (Jun 14, 2016): the query issue, did you fix it with the code above ? or another way .
Author
Owner

@ghost commented on GitHub (Jun 14, 2016):

with the code above :)

<!-- gh-comment-id:225855696 --> @ghost commented on GitHub (Jun 14, 2016): with the code above :)
Author
Owner

@igeighty commented on GitHub (Jun 14, 2016):

brilliant, thank you :)

<!-- gh-comment-id:225855861 --> @igeighty commented on GitHub (Jun 14, 2016): brilliant, thank you :)
Author
Owner

@UltimateByte commented on GitHub (Jun 14, 2016):

Well, should be fixed natively now.
Anyone experiencing the issue should run :
./arma3server update-functions

Thanks everyone :)

<!-- gh-comment-id:225913456 --> @UltimateByte commented on GitHub (Jun 14, 2016): Well, should be fixed natively now. Anyone experiencing the issue should run : `./arma3server update-functions` Thanks everyone :)
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406236934 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#696
No description provided.