• 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.

Monster notice

Status
Not open for further replies.
Skilled Illusionist
Joined
Apr 21, 2010
Messages
378
Reaction score
96
g_DPCoreClient.SendSystem = also visible in chat

avQVQar - Monster notice - RaGEZONE Forums
 
Last edited:
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
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 :https://prnt.sc/10c3zipI

I want to show my monster notice in CHAT or CAPTION
i want to show like this : https://prnt.sc/10c42pi
or show in chat : https://prnt.sc/10c445j

Code : Screenshot by Lightshot (prnt.sc)

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:
1sFyken - Monster notice - RaGEZONE Forums
 
Last edited:
Newbie Spellweaver
Joined
Feb 22, 2021
Messages
14
Reaction score
0
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:
1sFyken - Monster notice - RaGEZONE Forums


Thankyou so much Groxy!
 
Status
Not open for further replies.
Back
Top