I have this problem, when I get level -15/60/120- my game crashes. Sorry my bad english
I found that when I use this code from DPClient.cpp the game closes when I select a character and if I remove it I can enter the world but the first problem happens again.
Code:
#ifdef __FASTJOBCHANGE
if
(
(g_pPlayer->GetLevel() == 15 && g_pPlayer->GetJob() == JOB_VAGRANT) ||
(g_pPlayer->GetLevel() == 60 && g_pPlayer->GetJob() >= JOB_MERCENARY && g_pPlayer->GetJob() <= JOB_MAGICIAN) ||
(g_pPlayer->GetLevel() == 120 && g_pPlayer->GetJob() >= JOB_KNIGHT && g_pPlayer->GetJob() <= JOB_ELEMENTOR && g_pPlayer->GetExpPercent() == 9999) ||
(g_pPlayer->GetLevel() == 120 && g_pPlayer->GetJob() >= JOB_KNIGHT_MASTER && g_pPlayer->GetJob() <= JOB_ELEMENTOR_MASTER && g_pPlayer->GetExpPercent() == 9999) ||
(g_pPlayer->GetLevel() == 130 && g_pPlayer->GetJob() >= JOB_KNIGHT_HERO && g_pPlayer->GetJob() <= JOB_ELEMENTOR_HERO)
)
{
SAFE_DELETE( g_WndMng.m_pJobChangeEx );
g_WndMng.m_pJobChangeEx = new CWndJobChangeEx;
g_WndMng.m_pJobChangeEx->Initialize();
}