Wednesday, September 9, 2026
Monday, August 3, 2026
Showing Level on Trade Window [vs2003]
A small update, but still a meaningful addition — at least the players now have something fresh and new to see.
#include "GLCharClient.h"
FIND:
void CTradeWindow::SetTradeInfo ( CString strPlayerName, DWORD dwMasterID )
CHANGE TO THIS:
void CTradeWindow::SetTradeInfo ( CString strPlayerName, DWORD dwMasterID )
{
m_dwMasterID = dwMasterID;
if ( m_pMyPgae )
{
CString strMyName;
GLCharacter* pMyChar = GLGaeaClient::GetInstance().GetCharacter();
if ( pMyChar )
{
strMyName.Format ( "%s <Lv.%d>", pMyChar->m_szName, pMyChar->GetCharData().m_wLevel );
}
m_pMyPgae->SetPlayerName ( strMyName );
}
if ( m_pTarPage )
{
CString strTarName = strPlayerName;
PGLCHARCLIENT pTarChar = GLGaeaClient::GetInstance().GetChar ( dwMasterID );
if ( pTarChar )
{
strTarName.Format ( "%s <Lv.%d>", pTarChar->GetName(), pTarChar->GetLevel() );
}
m_pTarPage->SetPlayerName ( strTarName );
}
}

