Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static MaplePacket getHello(short mapleVersion, byte[] sendIv, byte[] recvIv) {
- MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter(9); // was 8? change to 9? for V97?
- mplew.writeShort(0x0E);
- mplew.writeShort(mapleVersion);
- mplew.writeShort(ServerConstants.VERSION_PATCH); // patch number?
- mplew.write(49); // wtfux?
- mplew.write(recvIv);
- mplew.write(sendIv);
- mplew.write(9); // again with the 8/9
- return mplew.getPacket();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement