Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnected: Read error: java.io.EOFException #58

Open
OXAYAZA opened this issue Oct 6, 2015 · 2 comments
Open

Disconnected: Read error: java.io.EOFException #58

OXAYAZA opened this issue Oct 6, 2015 · 2 comments

Comments

@OXAYAZA
Copy link

OXAYAZA commented Oct 6, 2015

I can not connect to any server:
[ATOM] Disconnected: Read error: java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at org.darkstorm.darkbot.minecraftbot.protocol.AbstractProtocol.readHeader(AbstractProtocol.java:43)
at org.darkstorm.darkbot.minecraftbot.protocol.SocketConnectionHandler$ReadTask.run(SocketConnectionHandler.java:263)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

On the server:
java.io.IOExeption: Bad packet id 84
at ey.a(SourceFile:185)
at co.i(SourceFile:249)
at co.c(SourceFile:17)
at cp.run(SourceFile:94)
Disconnecting /127.0.0.1:52799: Protocol error
/127.0.0.1:52799 lost connection

Startup line:
java -jar DarkBot.jar --type bot --protocol 78 --offline --username ATOM --owner OXAYAZA --server localhost:25565

@Ac3W0lfJ3rk
Copy link

try another protocol, but it isnt working for 1.8

@vakkq
Copy link

vakkq commented Sep 24, 2017

Wrong protocol leaves a different error.
https://docs.oracle.com/javase/7/docs/api/java/io/EOFException.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants