Warzone2100 / warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://wz2100.net
GNU General Public License v2.0
3.24k stars 534 forks source link

Lobby slow when ipv6 is enabled #1158

Open koen20 opened 4 years ago

koen20 commented 4 years ago

Describe the bug When I open the lobby (or refresh) with ipv6 enabled it takes around 20 seconds to load and completely freezes the game. When I disable ipv6 everything works normal. I tested this on two different wifi networks.

To Reproduce Open Warzone on a network with ipv6 enabled and open the lobby.

Expected behavior A shorter load time for the lobby.

Your System:

johan-boule commented 4 years ago

Confirmed here. The workaround is to edit /etc/hosts, and put a line with the IPV4 address of the lobby server: 88.198.45.216 lobby.wz2100.net If you're on windos, you can, IIRC, find this UNIX file buried deep under x:\windows\system32\drivers\etc/hosts, or something.