• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[HELP] School Icon on Character name

Newbie Spellweaver
Joined
May 27, 2020
Messages
59
Reaction score
1
Can any one give me a hint where to fix this

DGlGHne - [HELP] School Icon on Character name - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
May 27, 2020
Messages
59
Reaction score
1
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
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Jan 1, 2021
Messages
92
Reaction score
13
what source u using from aizen or uknowmeknow?
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
 
Upvote 0
Banned
Banned
Joined
Nov 6, 2020
Messages
113
Reaction score
21
can you share split source for gm badge sir ?
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.
 
Upvote 0
Newbie Spellweaver
Joined
May 27, 2020
Messages
59
Reaction score
1
ohh same concept of what I did nice one
btw pan0s I have a new help thread if you don't mind take a look and see if you could help me tnks
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Oct 28, 2014
Messages
83
Reaction score
3


still no work.





Okay thank you, solved.



how come mine is not working. i did the gui already and i change the texture. but still the same.

37aauiG - [HELP] School Icon on Character name - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Upvote 0
Newbie Spellweaver
Joined
Jul 1, 2014
Messages
74
Reaction score
0
I succesfully merged this to my source without any errors but not working, i already add new gui .dds and .xml any solution on this?



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.
 
Upvote 0
Newbie Spellweaver
Joined
Jul 24, 2023
Messages
7
Reaction score
1
Hello, can some one help me to fix this error, or anyone share the right code for namedisplay.cpp thankyou
for GM Badge
 

Attachments

You must be registered for see attachments list
Upvote 0
Back
Top