public static final byte[] getSecondAuthSuccess(final MapleClient client)
{
MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendPacketOpcode.LOGIN_SECOND.getValue()); // correct
mplew.write(0); // correct
mplew.writeInt(client.getAccID());// correct
mplew.write(client.getGender()); // correct
mplew.write(client.isGm() ? 1 : 0); // Admin byte - Find, Trade, etc.
mplew.writeShort(2); // correct
mplew.write(client.isGm() ? 1 : 0); // Admin byte - Commands
mplew.writeShort(client.getAccountName().length()); // new in v118
mplew.writeMapleAsciiString(client.getAccountName()); // correct > this might be it o.o where the hell wait up
// owait odinms don't has second auth woops
mplew.write(3); //0 for new accounts
mplew.write(0); // quiet ban
mplew.writeLong(0); // quiet ban time
mplew.writeShort(11); // new in v118
mplew.writeInt(client.getAccID()); // new in v118
//mplew.writeMapleAsciiString(""); // What the duck is this...
mplew.writeLong(PacketHelper.getTime(System.currentTimeMillis())); //really create date
mplew.writeInt(8); //idk
mplew.writeLong(Randomizer.nextLong()); //randomizer.nextLong(), remote hack check.
mplew.write(1); // Special character creation?
mplew.writeShort (0); // new in v118
mplew.write(1); // new in v118
mplew.write(1); // new in v118
mplew.write(1); // new in v118
return mplew.getPacket();
}