Page MenuHomeSchine - Phabricator

Starmade | Serverlist ping-check only trying TCP
Closed, FinishedPublic

Description

When checking if a server has a compatible version/is online with the serverlist, the StarMade only tries to connect using TCP. Any UDP server, even if announced, thus will never show up on the list, as they don't respond to TCP requests.

To reproduce:

  1. set USE_UDP to "true" in the server.cfg and enter the necessary data to announce the server to the serverlist.
  2. start the server
  3. open the serverlist in a separate client and search for the server.

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Serverside
Reproducible
Yes
Last tested (version)
0.19242
Category
Engine
First occurrence (version)
0.17
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

lancake updated the task description. (Show Details)Jun 3 2015, 7:29 PM
lancake added a project: Issue Navigation.
lancake changed Category from none/unspecified to Engine.
lancake changed Affected Gamemode(s) from none/unspecified to Serverside.
lancake set First occurrence (version) to 0.17.
lancake changed Reproducible from uncertain to Yes.
lancake set Last tested (version) to 0.19242.
lancake edited a custom field.
lancake edited Serverconfig (server.cfg). (Show Details)
lancake edited Clientconfig (settings.cfg). (Show Details)
lancake added a subscriber: lancake.
lancake created this task.
lancake raised the priority of this task from to High.
lancake changed the task status from Open to In Queue (Game).Jun 4 2015, 6:50 PM
Restricted Application edited projects, added Game Development, Starmade; removed Issue Navigation. · View Herald TranscriptJun 4 2015, 6:50 PM
Restricted Application added a commit: Restricted Diffusion Commit.Jun 6 2015, 6:49 AM
Restricted Application changed the task status from In Queue (Game) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptJun 6 2015, 6:49 AM

Hmm, can't even seem to get a TCP server to announce properly... Might be a port forwarding issue on my end.

Therefore I can't confirm that I fixed this properly, but there should be a stack trace if it's still not working, I'll need that please.

AndyP added a subscriber: AndyP.Jun 6 2015, 8:42 AM

Serverlist requires to have the server use "bind ip" (config) to exactly match the server list entry.

So if you for example host the server in LAN under 192.168.* and add your external IP to the list, it wont get listed,
even if the serverlist reaches the server, it thinks you are spoofing or duplicating an entry, by rerouting your alive check to a different server.

This is to prevent people from having multiple entries leading to one physical server.

Will poke Mega about it, he originally reported it.

Megacrafter127 closed this task as Closed.Jun 10 2015, 11:32 AM

Fix confirmed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJun 10 2015, 11:32 AM
AndyP removed Megacrafter127 as the assignee of this task.Jul 11 2015, 12:49 PM
AndyP removed a subscriber: AndyP.Jul 19 2015, 7:57 PM
AndyP shifted this object from the S1 Public space to the S3 Starmade space.Aug 11 2015, 8:56 PM
AndyP changed the edit policy from "Starmade (Project)" to "All Users".
AndyP set Task Type to Bug.
AndyP set OS-Specific to No.
AndyP set Hardware-Specific to No.
AndyP set Video Card Vendor to uncertain.
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 5:50 PM