Guest Мαя Posted July 30, 2015 Report Share Posted July 30, 2015 Buenas a tod@s, vengo a hacer este aporte que encontré en Metin2Dev porque es muy útil. ~ Utilidad: ~ Quitar brújula de Metines, salen todos los metines en el MiniMap, el farmeo de Metines es más sencillo y rápido. Guía: 1.- Entramos en: InstanceBase.h Buscamos: NAMECOLOR_WAYPOINT, Añadimos: NAMECOLOR_METIN, Deberá quedar de la siguiente manera: 2.- Entramos en: PythonCharacterManagerModule.cpp Buscamos: PyModule_AddIntConstant(poModule, "NAMECOLOR_MOB", CInstanceBase::NAMECOLOR_NORMAL_MOB); Añadimos: PyModule_AddIntConstant(poModule, "NAMECOLOR_METIN", CInstanceBase::NAMECOLOR_METIN); Deberá quedar de la siguiente manera: 3.- Entramos en: InstanceBaseEffect.cpp Buscamos: else if (IsPoly()) { return NAMECOLOR_MOB; } Añadimos: else if (IsStone()) { return NAMECOLOR_METIN; } Deberá quedar de la siguiente manera: 4.- Entramos en: PythonMiniMap.cpp Buscamos: m_NPCPositionVector.clear(); Añadimos: m_MetinPositionVector.clear(); Deberá quedar de la siguiente manera: Buscamos nuevamente: else if (pkInstEach->IsNPC()) { aMarkPosition.m_fX = ( m_fWidth - (float)m_WhiteMark.GetWidth() ) / 2.0f + fDistanceFromCenterX + m_fScreenX; aMarkPosition.m_fY = ( m_fHeight - (float)m_WhiteMark.GetHeight() ) / 2.0f + fDistanceFromCenterY + m_fScreenY; m_NPCPositionVector.push_back(aMarkPosition); } Añadimos: else if (pkInstEach->IsStone()) { aMarkPosition.m_fX = ( m_fWidth - (float)m_WhiteMark.GetWidth() ) / 2.0f + fDistanceFromCenterX + m_fScreenX; aMarkPosition.m_fY = ( m_fHeight - (float)m_WhiteMark.GetHeight() ) / 2.0f + fDistanceFromCenterY + m_fScreenY; m_MetinPositionVector.push_back(aMarkPosition); } Deberá quedar de la siguiente manera: Buscamos nuevamente: // NPC STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_NPC)); aIterator = m_NPCPositionVector.begin(); while (aIterator != m_NPCPositionVector.end()) { TMarkPosition & rPosition = *aIterator; m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY); m_WhiteMark.Render(); ++aIterator; } Añadimos: // Metin STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_METIN)); aIterator = m_MetinPositionVector.begin(); while (aIterator != m_MetinPositionVector.end()) { TMarkPosition & rPosition = *aIterator; m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY); m_WhiteMark.Render(); ++aIterator; } Deberá quedar de la siguiente manera: 5.- Entramos en: PythonMiniMap.h Buscamos: TInstanceMarkPositionVector m_NPCPositionVector; Añadimos: TInstanceMarkPositionVector m_MetinPositionVector; Deberá quedar de la siguiente manera: Una vez acabado iremos al Cliente, descomprimimos Root. 1.- Entramos en: root/colorinfo.py Buscamos: CHR_NAME_RGB_WARP = (136, 218, 241) Añadimos: CHR_NAME_RGB_METIN = (240, 255, 255) Si quieren elegir otros colores: 2.- Entramos en: root/introloading.py Buscamos: chrmgr.NAMECOLOR_WAYPOINT : colorInfo.CHR_NAME_RGB_WAYPOINT, Añadimos: chrmgr.NAMECOLOR_METIN : colorInfo.CHR_NAME_RGB_METIN, Deberá quedar de la siguiente manera: Tras finalizar totalmente la guía sin fallos el resultado final será el siguiente: Un gran agradecimiento a: safademirel ~ Metin2Dev Jeo, Dragonslayer, PACI and 5 others 8 Quote Link to comment Share on other sites More sharing options...
MiGueLiT0 Posted July 30, 2015 Report Share Posted July 30, 2015 Gracias guapo +1 xD Quote Link to comment Share on other sites More sharing options...
Guest DreamHQ Posted July 30, 2015 Report Share Posted July 30, 2015 Gracias por el aporte +1 Un saludo. Quote Link to comment Share on other sites More sharing options...
EzekielitohMercury Posted July 31, 2015 Report Share Posted July 31, 2015 +1 Quote Link to comment Share on other sites More sharing options...
Hawk Server's Posted July 31, 2015 Report Share Posted July 31, 2015 Muy buen aporte en cuanto sepa como compilar binario&source sera una de las cosas que usare Quote Link to comment Share on other sites More sharing options...
Hashirama Posted September 11, 2016 Report Share Posted September 11, 2016 0911 19:28:07865 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE mark_0 0911 19:28:11444 :: Traceback (most recent call last): 0911 19:28:11444 :: File "introLoading.py", line 209, in LoadData 0911 19:28:11445 :: File "introLoading.py", line 298, in __RegisterColor 0911 19:28:11445 :: AttributeError 0911 19:28:11445 :: : 0911 19:28:11445 :: 'module' object has no attribute 'NAMECOLOR_METIN' 0911 19:28:11445 :: Quote Link to comment Share on other sites More sharing options...
Fulger Posted September 11, 2016 Report Share Posted September 11, 2016 0911 19:28:07865 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE mark_0 0911 19:28:11444 :: Traceback (most recent call last): 0911 19:28:11444 :: File "introLoading.py", line 209, in LoadData 0911 19:28:11445 :: File "introLoading.py", line 298, in __RegisterColor 0911 19:28:11445 :: AttributeError 0911 19:28:11445 :: : 0911 19:28:11445 :: 'module' object has no attribute 'NAMECOLOR_METIN' 0911 19:28:11445 :: No has atribuido NAMECOLOR_METIN Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.