rumblefrog / go-a2s

Golang implementation of Source Query
MIT License
68 stars 16 forks source link

client.QueryPlayer() may be broken due to a2s change. #12

Closed RootInit closed 10 hours ago

RootInit commented 11 hours ago

I just checked in one of my services that apparently died months ago. It queried Unturned servers and fetched a player list. Apparently the service down email never got sent because it has been down for months. I don't care to look into it and am only making this issue to warn people who may be going to use this library in the future since no updates have been made since.

The error I get is only: read udp MY-IP:39138->SERVER-IP:6144: i/o timeout

rumblefrog commented 10 hours ago

Network unreachable is not a problem of the library, I recommend checking via netcat for connectivity. This library follows Source's A2S protocol, which has not changed in eons, not sure what update to this library you would expect?

RootInit commented 7 hours ago

Network unreachable is not a problem of the library, I recommend checking via netcat for connectivity. This library follows Source's A2S protocol, which has not changed in eons, not sure what update to this library you would expect?

Appologies. It turned out to be that the servers I monitored blocked external a2s queries. I tested a different server with a python a2s library for convenience which worked and I reached flawed conclusions as it had been updated reciently.

Sorry again.