LOOHP / Limbo

Standalone Limbo Minecraft Server (Currently 1.21.3)
http://ci.loohpjames.com/job/Limbo/
Apache License 2.0
239 stars 29 forks source link

Error when pinging #16

Closed wisingman closed 3 years ago

wisingman commented 3 years ago

When pinging the server via socket connection check in proxy it runs this error in the Limbo console

[12:19:13 Error]java.io.EOFException
[12:19:13 Error]        at java.base/java.io.DataInputStream.readByte(DataInputStream.java:272)
[12:19:13 Error]        at com.loohp.limbo.utils.DataTypeIO.readVarInt(DataTypeIO.java:65)
[12:19:13 Error]        at com.loohp.limbo.server.ClientConnection.run(ClientConnection.java:179)

The ping still works, but that error is now sent every 5 seconds Thanks

LOOHP commented 3 years ago

Is it a modern server list ping or a legacy ping?

wisingman commented 3 years ago

This is a socket ping from a bungee plugin running the latest version of waterfall

wisingman commented 3 years ago

Also to add to this I'm having a problem with the API for a seperate plugin on the Limbo where it recieves packets from the rest of the network to execute tasks like staff chat & punishments but it's doing this:

java.lang.ClassCastException: class <CORE_CLASS> cannot be cast to class com.loohp.limbo.plugins.LimboPlugin (<CORE_CLASS> is in unnamed module of loader java.net.URLClassLoader @21be3395; com.loohp.limbo.plugins.LimboPlugin is in unnamed module of loader 'app')

That's using the following dependancy `

com.loohp
        <artifactId>Limbo</artifactId>
        <version>0.4.0-ALPHA</version>
    </dependency>`

Any ideas? All the best

LOOHP commented 3 years ago

Does your main class extends LimboPlugin? Also try 0.4.4-ALPHA instead.

wisingman commented 3 years ago

It can't find that in https://repo.loohpjames.com/repository

LOOHP commented 3 years ago

I made a mistake, 0.4.4-ALPHA should be available now