Intercepting Packet12PlayerLook (and 13) from client with Spout

Discussion in 'Plugin Development' started by Zachar543, Dec 2, 2011.

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

    Zachar543

    I have been testing some on this. I cannot seem to get it to work. With spout I have tried using
    Code:
    SpoutManager.getPacketManager().addListener(12, new Sniffer12PlayerLook());
    But this only seems to catch packets being sent by the server to the clients. Is there anyway to catch packets from clients?

    Side note:
    I need this as I am trying to speed up the updates of "Player.getLocation().getYaw()" in vehicles as it is very slow to update in most cases.
     
  2. Offline

    Zachar543

    (Sorry for double post)
    Any one have any idea? Is there anyway I can speed this up?
     
  3. Offline

    Afforess

    Packet Listener is one way atm, you want to see the client packets from the server, it's complicated to say the least...

    This is better discussed on IRC than a forum thread :/
     
Thread Status:
Not open for further replies.

Share This Page