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!

[HELP]Party finder

Newbie Spellweaver
Joined
Apr 19, 2024
Messages
18
Reaction score
0
Hi please help, how to add party finder in ep6 juver files thank you so much in advance
 
Newbie Spellweaver
Joined
Apr 19, 2024
Messages
18
Reaction score
0
Hi guys,

Anyone know how to fix this errors?
 

Attachments

You must be registered for see attachments list
Upvote 0
Master Summoner
Joined
Feb 6, 2019
Messages
575
Reaction score
159
Than


Thank you sir šŸ™ā¤ļø

Already fixed but party areas are not showing hehe
Already put areas in gameword but it is not appearing hmmm
you need to change the loop
C++:
void CPartyFinderWindow::InitPartySearch()
{
    PartyResetInfo();

    for ( int k = 0; k < 2; k++ ) // change < 2 to how many maps you added for example you added 4 make it 6
    {   
        CString strTemp;

        strTemp.Format( "%s", ID2GAMEWORD( "PARTYFINDER_AREAS", k) );
        int nIndex = m_pListTextBox->AddText ( strTemp.GetString(), NS_UITEXTCOLOR::WHITE );
        m_pListTextBox->SetTextData ( nIndex, k );
    }

    //select first line
    if ( m_pListTextBox->GetCount () > 0 )
    {
        m_pListTextBox->SetSelectPos( 0 );
        int nIndex = m_pListTextBox->GetSelectPos ();
        if ( m_pListTextBox->GetCount () <= nIndex || nIndex < 0  ) return;
        DWORD dwType = m_pListTextBox->GetTextData ( nIndex );
        m_nSelectIndexType = nIndex;
        //SelectPartyArea( dwType ); // ETO DI TO NEED, KASE MAGBABASED TAYO SA  PARTY SEARCH BUTTON
        m_pListTextBox->SetUseOverColor ( TRUE );
        m_pListTextBox->SetOverColor ( nIndex, NS_UITEXTCOLOR::ORANGE );
    }
    
    // FOR TEST PURPOSE LANG TO, THIS FUNCTION WILL BE CALLED ONLY WHEN THE BUTTON IS PRESSED
    /*SelectPartyArea (m_nSelectIndexType);*/
}
 
Upvote 0
Back
Top