no message

This commit is contained in:
Lenheart 2025-03-18 20:32:14 +08:00
parent 88639743fd
commit 7b10b439ec
2 changed files with 4 additions and 4 deletions

View File

@ -103,7 +103,7 @@ public class MaplePacketLittleEndianWriter {
}
public final void writeUTF8(final String s) {
this.writeInt(s.getBytes(StandardCharsets.UTF_8).length);
this.writeShort((int) (short)s.getBytes(StandardCharsets.UTF_8).length);
this.write(s.getBytes(StandardCharsets.UTF_8));
}

View File

@ -479,9 +479,9 @@ public class PacketHelper {
}
mplew.writeLong(getTime(-2L));
mplew.writeInt(-1);
mplew.writeUTF8("1");
mplew.writeUTF8("11");
mplew.writeUTF8("equip.getqg()");
mplew.writeUTF8("947330670");
mplew.writeUTF8("123456");
mplew.writeUTF8("514234");
} else {
mplew.writeShort((int) item.getQuantity());
mplew.writeMapleAsciiString(item.getOwner());