Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 06:14

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

Advertisement



Removing NPC Chat Bubbles

Discussion on Removing NPC Chat Bubbles within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2014
Posts: 4
Received Thanks: 0
Removing NPC Chat Bubbles

I'm currently working with cuvvvies clean v15 source and I'm seeking a way to remove ALL NPC dialog chat bubbles that auto-pop on the screen when you enter/stand around town, thanks in advance! For better clarification [Not the chat box that pops up when clicking on an NPC for quests.]
DoctorOct is offline  
Old 11/15/2019, 11:48   #2



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
WndManager.cpp ⇒ CWndMgr::PutString
Scroll down to the very end of the function and change
Code:
if (dwStyle & TMS_DIALOG)
{
	if (pObj->GetType() == OT_MOVER)
	{
		TCHAR* lpszChat = (TCHAR*)_tcschr(lpszString, _T(':'));
		lpszChat += sizeof(TCHAR) * 2;	// Skip ": "
		g_DialogMsg.AddMessage(pObj, lpszChat, 0xffffffff, 0, dwPStyle);
	}
}
with
Code:
if (dwStyle & TMS_DIALOG)
{
	if (pObj->GetType() == OT_MOVER && ((CMover*)pObj)->IsPlayer())
	{
		TCHAR* lpszChat = (TCHAR*)_tcschr(lpszString, _T(':'));
		lpszChat += sizeof(TCHAR) * 2;	// Skip ": "
		g_DialogMsg.AddMessage(pObj, lpszChat, 0xffffffff, 0, dwPStyle);
	}
}
NPC Messages should be disabled this way and player messages are still enabled.
This is only client side if you want to make it optional for individual players by adding a settings option.

However, if you want to disable it completely (server side) then go to scriptlib.cpp ⇒ int APIENTRY Speak and comment out everything but return 1;
Sedrika is offline  
Thanks
3 Users
Old 11/16/2019, 00:54   #3
 
elite*gold: 0
Join Date: Sep 2014
Posts: 4
Received Thanks: 0
I could kiss you! Thanks a bunch
DoctorOct is offline  
Reply


Similar Threads Similar Threads
[Request] Proper NPC Removing + Fixs
08/05/2011 - Rappelz - 9 Replies
Hello, To start off : Yes i used the search button :facepalm: I would like to know the exact procedure to remove a NPC correctly from the server. Is there a command in-game by targetting a NPC i get it's ID? How could i determine a NPC in the database by it's IG name? Also, i'd like to know what is wrong with this : USE Arcadia
[Request] Removing NPC dots from map
08/12/2009 - Dekaron Private Server - 6 Replies
When you use the map you can see the NPCs as dots with descriptions on them. Due to I have some NPCs that are kinda bugged, or don't exist, I need to remove some specific dots. Can someone post a guide on how to do it?



All times are GMT +1. The time now is 06:14.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.