Local Game using Direct connection & with/without router.

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
SteveHunter
New user
Posts: 1
Joined: 23 Sep 2013, 10:04

Local Game using Direct connection & with/without router.

Post by SteveHunter »

Hi WZ community. First great work on reviving and keeping alive the forefather of all 3D RTS games!

Now, MY house-mate and myself have been attempting to set up a local multiplayer game, so as we can skirmish against some AI and each other, but thus far we have had 2 evenings attempting to do so, and it has been fraught with disappointment. We are using v2.3.5 (old i know, but 3.1.0 does not work for the desktop, due to faulty gfx hardware/drivers)

Situation: Hosting the game alternatively on a win 7 desktop and a win 8 laptop. Connected over a) the wireless, b) the router via ethernet cable, and c) direct machine to machine via the same ethernet cable. In all cases the game failed to connect properly.

Desktop host has router forwarded ports 2100 for its ip. (router only accepts single ip. port forwarding - GRRRR VM!)
Laptop User is in the routers DMZ. (Again only 1 ip supported for the function)

Firewalls on local machines have been turned off for all attempts.

Results:Most success was found when Desktop hosts, Laptop connects via the router (wired/non wired) to the host. Connection is established (presumably through port 9990) and the host-made changes update on the client end. When all players are ready, host starts the game and moves to the loading splash screen. Laptop client is left looking at the gabe lobby screen (with player status, map, and rules etc).

For the other attempts, "connection error" was the result.

Cause?:I suspect that port 2100 is still blocked for the laptop, as my probing attempts still claim its blocked, But as to why the direct connection fails, I do not know. I am unable to forward port 2100 on the router for more than one machine

I have dozens of netlogs and wzlogs, and I don't know which relate to which attempts. The next set of tests I do ill be sure to separate them.

Can someone provide help with getting one of these methods to work?
either a) Direct connection (no router, just a cable)
or b) Local connection via the router (wired or otherwise) that wont need both computers to forward port 2100
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Local Game using Direct connection & with/without router

Post by NoQ »

1. For a local game, you do not need to forward ports or configure your router.
2. You can disable connection to the global lobby by changing lobby server address to localhost in the config file.
3. Join by IP, not via lobby. You are supposed to know IP addresses of your computers in your LAN.
4. You should check firewall settings, it may block the game on one or more of your machines.
5. You should still try to use at least 2.3.9, it has some bugfixes. You can also try to disable shaders and see if it helps running 3.1.0.
User avatar
Staff
Global Moderator
Global Moderator
Posts: 387
Joined: 27 May 2011, 04:08

Re: Local Game using Direct connection & with/without router

Post by Staff »

If this is windows, you can hit start->run->cmd.exe
then type ipconfig.
You will see something like:

Code: Select all

 Link-local IPv6 Address . . . . . : fe80::2494:9fb5:c4c3:cadc%10
 IPv4 Address. . . . . . . . . . . : 192.168.1.11
 Subnet Mask . . . . . . . . . . . : 255.255.255.0
 Default Gateway . . . . . . . . . : 192.168.1.1
You want to use the IPv4 Address. In this case, it is 192.168.1.11
Then, the other machine can join a game via IP, and type in 192.168.1.11 and it should find it, assuming no firewall is blocking LAN traffic.
Sorry, this account has been deactivated.
Please post issues in Website feedback instead, only Moderators can read things there.