Most visitors online was 8830 , on 6 Feb 2024
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!ohh thank you Lars
i'm actually messing around that NameDisplay.cpp and i didn't see anything wrong haha
i created normal account then it solves
now i'm trying to add badge for gm
#2
this source: https://forum.ragezone.com/f528/release-juver-source-with-in-1198375/
updates on gm badge done
It is a very easy function, try to do it by yourself.can you share split source for gm badge sir ?
You must be registered to see links
You must be registered to see links
You must be registered to see links
It is a very easy function, try to do it by yourself.
Hint:
NameDisplay.h NameDisplay.cpp
add a
CString strSchoolMarkGM[] =
{
"NAME_DISPLAY_SCHOOL1_GM",
"NAME_DISPLAY_SCHOOL2_GM",
"NAME_DISPLAY_SCHOOL3_GM"
};
for ( int i = 0; i < nSCHOOLMARK; ++i )
{
m_pSchoolMarkGM = CreateControl ( strSchoolMarkGM.GetString(), UI_FLAG_LEFT );
m_pSchoolMarkGM->SetVisibleSingle ( FALSE );
m_rcSchoolMarkGM = m_pSchoolMarkGM->GetLocalPos();
}
and then find SetName function,
if( RANPARAM::bFeatureHideGMInfo && m_sDISP_INFO.m_bHideGMInfo )
{
wSchoolMark = NODATA;
m_bClub = FALSE;
m_pClubMark->SetVisibleSingle ( FALSE );
}
copy below logic into the if-block, then replace m_pSchoolMark to m_pSchoolMarkGM.
Finally, serach NAME_DISPLAY_SCHOOL1 gui to add new gm gui.