Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 21:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



About Boss Notice

Discussion on About Boss Notice within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
xToffer's Avatar
 
elite*gold: 0
Join Date: Apr 2018
Posts: 139
Received Thanks: 18
About Boss Notice

#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

when i killed the boss in colo it notice how i make it not notice only in the dungeons and not in the colo?
and make it smaller the notice like this



sorry for the english and grammar.

and the code is not mine
Credits to : banktakung
xToffer is offline  
Old 04/21/2018, 23:37   #2


 
Professor Linebeck's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 1,345
Received Thanks: 1,609
Quote:
Originally Posted by xToffer View Post
how i make it not notice only in the dungeons and not in the colo?
Your solution is already , just change the operator to !=.


Quote:
Originally Posted by xToffer View Post
and make it smaller the notice like this

Use SendCaption, not SendSystem.

If you don't get it, you might be able to c&p this code:
Code:
#ifdef __MONSTER_NOTICE
if( m_pDefender->GetProp()->dwClass == RANK_SUPER && m_pDefender->GetWorld()->GetID() != WI_WORLD_COLOSSEUM )
 {
     CString BossNotice;
     BossNotice.Format( prj.GetText(TID_BOSS_DIE), m_pAttacker->GetName(), m_pDefender->GetName());
     g_DPCoreClient.SendCaption(BossNotice);
 }
#endif
Professor Linebeck is offline  
Thanks
2 Users
Old 04/22/2018, 20:14   #3
 
xToffer's Avatar
 
elite*gold: 0
Join Date: Apr 2018
Posts: 139
Received Thanks: 18
Quote:
Originally Posted by Professor Linebeck View Post
Your solution is already , just change the operator to !=.



Use SendCaption, not SendSystem.

If you don't get it, you might be able to c&p this code:
Code:
#ifdef __MONSTER_NOTICE
if( m_pDefender->GetProp()->dwClass == RANK_SUPER && m_pDefender->GetWorld()->GetID() != WI_WORLD_COLOSSEUM )
 {
     CString BossNotice;
     BossNotice.Format( prj.GetText(TID_BOSS_DIE), m_pAttacker->GetName(), m_pDefender->GetName());
     g_DPCoreClient.SendCaption(BossNotice);
 }
#endif
thanks for this sir
xToffer is offline  
Old 04/23/2018, 09:06   #4
 
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
mine its not appearing can anyone help please?
babyminion is offline  
Old 04/23/2018, 09:12   #5
 
Minotaurr's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 203
Received Thanks: 15
Quote:
Originally Posted by babyminion View Post
mine its not appearing can anyone help please?
Send your code here
Minotaurr is offline  
Old 04/23/2018, 09:33   #6
 
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
Quote:
Originally Posted by Minotaurr View Post
Send your code here


i put this on attackarbitter.cpp
Code:
#include "DPCoreClient.h"
extern	CDPCoreClient		g_DPCoreClient;
and this is monster_notice entry:
Code:
#ifdef __MONSTER_NOTICE
if( m_pDefender->GetProp()->dwClass == RANK_SUPER && m_pDefender->GetWorld()->GetID() != WI_WORLD_COLOSSEUM )
 {
     CString BossNotice;
     BossNotice.Format( prj.GetText(TID_BOSS_DIE), m_pAttacker->GetName(), m_pDefender->GetName());
     g_DPCoreClient.SendCaption(BossNotice);
 }
#endif
babyminion is offline  
Old 04/23/2018, 09:54   #7
 
Minotaurr's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 203
Received Thanks: 15
Quote:
Originally Posted by babyminion View Post
i put this on attackarbitter.cpp
Code:
#include "DPCoreClient.h"
extern	CDPCoreClient		g_DPCoreClient;
and this is monster_notice entry:
Code:
#ifdef __MONSTER_NOTICE
if( m_pDefender->GetProp()->dwClass == RANK_SUPER && m_pDefender->GetWorld()->GetID() != WI_WORLD_COLOSSEUM )
 {
     CString BossNotice;
     BossNotice.Format( prj.GetText(TID_BOSS_DIE), m_pAttacker->GetName(), m_pDefender->GetName());
     g_DPCoreClient.SendCaption(BossNotice);
 }
#endif
Seems good to me, have you done VersionCommon?
#define __MONSTER_NOTICE \\
Minotaurr is offline  
Thanks
1 User
Old 04/23/2018, 10:24   #8
 
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
Quote:
Originally Posted by Minotaurr View Post
Send your code here
Quote:
Originally Posted by Minotaurr View Post
Seems good to me, have you done VersionCommon?
#define __MONSTER_NOTICE \\
yes i am and i define TID_BOSS_DIE on definetext nothing appears when i kill Boss ( RANK_SUPER )
babyminion is offline  
Old 04/23/2018, 10:35   #9
 
xToffer's Avatar
 
elite*gold: 0
Join Date: Apr 2018
Posts: 139
Received Thanks: 18
Quote:
Originally Posted by babyminion View Post
yes i am and i define TID_BOSS_DIE on definetext nothing appears when i kill Boss ( RANK_SUPER )
Code:
m_pAttacker->GetName(), m_pDefender->GetName());
in textclient.txt
Code:
 %s %s
xToffer is offline  
Thanks
1 User
Old 04/23/2018, 15:54   #10
 
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
Quote:
Originally Posted by xToffer View Post
Code:
m_pAttacker->GetName(), m_pDefender->GetName());
in textclient.txt
Code:
 %s %s
its works fine now and i use SendCaption instead of SendSystem but the system is still shouting. and 1 more im on Madrigal not just in colo or dungeon ( Still announcing )

babyminion is offline  
Old 04/24/2018, 07:50   #11
 
Minotaurr's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 203
Received Thanks: 15
Quote:
Originally Posted by babyminion View Post
its works fine now and i use SendCaption instead of SendSystem but the system is still shouting. and 1 more im on Madrigal not just in colo or dungeon ( Still announcing )



That’s exactly what this code does
Minotaurr is offline  
Old 04/24/2018, 15:50   #12
 
elite*gold: 0
Join Date: Mar 2017
Posts: 342
Received Thanks: 18
Quote:
Originally Posted by Minotaurr View Post
That’s exactly what this code does
i thought SendCaption is only for Event Greetings like @ ask btw thanks for the info
babyminion is offline  
Reply


Similar Threads Similar Threads
[Release]boss notice
05/21/2022 - Flyff PServer Guides & Releases - 12 Replies
find void CAttackArbiter::OnDied() #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);
*Notice*Warning Password stealing site*Notice*
12/28/2009 - World of Warcraft - 0 Replies
Notice is as follows, do not enter this site, if you get a notice in your email like this for gawd sakes dont give anyone your password Subject:World of Warcraft Account Trade Dispute Notice When we carry out a routine check when the account, we have evidence to show that your account has been involved in the disputed transactions. So we have to inform you visit our website(worldofwarcraft*com]fill out some information to facilitate our investigation. If you can not tie in with our soon...



All times are GMT +1. The time now is 21:09.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.