Monster notice

Status
Not open for further replies.
Newbie Spellweaver
Joined
Feb 22, 2021
Messages
14
Reaction score
0
HELLO GUYS GOOD DAY !

Can someone help me here about in Monster Notice

How i can make my monster notice to send Annouce in chat or in Caption
Monster notice :

I want to show my monster notice in CHAT or CAPTION
i want to show like this :
or show in chat :

Code :
 
Last edited:
Skilled Illusionist
Joined
Apr 21, 2010
Messages
378
Reaction score
96
g_DPCoreClient.SendSystem = also visible in chat

 

Attachments

You must be registered for see attachments list
Last edited:
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830

What have you actually tried?

Also taking a screenshot of public code and then forcing others to track it down to help you is pretty silly. You can easily just post the code.
 
Newbie Spellweaver
Joined
Feb 22, 2021
Messages
14
Reaction score
0
In the release its SendSystem i tried to change it to SendCaption but its not working .
 
Skilled Illusionist
Joined
Apr 21, 2010
Messages
378
Reaction score
96
For anyone that want it:

CAttackArbiter::OnDied
Code:
#ifdef __MONSTER_NOTICE
	if (m_pDefender->GetProp()->dwClass == RANK_SUPER)
	{
		CString BossNotice;
		BossNotice.Format(prj.GetText(TID_BOSSNOTICE), m_pAttacker->GetName(), m_pDefender->GetName());
		((CUser*)m_pAttacker)->AddText(BossNotice);
	}
#endif

defineText.h (source + resource)
Code:
#define TID_BOSSNOTICE							6066

textClient.inc
Code:
TID_BOSSNOTICE	0xffffffff
{
	IDS_TEXTCLIENT_INC_005617
}

textClient.txt.txt
Code:
IDS_TEXTCLIENT_INC_005617	%s has killed %s

Image:
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Feb 22, 2021
Messages
14
Reaction score
0


Thankyou so much Groxy!
 

Attachments

You must be registered for see attachments list
Status
Not open for further replies.