• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Max level effect (Source code)

Junior Spellweaver
Joined
Jul 17, 2011
Messages
153
Reaction score
3
GLCharClient.cpp

search
HRESULT GLCharClient::FrameMove
{
HRESULT hr=S_OK;

insert

if ( m_CharData.wLevel >= GLCONST_CHAR::wMAX_LEVEL && !m_bINVISIBLE)
DxEffGroupPlayer::GetInstance().PassiveEffect ( GLCONST_CHAR::strMAXLEVEL_AURA.c_str(), m_matTrans, STARGETID(CROW_PC,m_dwGaeaID,m_vPos) );

GLCharacter.cpp
search
HRESULT GLCharClient::FrameMove
{
HRESULT hr=S_OK;

insert

GLMSG::SNETPC_REQ_LEVELUP_FB NetMsg;
NetMsg.wLevel = m_wLevel;
if (m_wLevel >= GLCONST_CHAR::wMAX_LEVEL && !m_bINVISIBLE)
DxEffGroupPlayer::GetInstance().PassiveEffect ( GLCONST_CHAR::strMAXLEVEL_AURA.c_str(), m_matTrans, STARGETID(CROW_PC,m_dwGaeaID,m_vPos) );

GlogicData.cpp
search
std::string strCRUSHING_BLOW_EFFECT;

insert

std::string strMAXLEVEL_AURA = "";

GLogicDataLoad.cpp
search
cFILE.getflag( "fKILL_EXP_RATE", 1, 1, fKILL_EXP_RATE );

insert
cFILE.getflag( "strMAXLEVEL_AURA", 1, 1, strMAXLEVEL_AURA );

GLogicData.h
search
extern float fPK_ITEM_DROP;

insert
extern std::string strMAXLEVEL_AURA;

default.charclass
insert
strMAXLEVEL_AURA lighting_new.egp

congratz! now you have max level effect .
 
Newbie Spellweaver
Joined
Jul 9, 2019
Messages
60
Reaction score
1
HRESULT GLCharacter::FrameMove ( float fTime, float fElapsedTime )

Yeahh That's right
But the problem is i test it in emulator
The effect appeared but,
Doesn't follow,
It stays in the ground. Where i first summon
 
Back
Top