http://bugs.winehq.org/show_bug.cgi?id=16674
--- Comment #7 from Florian mcflow-forum@gmx.net 2009-01-04 07:20:26 --- (In reply to comment #5)
Can you try to set up your /etc/hosts file in a way that makes your hostname point to your network address instead of loopback and see if that fixes it?
The Problem is now, that I do not have a second machine to test it again. I can only test it starting the application with a second wineprefix and a different CD Key. I don't know if that makes sense... I rather don't think so.
At new Year's Eve I had a friend here. He used Windows, I used wine without the commit that I think to be a regression. First my hostname pointed to loopback. We were not able to see each other in the game list. Then I changed /etc/hosts so that it contained my local IP (192.168.13.90, if that is of any mean... he had *.91). 'hostname -i' returned it as well ;). Then in the multiplayer menu he was able to see me, read my chat messages but not able to join my opened games. I did not see him or his messages or his games in the multiplayermode. To exclude a problem with his firewall he joined a hamachi network and we had luck there were some people and he could play with them. The game seems not to provide a "join by ip" feature. Battlefield 1942 worked fine, although /etc/hosts contained "127.0.0.1" as my IP. We could play it very fine.
Another note: When I set /etc/hosts to '127.0.0.1 mymachinename', I was able to play the game in multiplayer mode with myself, using two different wine prefixes. When I set it to my local IP that did not work. I was not able to see the player using the other wineprefix.
When I use a wine version with that commit the situation is like in the first post of this bugreport. I try to get some terminal output from the winsock component.
I hope you understand the situations I described... If not you can send me a message in IRC. I'm "McFlow" there.