FlyFF In-game announcements

11/02/2018 07:44 richmondco#1
Hi!

I need help, where do I find the file to edit the in-game announcements such as "Welcome to () FlyFF", and also in the chatbox announcement when you log-in.

and how to edit the start menu design?

thanks in advance
11/02/2018 10:53 Ecrypter#2
DPClient.cpp

Look for
PHP Code:
void CDPClient::OnJoinCAr ar 
PHP Code:
void CDPClient::OnJoinCAr ar )
{
    
CNetwork::GetInstance().OnEventCACHE_ACK_JOIN );
    
g_Neuz.m_dwTimeOutDis 0xffffffff;

    
CWndBasepWndBase    g_WndMng.GetWndBaseAPP_SELECT_CHAR );
    if( 
pWndBase )
        ( (
CWndSelectChar*)pWndBase )->Destroy();
    
g_WndMng.CloseMessageBox();

    
fJoin    TRUE;
    
OnSnapshotar );
    
fJoin    FALSE;

    
CMoverpMover    CMover::GetActiveMover();
    if( 
pMover )
    {
        
CString nick pMover->GetName();
        
g_WndMng.PutString"[Antihack] - Welcome to Reverance FlyFF ~ " nick "!"NULLprj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );
        
g_WndMng.PutString"[Antihack] - Antihack v4.10.0 | (C) by Reverance FlyFF."NULLprj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );

        
time_t    tNULL    time_null();
        for( 
int i 0pMover->m_Inventory.GetMax(); i++ )
        {
            
CItemElempItemElem    pMover->m_Inventory.GetAtId);
            if( 
pItemElem && pItemElem->m_dwKeepTime )
            {
                
char lpString[260]    = { 0, };
                
ItemProppItemProp        pItemElem->GetProp();
                if( 
pItemElem->IsFlagCItemElem::expired ) )
                {
                    
sprintflpStringprj.GetTextTID_GAME_ENDUSE ), pItemProp->szName );
                    
g_WndMng.PutStringlpStringNULLprj.GetTextColorTID_GAME_ENDUSE ) );
                }
                else
                {
                    
time_t t    pItemElem->m_dwKeepTime tNULL;
                    if( 
)
                    {
                        
CTimeSpan time);
                        if( 
time.GetDays() )
                        {
                            
sprintflpStringprj.GetTextTID_GAME_DAYUSE ), pItemProp->szNamestatic_cast<int>(time.GetDays() + 1) );
                            
g_WndMng.PutStringlpStringNULLprj.GetTextColorTID_GAME_DAYUSE ) );
                        }
                        else
                        {
                            
sprintflpStringprj.GetTextTID_GAME_TIMEUSE ), pItemProp->szNametime.GetHours() + );
                            
g_WndMng.PutStringlpStringNULLprj.GetTextColorTID_GAME_TIMEUSE ) );
                        }
                    }
                    else
                    {
                        
sprintflpStringprj.GetTextTID_GAME_TIMEUSE ), pItemProp->szName);
                        
g_WndMng.PutStringlpStringNULLprj.GetTextColorTID_GAME_TIMEUSE ) );
                    }
                }
            }
        }
    } 
this is for chat text appear

an this for announce system
PHP Code:
void CDPClient::OnGameJoinCAr ar )
{
    
ar >> g_WndMng.m_dwSavePlayerTime;
//    dwSavePlayerTime /= 60;
    
CString strMessage;
//    strMessage.Format( prj.GetText( TID_GAME_TOOLTIP_PLAYTIME ), dwSavePlayerTime / 60, dwSavePlayerTime % 60 );
//    g_WndMng.PutString( strMessage, NULL, 0xff0000 );
    
for( int i 0g_pPlayer->m_nReveranceSizei++ )
    {
        if( 
g_pPlayer->m_aReverance].m_wId != 0xffff && g_pPlayer->m_aReverance].m_wId != 0xff )
        {
            if( 
g_pPlayer->m_aReverance].m_nState != 14 )
            {
                
ReveranceProp pQestProp prj.m_aPropReverance.GetAtg_pPlayer->m_aReverance].m_wId );
                if( 
pQestProp )
                {
                    
strMessage.Formatprj.GetText(  TID_GAME_TOOLTIP_ROLEReverance ) , pQestProp->m_szTitle );
                    
g_WndMng.PutStringstrMessageNULL0xffff0000 );
                }
            }
        }
    }
    
strMessage.Formatprj.GetTextTID_GAME_TOOLTIP_PRELEVEL ) , g_pPlayer->GetLevel() );
    
g_WndMng.PutStringstrMessageNULL0xffff0000 );    


    
CString str;
    
CString strVersion;
    
CString strAntihack;
    
CString strNext;

    
CWndWorldpWndWorld = (CWndWorld*)g_WndMng.GetWndBaseAPP_WORLD );
    if( 
pWndWorld )
    {
        
        
strNext.Format("[Antihack] - Welcome to Reverance FlyFF ~ %s" "!",g_pPlayer->GetName());
        
strAntihack.Format("[Antihack] - Antihack v4.10.0 | (C) by Reverance FlyFF.");

        
g_Caption1.AddCaptionstrNextpWndWorld->m_pFontAPITitleFALSED3DCOLOR_ARGB2550255) );
        
g_Caption1.AddCaptionstrAntihackpWndWorld->m_pFontAPITitleFALSED3DCOLOR_ARGB2550255) );

        
    }



Hit thanks :)
11/02/2018 10:54 Dr. Peacock#3
TextClient.txt / .Inc or Source.
Just Search for the given Output Message :facepalm:
Design Edits are in the Theme folder.