gamedig / node-gamedig

Query game servers and not only! Node.JS/Deno or Bash (via the CLI).
https://www.npmjs.com/package/gamedig
MIT License
587 stars 143 forks source link

bug: Terraria protocol doesn't seem to be working #529

Closed Konrad13x closed 5 months ago

Konrad13x commented 5 months ago

Describe the bug The terraria protocol used to query terraria servers seems to be not working.

Steps To Reproduce I used gamedig on uptime kuma to ping one of my terraria game servers. The IP is my domain that is used to join the server with the port being the default 7777 terraria. I used the terraria:tshock protocol. Contributor podrivo also reports the issue with protocol citing that the protocol didn't work on other confirmed servers.

Expected behavior The query of the terraria server to work.

podrivo commented 5 months ago

I've tried several servers in this server list, but none responded. But then I took a look at the documentation and found this:

https://github.com/gamedig/node-gamedig/blob/ce9a1b0fecfb29bd2f6d5a7c6e9e7eba06ba2b09/GAMES_LIST.md?plain=1#L443-L447

Are you using the server mod and passing the token when querying?

podrivo commented 5 months ago

Hey @Konrad13x!

Did you manage to fix the issue by passing the token and using the server mod? Just wondering if we should take a look at the protocol or if it's working.

Thank you!