Jump to content

Recommended Posts

  • 3 weeks later...
  • Active+ Member
On 5/4/2023 at 12:11 AM, Mali said:

thanks for reporting🫡

=== Map Filter for (__BL_PARTY_POSITION__) ===

Preview: https://metin2.download/picture/H1w6gj806vhW1lP9NlDwVkNwSff0T76B/.gif

 

>> PythonSystem.h add:

ATLAS_FILTER_PARTY_MEMBER_MAP = (1 << 5),

 

>> PythonMiniMap.cpp find:

if (pkInst && pkInst->IsPartyMember())

replace with:

if (CPythonSystem::Instance().CanRenderAtlasInstance(CPythonSystem::EAtlasFilter::ATLAS_FILTER_PARTY_MEMBER_MAP) && pkInst && pkInst->IsPartyMember())

 

>> uigamebutton.py add:

self.atlasFilterButtonList.append(GetObject("atlas_filter_party_member_map"))

and add a button in >> gameoptiondialog.py: atlas_filter_party_member_map

 

=== Map Filter for Offline Shop, Metin Stones & BOSS ===

Preview: https://metin2.download/video/Vqc2z5PR1E38dIsT22fHSDjerdBTL0YS/.mp4

 

>> PythonSystem.h add:

            MINIMAP_FILTER_OFFLINESHOP = (1 << 7),
            MINIMAP_FILTER_STONE = (1 << 8),
            MINIMAP_FILTER_BOSS = (1 << 9),

>> PythonMiniMap.cpp

replace while (aIterator != m_BossPositionVector.end()) with:

while (CPythonSystem::Instance().CanRenderMinimapInstance(CPythonSystem::EMinimapFilter::MINIMAP_FILTER_BOSS) && aIterator != m_BossPositionVector.end())

replace while (aIterator != m_MetinPositionVector.end()) with:

while (CPythonSystem::Instance().CanRenderMinimapInstance(CPythonSystem::EMinimapFilter::MINIMAP_FILTER_STONE) && aIterator != m_MetinPositionVector.end())

replace while (aIterator != m_ShopPositionVector.end()) with:

while (CPythonSystem::Instance().CanRenderMinimapInstance(CPythonSystem::EMinimapFilter::MINIMAP_FILTER_OFFLINESHOP) && aIterator != m_ShopPositionVector.end())

>> do the python part then. (uigameoption + gameoptiondialog.py)

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Metin2 Dev 3

spacer.png

Link to comment
Share on other sites

Announcements



×
×
  • 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.