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

Crash when connecting on mobile #3

Open
TextualMold9830 opened this issue Oct 16, 2023 · 6 comments
Open

Crash when connecting on mobile #3

TextualMold9830 opened this issue Oct 16, 2023 · 6 comments

Comments

@TextualMold9830
Copy link

When I'm connection on mobile after CompleteConnectionAndSpawn is sent Terraria crashes.

@jaydevelopsstuff
Copy link
Owner

This server was never intended for mobile, I'm not sure that the protocol is even the same.

@TextualMold9830
Copy link
Author

The protocol on mobile is version 274. I also saw that on PC an error is thrown and the client doesn't connect.

@jaydevelopsstuff
Copy link
Owner

The protocol on mobile is version 274. I also saw that on PC an error is thrown and the client doesn't connect.

Yeah, I haven't updated Pluto for the latest protocol in a while so that doesn't surprise me. If you'd like you can fork, open a pr and try to fix it for yourself and I'll merge it but I don't have the time to work on this project anymore.

@TextualMold9830 TextualMold9830 changed the title Crash when connection on mobile Crash when connecting on mobile Oct 24, 2023
@TextualMold9830
Copy link
Author

I don't know how to update it. Any instructions?

@TextualMold9830
Copy link
Author

PC seems to also crash:

Read:ManaEffect [43]
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:258)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)

@TextualMold9830
Copy link
Author

On a new character, on PC the player can connect but the world is empty

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

2 participants