Announcement reach max level
someone ask me this code before, i just take this from juversource xD
you can also modify it to make it automatic change when max level setting changed
Open GLCharMsg.cpp
find
Code:
inline HRESULT GLChar::MsgReqLevelUp ( NET_MSG_GENERIC* nmg )
add like this
Code:
// add system announcement max level
CString strTEXT;
if( m_wLevel >= 230 )
{
strTEXT.Format ( "Congratulations to '%s' Great Achievement Max Lv.230.", m_szName );
GLMSG::SNET_SERVER_GENERALCHAT NetMsgMaxLvl;
NetMsgMaxLvl.SETTEXT ( strTEXT.GetString() );
m_pGLGaeaServer->SENDTOALLCLIENT(&NetMsgMaxLvl);
}
if( m_wLevel > 20 )
{
GLITEMLMT::GetInstance().ReqAction( m_dwCharID, // ´ç»çÀÚ.
EMLOGACT_LEV_UP, // ÇàÀ§.
ID_CHAR, 0, // »ó´ë¹æ.
m_sExperience.lnNow, // exp
0, // bright
0, // life
0 ); // money
}
Re: Announcement reach max level
Re: Announcement reach max level
How about announcement of reaching max rebirth sir?
Re: Announcement reach max level
i'm not sure about rebirth but maybe you can check reborn time and level max at once
so, when they get max reborn and level , announcement will show