http://bugs.winehq.org/show_bug.cgi?id=9839
Summary: Game cannot connect using DirectPlay8.1 Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-dplay AssignedTo: wine-bugs@winehq.org ReportedBy: xsacha@gmail.com CC: blin@gmx.net
This game: Trash [free download from http://www.inhumangames.com ] is unable to connect to the server in latest git. I have used the directplay DLLs and associated overrides described on the wiki [ http://wiki.winehq.org/DirectPlayGames ]. Using the native DLLs, wine produces no errors or fixme's related to the issue. The only error appears in the game, "Could not connect to lobby." It is my understanding that this game's lobby should work as it is DirectPlay8.1.
I was curious on the status of the opensource DirectPlay8.1 libraries. They seem to be a long time coming. Any updates from the two people working on them?
Thanks, - xSacha
http://bugs.winehq.org/show_bug.cgi?id=9839
Jan Zerebecki jan.wine@zerebecki.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Difficulty|Hours |---
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #1 from Kai Blin blin@gmx.net 2007-10-08 12:10:06 --- Can you please check what IP address your hostname resolves to according to /etc/hosts?
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #2 from xsacha xsacha@gmail.com 2007-10-09 09:24:05 ---
From /etc/hosts:
127.0.0.1 localhost coco 127.0.1.1 coco
http://bugs.winehq.org/show_bug.cgi?id=9839
Kai Blin blin@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Kai Blin blin@gmx.net 2007-10-09 16:12:30 --- Ok, the problem is your /etc/hosts setup then.
Assuming your IP address is 192.168.0.1, change your /etc/hosts to look like:
127.0.0.1 localhost 192.168.0.1 coco
That should make your game work.
This is a configuration issue, not a bug in Wine, resolving as invalid.
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #4 from xsacha xsacha@gmail.com 2007-10-10 19:52:18 --- Damn, you are good! I'll try this out tomorrow. Hope it works.
I wonder why my /etc/hosts is setup incorrectly on every single distro I've ever installed. Ubuntu, Suse, mandrake, gentoo, CRUX, yeah even source based ones. Is this known by them?
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #5 from Kai Blin blin@gmx.net 2007-10-11 02:25:21 --- There are some good reasons why distros set up your hostname to point at a loopback address. Assuming your computer gets it's IP address via DHCP, the IP address usually keeps changing. Also, more and more people use laptop computers these days, and don't have network connectivity while traveling. In those cases you want to make sure the hostname actually resolves to an address programs can use. Lots of Unix programs were written with static IP addresses in mind.
This turns out to be a problem for Windows programs that were written by people who did not know about BSD socket "best practices". Those programs try to handle binding to an IP address themselves instead of binding to the "ANY" IP address and letting the computer take care of the routing. Many of those programs will fail on Windows if there are two active network cards and you want to play over the one that was initialized first.
I have yet to come up with a good solution to this that doesn't require people changing their /etc/hosts file.
http://bugs.winehq.org/show_bug.cgi?id=9839
xsacha xsacha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #6 from xsacha xsacha@gmail.com 2007-10-18 21:56:55 --- The suggested solution doesn't work
From /etc/hosts:
127.0.0.1 localhost 192.168.0.1 coco
I still get the "Could not connect to lobby" message with no errors or fixme's in wine using the dplay dlls provided on the website.
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2007-10-18 22:44:23 --- So you are saying that "192.168.0.1" is _THE_ IP address on your eth0? (or whatever interface you are you sing to connect to the Internet).
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #8 from Jesse Allen the3dfxdude@gmail.com 2007-10-19 08:13:28 --- These are the instructions I wrote for D2 for proper /etc/hosts. Make sure you follow them exactly because I found when you don't you will have problems.
1. Have a valid internet addressible IP address for internet play or proper NAT forwarding. 2. Have a hostname other than localhost. 3. In /etc/hosts, have a valid hostname of your computer listed with your current IP address you want to use and do not have your hostname listed with 127.0.0.1. Do not have "localhost 127.0.0.1" listed first either.
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #9 from xsacha xsacha@gmail.com 2007-10-19 10:04:36 --- I followed your advice and tried: 58.161.224.91 coco 127.0.0.1 localhost
as well as: 192.168.0.1 coco 127.0.0.1 localhost
Neither worked. Can you be more specific on what it should look like?
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #10 from xsacha xsacha@gmail.com 2007-10-19 10:06:01 --- Maybe just fix my /etc/hosts for me and I'll see what you did.
My loopback for localhost is: 127.0.0.1 My router's IP is: 192.168.0.1 My real IP is: 58.161.224.91
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #11 from Kai Blin blin@gmx.net 2007-10-19 13:28:03 --- Can you attach the output of running "ifconfig" in a console?
I need your computer's IP on the network, not the IP your router has.
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #12 from xsacha xsacha@gmail.com 2007-10-20 08:27:15 --- sacha@coco:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:11:2F:E0:B0:42 inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::211:2fff:fee0:b042/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:132511 errors:0 dropped:0 overruns:0 frame:0 TX packets:90069 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:98802587 (94.2 MB) TX bytes:20922912 (19.9 MB) Interrupt:16
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
You mean 192.168.0.100? Its IP on the network? Didn't think of that for some reason.
Unfortunately, using: 192.168.0.100 coco 127.0.0.1 localhost
gives the same error :(.
http://bugs.winehq.org/show_bug.cgi?id=9839
Alexander Nicolaysen Sørnes alex@thehandofagony.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex@thehandofagony.com
--- Comment #13 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2007-11-10 14:55:33 --- This reminds me of Warlods Battlecry III, which I belive uses DP 8.1. You don't get any errors but never see other players. Could you test one of the demos listed on the DirectPlay wiki page just to be sure?
http://bugs.winehq.org/show_bug.cgi?id=9839
xsacha xsacha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #14 from xsacha xsacha@gmail.com 2007-11-29 05:07:15 --- I have resolved this issue thanks to qwertymn in the irc channel. The DLL needs to be registered (I didn't see this instruction on the website, so maybe should be updated).
WINEDLLOVERRIDES="dpnet=n" regsvr32 dpnet
Now it works! :D
http://bugs.winehq.org/show_bug.cgi?id=9839
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #15 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-11-29 05:47:03 --- Here is qwertymn again ;) : This bug is perfectly valid. With builtin dpnet it just doesn't work. So i'm reopening this one again
http://bugs.winehq.org/show_bug.cgi?id=9839
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.inhumangames.com/ Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download
--- Comment #16 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-11-29 05:52:36 --- Confirming the bug. For whoever is going to work on wine's dpnet: Puzzle Quest is another app that dies because of wine's crappy dpnet
http://bugs.winehq.org/show_bug.cgi?id=9839
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Austin English austinenglish@gmail.com 2008-12-06 16:14:09 --- Trash works fine in 1.1.10.
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #18 from xsacha xsacha@gmail.com 2008-12-07 01:31:12 ---
Trash works fine in 1.1.10.
This would be because Trash no longer uses DirectPlay 8.1 due to incompatibilies with Windows Vista. Trash now uses RakNET and works fine on Linux.
Thanks for your time anyway.
http://bugs.winehq.org/show_bug.cgi?id=9839
--- Comment #19 from Jeff Zaroyko jeffz@jeffz.name 2008-12-07 01:44:35 --- (In reply to comment #18)
Trash works fine in 1.1.10.
This would be because Trash no longer uses DirectPlay 8.1 due to incompatibilies with Windows Vista. Trash now uses RakNET and works fine on Linux.
Thanks for your time anyway.
In any case, there are other bugs open for directplay games, like http://bugs.winehq.org/show_bug.cgi?id=4066
http://bugs.winehq.org/show_bug.cgi?id=9839
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org 2008-12-20 09:03:02 --- Closing bugs fixed in 1.1.11.
http://bugs.winehq.org/show_bug.cgi?id=9839
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified