Jump to content

Recommended Posts

  • 3 weeks later...
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
Link to comment
https://metin2.dev/topic/30705-map-filter/#findComment-157419
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.