Can't join to local host Error code: 6 (v.3.1.2)

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
My_LAN
New user
Posts: 4
Joined: 01 Feb 2015, 13:55

Can't join to local host Error code: 6 (v.3.1.2)

Post by My_LAN »

I have problem to play WZ 2100 3.1.2 multiplayer in local lan. Both computers firewall is off. Password for hosted game is "pass".
With Client computer i try connect to Host by entering local IP address of host computer. After that i got a windows for password - enter it. And then i dropped to the Lobby. I see my hosted game, duble click on it, enter password, but still can't connect. It shows my hosted games on Lobby. Other players from internet can connect to my Hosted game.
In this message i attach Logs from Host computer.
Attachments
HOST_WZlog-0201_160954.txt
Log from host.
(21.06 KiB) Downloaded 218 times
HOST_netplay-20150201_161009.log
Log from host.
(7.62 KiB) Downloaded 198 times
My_LAN
New user
Posts: 4
Joined: 01 Feb 2015, 13:55

Re: Can't join to local host Error code: 6 (v.3.1.2)

Post by My_LAN »

Here is a log from Client side.
Attachments
Client_WZlog-0201_161049.txt
Log from client.
(17.37 KiB) Downloaded 194 times
Client_netplay-20150201_161054.log
Log from client.
(9.98 KiB) Downloaded 209 times
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Can't join to local host Error code: 6 (v.3.1.2)

Post by vexed »

You are using the wrong IP.
You want to use your LAN IP, not your external IP.

If you don't want your games to show on the lobby, then change lobby.wz2100.net to 127.0.0.1 in your config file.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
My_LAN
New user
Posts: 4
Joined: 01 Feb 2015, 13:55

Re: Can't join to local host Error code: 6 (v.3.1.2)

Post by My_LAN »

Hi vex, i'm not sure that you are right. Now i try and i got these results:

On Host:

Code: Select all

net     |08:50:44: [socketAccept:1085] Incoming connection from [0:0:0:0:0:ffff:c0a8:143]:/*%d*/ (FIXME: gives strict-aliasing error)
net     |08:50:44: [socketAccept:1086] Using socket 09C6F3B0
net     |08:50:44: [SocketSet_AddSocket:756] Socket added: set->fds[0] = 09C6F3B0
net     |08:50:44: [NET_CreatePlayer:427] A new player has been created. Player, IK_Player, is set to slot 1
net     |08:50:44: [NETallowJoining:2516] freeing temp socket 09C6F3B0 (2516), creating permanent socket.
net     |08:50:44: [SocketSet_DelSocket:770] Socket 09C6F3B0 erased (set->fds[0])
net     |08:50:44: [SocketSet_AddSocket:756] Socket added: set->fds[0] = 09C6F3B0
info    |08:50:44: [NETallowJoining:2556] **Rejecting player(0:0:0:0:0:ffff:c0a8:143), reason (6). 
net     |08:50:44: [NET_DestroyPlayer:439] Freeing slot 1 for a new player
net     |08:50:44: [SocketSet_DelSocket:770] Socket 09C6F3B0 erased (set->fds[0])
net     |08:50:52: [socketAccept:1064] setting socket (09C6F3B0) blocking status (false).
net     |08:50:52: [setSocketBlocking:801] Socket is set to non-blocking.
net     |08:50:52: [socketAccept:1085] Incoming connection from [0:0:0:0:0:ffff:509:5bc4]:/*%d*/ (FIXME: gives strict-aliasing error)
net     |08:50:52: [socketAccept:1086] Using socket 09C6F3B0
net     |08:50:52: [SocketSet_AddSocket:756] Socket added: set->fds[0] = 09C6F3B0
net     |08:50:52: [NETallowJoining:2430] Failed to process joining, socket not ready or no data, recv_result is :0
On client:

Code: Select all

net     |08:50:49: [NETjoinGame:2932] Trying to join [192.168.1.66]:2100 ...
net     |08:50:49: [socketOpen:1110] Connecting to [192.168.1.66]:2100
net     |08:50:49: [socketOpen:1127] setting socket (0D01E180) blocking status (false).
net     |08:50:49: [setSocketBlocking:801] Socket is set to non-blocking.
net     |08:50:49: [NETjoinGame:2965] Created socket_set 0CF459B0
net     |08:50:49: [SocketSet_AddSocket:756] Socket added: set->fds[0] = 0D01E180
net     |08:50:49: [NETjoinGame:3079] NET_REJECTED received. Error code: 6
In config file i don't add this "lobby.wz2100.net 127.0.0.1" sometime i play with other people from lobby. Local IP address i checked two times before posting :)
Host Local IP is: 192.168.1.66
Last edited by vexed on 04 Feb 2015, 04:47, edited 2 times in total.
Reason: added code tags
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Can't join to local host Error code: 6 (v.3.1.2)

Post by vexed »

net |08:50:44: [socketAccept:1085] Incoming connection from [0:0:0:0:0:ffff:c0a8:143]
...
info |08:50:44: [NETallowJoining:2556] **Rejecting player(0:0:0:0:0:ffff:c0a8:143), reason (6)
...
net |08:50:52: [socketAccept:1085] Incoming connection from [0:0:0:0:0:ffff:509:5bc4] is the lobby server.

So, 192.168.1.67 tried to connect, and they had the wrong password.

I only suggested to change to 127.0.0.1 for testing, to eliminate the password stuff.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
My_LAN
New user
Posts: 4
Joined: 01 Feb 2015, 13:55

Re: Can't join to local host Error code: 6 (v.3.1.2)

Post by My_LAN »

Yep. Problem exist only when password is set.
Today i tried host game on local network. Edit config on both computers. And host game without password - i can connect. But if i set password - i see error and i can't connect. It looks here is a bug in new version. A you need last logs?
Thanks Vex for your help to get know where is the problem.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Can't join to local host Error code: 6 (v.3.1.2)

Post by vexed »

Only the host needs to edit the config file, not the clients.

No need for logs.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Post Reply