RoyDefined / WebDoomer

WebDoomer is a fast and efficient Zandronum and QZandronum server browser as a web app.
GNU General Public License v3.0
4 stars 0 forks source link

Master server returns invalid ports for a server cluster #13

Open RoyDefined opened 5 months ago

RoyDefined commented 5 months ago

Describe the bug User Dal mentioned their server cluster doesn't show up in WebDoomer. On further investigation it turns out the server cluster (98.177.0.140) times out and doesn't return a response. image

However, the ports are completely wrong and should be different: image

The master server returns the wrong ports for some reason. This is the part where the port is being read: https://github.com/RoyDefined/WebDoomer/blob/09e2beb63d585c1cee263d337416b754a138851f/src/WebDoomer/WebDoomer/Services/Zandronum/MasterServer/Builder/MasterServerResultBuilder.cs#L68

Steps to reproduce N/A

Expected behavior The master server should return a port that is then parsed into a valid server endpoint.

Screenshots N/A

Additional context N/A