Skip to content

HoMM3 HD is a mod (add-on) for the game Heroes of Might and Magic 3.

#3836
Auto-translated
Hello.

Is it possible, and if so, how can I choose the network adapter that the game uses/listens on for local network play?

We've encountered the following problem.
In the local network, the computers on which we want to play are all in the same subnet, 192.168.0.1/24. We can see each other on the local network without any problems.

Each computer also has 2-4 network interfaces (both physical and virtual). For example:
10.0.1.1/24 - on one
10.0.22.1/24 - on another
10.0.333.1/24 - on a third

When the game is launched, the server stubbornly waits for clients through the interface of the virtual networks 10.0.1.1/24.

To make the game start looking at the common local network 192.168.0.1/24, we have to disable the 10.0.1.1/24 interfaces and restart the game.

Is there a way to hardcode which network interface to use?
Routing traffic through the internet seems silly when we're all on the same local network.