Boss Notice

08/06/2017 15:44 yanami99#1
i added this code on AttackArbiter.cpp at "void CAttackArbiter::OnDied()"

Quote:
#ifdef __MONSTER_NOTICE
if( m_pDefender->GetProp()->dwClass == RANK_SUPER )
{
CString BossNotice;
BossNotice.Format( prj.GetText(TID_BOSS_DIE), m_pAttacker->GetName(), m_pDefender->GetName());
g_DPCoreClient.SendSystem(BossNotice);
}
#endif
but i got this error

Quote:
AttackArbiter.cpp(1146) : error C2065: 'g_DPCoreClient' : undeclared identifier
AttackArbiter.cpp(1146) : error C2228: left of '.SendSystem' must have class/struct/union type
type is ''unknown-type''
please anyone can help me about this im noob on c++ sorry
08/06/2017 16:02 Hekmatyar#2
Code:
#include "DPCoreClient.h"
extern CDPCoreClient g_DPCoreClient;
08/06/2017 16:37 yanami99#3
thanks dude

hmmm how can i add the name that who kill or last hit the boss?

please close problem fix ty

someone close this i already if it thank you guys for your help

i already fix it thank you every much
08/11/2017 21:37 babyminion#4
Quote:
Originally Posted by yanami99 View Post
thanks dude

hmmm how can i add the name that who kill or last hit the boss?

please close problem fix ty

someone close this i already if it thank you guys for your help

i already fix it thank you every much
can you help me bro? :handsdown: :handsdown: :handsdown:
[Only registered and activated users can see links. Click Here To Register...]