[MC-2549] LAN worlds still broken (Linux) Created: 08/Nov/12 Updated: 06/Mar/13 Resolved: 17/Dec/12 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.4 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Guillermo Amaral | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 7 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Issue Links: |
|
||||||||
| CHK: | |||||||||
| Confirmation Status: | Unconfirmed | ||||||||
| Description |
|
It seems the server is identifying it's IP address as 0.0.0.0 now (obviously the address used to bind to all address - last fix). This results in clients failing to connect. |
| Comments |
| Comment by Kumasasa [ 16/Nov/12 ] |
|
So we can resolve this ticket as a duplicate of |
| Comment by Simon McVittie [ 16/Nov/12 ] |
|
The 1.4.5 prerelease seems to fix this in the way I suggested (part (3) only), and works for me (with two Linux machines, both upgraded). Please try again with that version. |
| Comment by Holger [ 14/Nov/12 ] |
|
1.4.4 on linux it's workse than before (1.4.2) now, as I could tweak /etc/hosts manually before, which is no longer possible when opening to 0.0.0.0. Workaround: starting the world as a true SMP version. |
| Comment by Debra S [ 10/Nov/12 ] |
|
I'm not on Linux, but I'm getting this issue with Windows 7 Ult x64. Particularly the 0.0.0.0 when I open to LAN... it's frustrating |
| Comment by Guillermo Amaral [ 08/Nov/12 ] |
|
CubeTheThird, happens on any network, tested on wifi managed, wifi adhoc and wired. Simon's right, his 3rd point should fix this particular issue. |
| Comment by Simon McVittie [ 08/Nov/12 ] |
|
I suggested three changes in a comment on # The two remaining changes are: 2) when announcing our address to the network, if listening on 0.0.0.0, replace it with (an attempt to find) our IP address in the 'AD' packet (optional; only needed if you want to remain compatible with versions < 1.4.4) and more importantly 3) when parsing an 'AD' packet, ignore the IP address in the packet, and replace it with the address from which the packet was received If Minecraft was open source (or not obfuscated) I'd have given you a complete patch http://www.pseudorandom.co.uk/~smcv/minecraft-1.3.2-lan-server-v4.diff (I had this working correctly as a mod for 1.3.2 / MCP 7.2; I can update it to 1.4.2 / MCP 7.19 if that would be useful, just ask.) The change in what MCP calls LanServerList.func_77551_a is the important bit. I doubt those names match what Mojang calls that class and function internally, though. |
| Comment by [Mod] CubeTheThird [ 08/Nov/12 ] |
|
What type of network are you using? |