Anyone know where this is located? I looked all over my source, but couldn't find it. :x
Printable View
Anyone know where this is located? I looked all over my source, but couldn't find it. :x
MaplePacketCreator
is this it?
that was the only getauthsuccess in maplepacketcreatorPHP Code:public static MaplePacket getAuthSuccessRequestPin(MapleClient c, String account, boolean Devmode) {
MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendOpcode.LOGIN_STATUS.getValue());
mplew.writeInt(0);
mplew.writeShort(0);
mplew.writeInt(c.getAccID()); // Account IㅎD
mplew.write(0); // Gender, PIN select
mplew.write(0); // Administrator Byte
mplew.write(0);
mplew.write(0);
mplew.write(0); //v94+
mplew.writeMapleAsciiString(account);
mplew.write(0);
mplew.write(0); // quiet ban
mplew.writeLong(0); // quiet ban time
mplew.writeLong(0); // creation time
mplew.writeInt(0);
mplew.write(c.getPic() != null ? 1 : 0);
mplew.write(c.getPic() != null ? 1 : 0);
mplew.writeLong(0);
return mplew.getPacket();
}
All of the send packet handling should be in MPC, unless you're using something like TetraSEA or Celino, diff story.