Closed Anjum9694 closed 5 years ago
That is a neat idea, should definitely be implemented.
I tried to implement it, you can view it at https://github.com/recreationx/uberstrok/blob/v0.1.x/src/UberStrok.WebServices/ServerManager.cs Works on my machine (using no-ip as a host provider), just build Uberstrok.WebServices with the above code and then test it our yourself.
Confirmed solution provided by @recreationx works.
If anyone with a dynamic IP wants to host a gameserver they will encounter this issue because right now the comm and gameserver portion of the file only accepts IP addresses instead of hostnames.
Every time the router restarts the IP address will be renewed thus have to update the server.json manually.
When a hostname is used the Uberstrike game shows Server is not reachable. The same hostname but as an IP address works.