Jump to content

Empty buffer from a bukkit sent packet (to forge)


Plaigon

Recommended Posts

Hi, i don't exactly know how to explain my problem, but   the thermos server sends a custom payload packet as a first byte: the packet discriminator, and after my string content. But this String appears empty at the receiving on my client forge modded.

Here is the code:

Plugin (send):

https://pastebin.com/JzzXu5jB always tried with ByteArrayDataOutput, but same result

 

Packet:

https://pastebin.com/UmV36UQP

 

Saving packet lines:

https://pastebin.com/1iccd4T6 (mod)

https://pastebin.com/B6AaxWn5 (plugin)

 

Thanks in advance! Don't hesitate if you need some additional code =)

Edited by Plaigon
Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.