kryonet icon indicating copy to clipboard operation
kryonet copied to clipboard

Buffer underflow. Error

Open DevCubeHD opened this issue 9 years ago • 3 comments

Anyway I have 2 similar clients but get an error on the second one.

Server: http://hastebin.com/iqiwuzukif.sql Client 1 (Works): http://hastebin.com/gukidequfi.vbs Client 2 (Error): http://hastebin.com/pupefoqeja.md

Codes: Client 1 (Works): http://hastebin.com/jadawuzava.vbs Client 2 (Error): http://hastebin.com/cuvuheyena.vbs

There is a small difference: Client 1: Java Application Client 2: Spigot Plugin (https://www.spigotmc.org/), Modded Server Software for Minecraft Servers (dont tell me a kid ;))

Im very thankful for any answer! <3

DevCubeHD avatar Oct 12 '16 18:10 DevCubeHD

... nice support

DevCubeHD avatar Oct 16 '16 18:10 DevCubeHD

@NathanSweet

DevCubeHD avatar Oct 16 '16 18:10 DevCubeHD

your packet class have a default constructor? (even if not used) it must have default constructor or it wont work also make sure packet classes are exactly the same on client and server..

crehop avatar Dec 08 '16 19:12 crehop