network bug workaround test

This commit is contained in:
Sen 2025-05-21 18:45:45 +02:00
parent f6b2fdf422
commit 41fae1317f
4 changed files with 13 additions and 2 deletions

View file

@ -22,7 +22,7 @@ public class PacketEncoder extends MessageToByteEncoder<Packet>
// if (Log.isTraceEnabled())
// {
// Log.debug("AUS: [" + p_encode_1_.channel().attr(NetConnection.ATTR_STATE).get() + ":" + integer + "] " + p_encode_2_.getClass().getName());
// Log.SYSTEM.debug("AUS: [" + p_encode_1_.channel().attr(NetConnection.ATTR_STATE).get() + ":" + integer + "] " + p_encode_2_.getClass().getName());
// }
if (integer == null)

View file

@ -10,9 +10,11 @@ public class LPacketLogin implements Packet<ILoginHandler> {
}
public void readPacketData(PacketBuffer buf) throws IOException {
buf.readStringFromBuffer(16);
}
public void writePacketData(PacketBuffer buf) throws IOException {
buf.writeString("TESTtestPlceHldr");
}
public void processPacket(ILoginHandler handler) {