Jump to content

Recommended Posts

Hi, could someone tell me what function does the binary use to acces colorinfo.py? the color of the name of the caracter.

If not form colorinfo.py then I think this is the one, but I'm not sure : 

 

const D3DXCOLOR& CInstanceBase::GetIndexedNameColor(UINT eNameColor)
{
if (eNameColor>=NAMECOLOR_NUM)
{
static D3DXCOLOR s_kD3DXClrNameDefault(0xffffffff);
return s_kD3DXClrNameDefault;
}


return g_akD3DXClrName[eNameColor];
}
Link to comment
https://metin2.dev/topic/5758-character-name-color/
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

ok :-?

A nother question: 

 

In pythonCaracterManager.cpp 

 

CInstanceBase * CPythonCharacterManager::GetInstancePtrByName(const char *name)
{
TCharacterInstanceMap::iterator itor;


for (itor = m_kAliveInstMap.begin(); itor != m_kAliveInstMap.end(); itor++)
{
CInstanceBase * pInstance = itor->second;


if (!strcmp(pInstance->GetNameString(), name))
return pInstance;
}


return NULL;
}
 
this is the functions that shows you the name?
Link to comment
https://metin2.dev/topic/5758-character-name-color/#findComment-36785
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.