Closed ppaulis closed 10 months ago
Hello! You're welcome!
The internet thinks that for LAN you need port 10777 UDP, can you see if adding
- 10.0.0.11:10777:10777/udp
to the port section fixes it? If it does I'll update the documentation. I'll also have to look into if it's the same port for the UT99 server as well.
I was able to test this locally, and there's some weird stuff happening.
Based on the config, internet was correct in thinking that port 10777 UDP needs to be opened:
[IpDrv.MasterServerLink]
LANPort=11777
LANServerPort=10777
MasterServerList=(Address="utmaster.openspy.net",Port=28902)
However when I add that to the ports section, I see this in the logs every time the game queries the server for information:
RecvFrom returned SOCKET_ERROR 111
If I run the container in host network mode, it works fine. If I run the UT99 server specifying the ports like above (it uses 8777/UDP for the LAN query port), it also runs fine. So there's something weird that UT2004 doesn't like having it's network ports mapped. I assume since UT99 is newer (469c was released recently) it doesn't exhibit the same behavior.
I'm not sure what to do at the moment for this. For you, you can either run it in host network mode, or you can manually type in the IP address to connect manually (only the query seems to be affected).
Thanks! Running in network mode host is (in my case) a perfectly viable solution!
I'll close the issue.
Hi!
first of all, thanks for the great work and keeping those games alive! :-)
I'm running your image in a docker-compose setup for my upcoming LAN Party :
I changed the master server to openspy. But I can't see the server in UT2004's LAN browser.
Output of the container is :
Do you have any idea what I could be missing here..?
Thanks a lot, Best regards, Pascal