Newbie Spellweaver
- Joined
- May 23, 2014
- Messages
- 86
- Reaction score
- 0
Where ca I find required stat on source code?
You must be registered to see links
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!I add some new char stat for experiment and it workingUse ItemEditor will see it
I add some new char stat for experiment and it working
You must be registered to see links
but the problem is new added required stat is not showing in the gameYou must be registered to see links
tnx bro it finally showedUIItemInfoLoader.cpp
tnx bro it finally showed
You must be registered to see links
now I am working on required link because it still white not red
its working nowall text color is in UITextControl.h
this is example code of UIItemInfoLoader.cpp
void AddInfoItemAddon ( int nBasic, int nAddon, CString strFormat )
{
CString Text;
if ( nAddon )
{
Text.Format ( "%s:%d%s", strFormat, nBasic, GetNumberWithSign ( nAddon ) );
AddTextNoSplit ( Text, NS_UITEXTCOLOR:RIVATE ); // change this PRIVATE to color code according to UITextControl.h
}
else if ( nBasic )
{
Text.Format ( "%s:%d", strFormat, nBasic );
AddTextNoSplit ( Text, NS_UITEXTCOLOR:EFAULT );
}
}
all text color is in UITextControl.h
this is example code of UIItemInfoLoader.cpp
void AddInfoItemAddon ( int nBasic, int nAddon, CString strFormat )
{
CString Text;
if ( nAddon )
{
Text.Format ( "%s:%d%s", strFormat, nBasic, GetNumberWithSign ( nAddon ) );
AddTextNoSplit ( Text, NS_UITEXTCOLOR:RIVATE ); // change this PRIVATE to color code according to UITextControl.h
}
else if ( nBasic )
{
Text.Format ( "%s:%d", strFormat, nBasic );
AddTextNoSplit ( Text, NS_UITEXTCOLOR:EFAULT );
}
}