[MC-4148] cannot play lan games over ad-hoc mode Created: 05/Dec/12  Updated: 26/May/17  Resolved: 17/Dec/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.5, Snapshot 12w49a, Snapshot 12w50b
Fix Version/s: None

Type: Bug
Reporter: Maarten Thijs Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

windows 7 (both pc's) java 7 update 9


Attachments: JPEG File 2012-12-05 21.48.02.jpg    
Issue Links:
Duplicate
duplicates MC-2555 Cannot Connect To Own Server While No... Resolved
Confirmation Status: Unconfirmed

 Description   

me and 2 friends are trying to do an IT project but we don't have internet at our school. so I went to network center on my pc and chose the option ad-hoc mode. our pc's connected and we all got 5 bars connection with 11 mbps.
when I opened my world to lan and he tried to connect he received an error: Internal exception: java.io.IOXxception:Received string length longer than maximum allowed (23 >16). on my world I got the message: .... joined the game and at the same moment I got the message ..... left the game. when I tried to join his lan world I just got the end of stream error the moment I pressed connect to server. we tried it the other way around and we got 1 time-out and one instant end of stream.

we both got no crash report so if anyone tells me how I am supposed to get one please tell me.

what I exptected to happen was: we had a fast connection so he would just join my world.
what actually happened: we weren't able to play on each other worlds.

steps to reproduce:
1.place 2 pc's/laptops next to each other
2. go to neworkcentre and click on create new network.
3. choose the public option and choose a name for example: Mojang HQ
4. go to the other pc/laptop and connect with the Mojang HQ network.
5. wait a few seconds/ 1 minute untill you are connected. check the internet connection. it should be pretty good like at least 11mbps.
6. open your world to lan and let the other guy join your lan world.

UPDATE: sometimes when your pc's are connected over ad-hoc the other pc doesn't even detect the lan world.



 Comments   
Comment by Tails [ 02/Mar/13 ]

Reopened MC-2555.

Comment by Maarten Thijs [ 02/Mar/13 ]

then shouldn't this be marked as related to MC-10363 instead of a duplicate?

Comment by Kumasasa [ 01/Mar/13 ]

Well, I am not Tails, but the reason for this resolution is clear:
In this ticket one of the symptoms is described, but in MC-10363 the cause.
If you play ad-hoc you are naturally in offline mode, since no connection to an access point.

Comment by Maarten Thijs [ 01/Mar/13 ]

@Tails I asked you something

Comment by Maarten Thijs [ 01/Mar/13 ]

@Tails how can this be a duplicate if i created this ticket first!?
doesn't that mean that post MC-10363 is the duplicate?

Comment by Tails [ 01/Mar/13 ]

Duplicate of MC-10363.

Comment by Maarten Thijs [ 01/Mar/13 ]

@Tails @Kumasasa this bug is not fixed in the snapshot! I still receive the string length internal exception. this means this is not a duplicate of mc-2555.
Please reopen, I really need this for my project

Comment by Tails [ 17/Dec/12 ]

Duplicate of MC-2555.

Comment by Maarten Thijs [ 06/Dec/12 ]

okay

Comment by Kumasasa [ 06/Dec/12 ]

No, I'm playing in a wired LAN. I just explained the word.

Comment by Maarten Thijs [ 06/Dec/12 ]

kumasasa can you confirm this?

Comment by Kumasasa [ 05/Dec/12 ]

WLAN peer-to-peer connection without access point

Comment by Anon Ymus [ 05/Dec/12 ]

What exactly is ad-hoc mode?

Generated at Sun Jan 12 12:03:36 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.