Solved ProtocolLib - Packet 15 Client Status (Get render distance)

Discussion in 'Plugin Development' started by Plo124, Nov 20, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Plo124

    I was looking on http://wiki.vg/Protocol#Client_Settings and I noticed there was a Client Settings packet, and it contained data about the render distance.

    Im using ProtocolLib, and Im trying to listen to the packet, but its not in the list

    Is there any way I can read this packet?

    Perhaps Comphenix will know
     
  2. Offline

    desht

    You should be aware that that page describes the current MC 1.7 protocol, which is considerably different from the existing 1.6.4 protocol used by the current CraftBukkit. You probably want to be looking here: http://wiki.vg/index.php?title=Protocol&oldid=4899 (an older version of the page). You'll notice that in 1.6.4, the packet for Client Status is 0xCD (205).
     
    Plo124 likes this.
  3. Plo124 Try listening for Packet204LocaleAndViewDistance (link).
     
    Plo124 and desht like this.
  4. Offline

    desht

    Yeah, packet 204 is the one for view distance, sorry :) I blindly looked up Client Status since that was in the subject line.
     
    CaptainBern likes this.
  5. Offline

    Plo124

Thread Status:
Not open for further replies.

Share This Page