|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Pharum
Gallente
|
Posted - 2011.06.02 21:38:00 -
[1]
Originally by: Palovana Can anyone using Linux and Wine connect to Sisi?
Despite 290 players online, I get STATUS: UNKNOWN.
Two different computers with different Internet providers, running Linux and Wine 1.3.21 (one is Ubuntu 10.10, one Xubuntu 11.04).
I can telnet to the 87.237.38.50 IP, port 26000 on both computers and get a response from the server, so it's not routing.
I don't have a dual-boot system to test with, but if anyone with a dual-boot box could put the latest Sisi build on both their Windows and Linux installs and test which one can connect, I'd wager a few million ISK that Windows will work but Linux on the same machine will not.
You would win that bet windows vista works fine wine 1.3.21 status: unknown seems the networking layer has changed: Network layer using: IOCP WINEDEBUG=+winsock gives lots of:warn:winsock:WS2_sendto -> ERROR 10014
|
Pharum
Gallente
|
Posted - 2011.06.03 14:48:00 -
[2]
Someone should probably file a bug report with wine http://bugs.winehq.org/
|
Pharum
Gallente
|
Posted - 2011.06.03 20:09:00 -
[3]
Originally by: Elegbara Edited by: Elegbara on 03/06/2011 19:48:58 Edited by: Elegbara on 03/06/2011 19:43:53 Could we point CCP devs to this problem and ask them to fix it?
They have created a socket and are trying to connect. This fails (errno 115, EINPROGRESS) but they still attempt to send data through it which results in error 10014.
Also the description of EINPROGRESS return value for connect call: [EINPROGRESS] O_NONBLOCK is set for the file descriptor for the socket and the connection cannot be immediately established; the connection shall be established asynchronously.
they are sending data expecting it to pass after the connection is made problem is they pass NULL as the 4th parameter to WSASendTo see http://msdn.microsoft.com/en-us/library/ms741693%28v=vs.85%29.aspx it can be null when lpOverlapped is not null but wine just checks its not null see http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ws2_32/socket.c#l3827 and returns 10014 error we see because it is null
|
Pharum
Gallente
|
Posted - 2011.06.03 20:19:00 -
[4]
Yes I think thats the fault and yes someone would need to change that test so that it did not error and I suspect change some other code further down as the code works on the assumption the pointer is valid if it got that far then build the code with the changes and test if it works then either report the findings or a patch to the wine team for inclusion.
|
Pharum
Gallente
|
Posted - 2011.06.14 23:19:00 -
[5]
wine bug report fixed but this only fixed WSASend() as that was what the original bug was filed against. WSARecvFrom() still appears to be broken causing wine to now crash when trying to connect to sisi. Seems Elegbara's patch which covered both send and recv needs the recv half being sent again as a separate bug report to winehq. Easiest solution is still to apply Elegbara's patch to 1.3.21 / 1.3.22
|
Pharum
Gallente
|
Posted - 2011.06.15 09:39:00 -
[6]
updated version of the patch against current git head ( just removes bits for now fixed WSASend ) http://pastebin.com/mnx3Uqq5
|
Pharum
Gallente
|
Posted - 2011.06.18 19:16:00 -
[7]
Edited by: Pharum on 18/06/2011 19:17:04
Originally by: jansaell I had some small problems with overlapped2.diff - it was in dos format and missing the last newline. after fixing that the patch worked well.
Oops sorry about the patch problem it applied fine here so I am guessing I messed up in copy pasting it to pastebin somehow.
|
|
|
|