Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Ignore Npc Dialogue

Skilled Illusionist
Joined
Apr 21, 2010
Messages
378
Reaction score
96
Option Window code:

WndOption.cpp

Add:

Code:
#ifdef __ignoreNpcDialogue
	CWndButton* pWndIgnoreNpcDialogue = (CWndButton*)GetDlgItem(WIDC_CHECK13);
	pWndIgnoreNpcDialogue->SetCheck(g_Option.ignoreNpcDialogue);
	pWndButton[0] = (CWndButton*)GetDlgItem(WIDC_CHECK13);
	if (pWndButton[0])
		pWndButton[0]->SetCheck(g_Option.ignoreNpcDialogue);
#endif

Add:

Code:
#ifdef __ignoreNpcDialogue
	CWndButton* pWndIgnoreNpcDialogue = (CWndButton*)GetDlgItem(WIDC_CHECK13);
#endif

Add:

Code:
#ifdef __ignoreNpcDialogue
	case WIDC_CHECK13:
	{
		if (pWndIgnoreNpcDialogue->GetCheck())
			g_Option.ignoreNpcDialogue = TRUE;
		else
			g_Option.ignoreNpcDialogue = FALSE;
	}
	break;
#endif

resdata.inc

At the bottom at "APP_OPTEX_AV12"

Code:
    WTYPE_BUTTON WIDC_CHECK13 "ButtCheck.bmp" 0 285 288 475 304 0x220008 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_019687
    }
    {
    // ToolTip
    IDS_RESDATA_INC_019688
    }

resData.txt.txt

Code:
IDS_RESDATA_INC_019687	Hide NPC dialog
IDS_RESDATA_INC_019688
 
Back
Top