[Bug 13246] New: Emperor - Rise of the middle kingdom detects wrong interface IP
http://bugs.winehq.org/show_bug.cgi?id=13246 Summary: Emperor - Rise of the middle kingdom detects wrong interface IP Product: Wine Version: 1.0-rc1 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs(a)winehq.org ReportedBy: maci(a)satgnu.net when i try to play a LAN game with Emperor - Rise of the Middle kingdom it wouldnt work at all, when i go to the options tab where one can select the interface for langames it shows my public ip correctly but the private ip is always shown as 127.12.34.56 also the "set interface" option where one can select another interface to be used does not work at all. tho the dialog shows all my interfaces and their ips correctly but the first entry in the list "Default" has an empty ip the only output i get is: fixme:wininet:InternetGetConnectedState always returning LAN connection. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 --- Comment #1 from Juan Lang <juan_lang(a)yahoo.com> 2008-05-15 18:01:19 --- How do you know it's a winsock bug? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 --- Comment #2 from Kai Blin <kai.blin(a)gmail.com> 2008-05-15 18:14:47 --- The 127.12.34.56 IP you see is us trying to work around your distro giving a loopback address for your hostname, which some windows games don't like. Try changing your /etc/hosts file to point to your network IP instead. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 --- Comment #3 from Marcel W. Wysocki <maci(a)satgnu.net> 2008-05-16 03:17:20 --- ok, adding ip hostname to /etc/hosts worked fine. anyways windows has the loopback entry in its hosts file too and only the loopback entry. so something is not behaving as it should -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 --- Comment #4 from Kai Blin <kai.blin(a)gmail.com> 2008-05-16 03:39:42 --- (In reply to comment #3)
anyways windows has the loopback entry in its hosts file too and only the loopback entry. so something is not behaving as it should
That's because Windows generally ignores the host file and gives you the IP address of the last interface that came up, whereas Unix systems always check the hosts file. This is very, very hard to work around and also only creates problems for applications that use gethostbyname( gethostname() ) to figure out their IP address, which is a bad idea even on Windows machines, as this will break if you have a multihomed host and the interface you don't want to use came up last. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 --- Comment #5 from Marcel W. Wysocki <maci(a)satgnu.net> 2008-05-16 03:56:58 --- i see, yet the bug remains that you cant select another interface to use -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 --- Comment #6 from Juan Lang <juan_lang(a)yahoo.com> 2008-05-20 13:31:00 --- Is there a demo version available? If so, does it exhibit the same behavior? Where can it be downloaded? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang(a)yahoo.com URL| |http://downloads.gamezone.co | |m/demosfiles/t9808.htm Severity|normal |minor Status|UNCONFIRMED |RESOLVED Keywords| |download Resolution| |INVALID --- Comment #7 from Juan Lang <juan_lang(a)yahoo.com> 2008-05-20 14:34:34 --- Okay, I found a downloadable demo. The one on the Sierra website is missing. You say that you can't select another interface to use. These are the steps I use: 1. Choose 'Multiplayer Scenarios' at the main menu 2. Click the 'Other Multiplayer' button 3. Select the 'Options' tab 4. Click the 'Choose Network Adapter...' button As you say, the first entry in the dialog that comes up has name '<Default>' and an empty IP address. I'm not sure that's a bug--does it do the same on Windows? The next entries have names of '<unknown>', and the correct IP address of each adapter. I have two Ethernet adapters, and each is listed. The loopback adapter is not listed. I can select either of the Ethernet adapters and click the 'Activate' button. So I think your original bug, detecting the wrong interface IP, was the result of a bad configuration. I can't reproduce not being able to select a different interface. The '<unknown>' adapter name is a bug, but a minor one. Unfortunately there's no iphlpapi component: it's a result of the Description field being left empty in GetAdaptersInfo. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | Summary|Emperor - Rise of the middle|Emperor - Rise of the middle |kingdom detects wrong |kingdom shows name <Unknown> |interface IP |for each network adapter --- Comment #8 from Juan Lang <juan_lang(a)yahoo.com> 2008-05-20 14:36:03 --- Oops, didn't mean to close it just yet. Changing summary to match the actual bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #9 from Juan Lang <juan_lang(a)yahoo.com> 2008-05-20 14:40:11 --- Patch sent: http://www.winehq.org/pipermail/wine-patches/2008-May/055010.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 --- Comment #10 from Marcel W. Wysocki <maci(a)satgnu.net> 2008-05-20 15:44:44 --- i can click the other interfaces as well.. but on the main lan game screen you can see the interface which is currently active for the game.. the changes dont apply -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 --- Comment #11 from Juan Lang <juan_lang(a)yahoo.com> 2008-05-20 17:13:40 --- That's the case in Windows too, I just checked. I also checked the '<Default>' entry in Windows: it also has an empty IP address. So the only bug left is that adapters have a name of '<Unknown>' in Wine, for which I've sent a patch. Please don't waste our time with bogus complaints. A behavior is only a bug if it behaves differently in Wine than in Windows. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #12 from Juan Lang <juan_lang(a)yahoo.com> 2008-05-21 10:25:54 --- This is fixed in today's git, update or wait for 1.0rc2. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13246 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Alexandre Julliard <julliard(a)winehq.org> 2008-05-23 10:38:05 --- Closing bugs fixed in 1.0-rc2. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org