activeChar.sendVoteSystemInfo();
activeChar.sendPacket(new ExReceiveShowPostFriend(activeChar));
activeChar.sendPacket(new ExSubjobInfo(activeChar.getPlayer(), false));
activeChar.sendPacket(new ExVitalityEffectInfo(activeChar));
activeChar.sendPacket(new ExTutorialList());
activeChar.sendPacket(new ExWaitWaitingSubStituteInfo(true));
for (Effect effect : activeChar.getEffectList().getAllEffects())
{
if (effect.isInUse())
{
if (effect.getSkill().getId() == 10022)
{
activeChar.setIsIgnoringDeath(true);
}
}
}
if(Config.ALT_GAME_REMOVE_PREVIOUS_CERTIFICATES)
{
Skill [] allSkill = activeChar.getAllSkillsArray();
int totalCertificates = 0;
for(Skill skl : allSkill)
{
if(skl.getId() >= 1573 && skl.getId() <= 1581)
{
totalCertificates += skl.getLevel();
activeChar.removeSkill(skl,true);
}
}
if(totalCertificates > 0)
{
activeChar.getInventory().addItem(10280, totalCertificates);
_log.info("EnterWorld: Player - " + activeChar.getName() + " - Has received " + totalCertificates + " by previous skill certificate deletion." );
for(SubClass sc : activeChar.getSubClassList().values())
{
sc.setCertification(0);
activeChar.store(true);
}
}
}
activeChar.sendPacket(new ExAcquirableSkillListByClass(activeChar));
activeChar.setPartySearchStatus(true);
activeChar.sendPacket(new ExWaitWaitingSubStituteInfo(true));
checkNewMail(activeChar);
activeChar.sendPacket(new ExChangeMPCost(1, -3));
activeChar.sendPacket(new ExChangeMPCost(1, -5));
activeChar.sendPacket(new ExChangeMPCost(0, 20));
activeChar.sendPacket(new ExChangeMPCost(1, -10));