Open cyphercolt opened 2 years ago
Apparently they've ripped out all of the UDP query code 😞 https://github.com/OpenTTD/OpenTTD/commit/8a2da494138b9dda5ae94d83a95153f2c68afb58
Apparently they've ripped out all of the UDP query code 😞 OpenTTD/OpenTTD@8a2da49
That'll explain why the server address no longer appears in the game server browser. I spent a good amount of time digging through reddit and openttd's discord looking for an ip for a 12.1 server to make sure it's not just my server.
Thanks for checking though, I guess I'll close with this comment (This is my first ever github issue, spent several hours doing R&D making sure it's not a me-issue)
We can leave this open, in case someone feels like implementing their new TCP game coordinator api, if it's even possible. https://github.com/OpenTTD/OpenTTD/pull/9411
OpenTTD queries are timing out on game version 12.0 and up. Querying servers in the server list that are on a version below 12.0 have no issues.
Query log from my server:
Note - I commented out lines 106-108 in openttd.js just to skip the protocol version error and it still times out on the 12.x servers, queries fine on the 1.11.x servers and lower.
Out of curiosity, I also tried protocol-valve and got a timeout. (probably because openttd doesn't use the valve protocol at all, tried it anyway after reading through a bunch of the issues in github)
Feel free to use my IP to test gamedig queries for openttd.
Note I can query my unturned server on the same IP with port 27015 and get a result successfully (using --type protocol-valve and --type unturned).