Jadfii / dayzmagiclauncher

Straightforward, modern launcher for DayZ
https://dayzmagiclauncher.com
GNU General Public License v3.0
33 stars 11 forks source link

MagicLauncher web API fails to determine correct game port in some cases #2

Closed lava76 closed 4 years ago

lava76 commented 4 years ago

For example, adding this server (IP:SteamQueryPort): 193.135.10.111:46204

Will result in the game port being reported as a negative number (-19333): https://api.dayzmagiclauncher.com/servers/193.135.10.111:46204

The correct game port is returned by the Steam API (46203) so the issue doesn't seem to be on Steam side.

Jadfii commented 4 years ago

This issue was related to the query lib being used for the API.

Though the API repo is private, I've gone ahead and fixed this issue. Your server should report the correct game port now.

podrivo commented 3 years ago

Hey @Jadfii, I was wondering, how the query lib gets the queue for the servers? Thank you! 😄