iRemain 17 Posted March 2, 2015 Share Posted March 2, 2015 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 Share on other sites More sharing options...
iRemain 17 Posted March 3, 2015 Author Share Posted March 3, 2015 seems that none knows New question : What function is use to display the name of the caracter? To show the name :-? How does the core take the names of the caracters from player.player? Link to comment Share on other sites More sharing options...
iRemain 17 Posted March 5, 2015 Author Share Posted March 5, 2015 just an idea? :-? Link to comment Share on other sites More sharing options...
iRemain 17 Posted March 5, 2015 Author Share Posted March 5, 2015 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 Share on other sites More sharing options...
ImBacK 8 Posted March 10, 2015 Share Posted March 10, 2015 up Link to comment Share on other sites More sharing options...
Premium MrLibya 554 Posted March 10, 2015 Premium Share Posted March 10, 2015 colorinfo.py CHR_NAME_RGB_PC = (255, 215, 76) If you're going to do something, then do it right. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now