Jump to content

Index Pack Initialize in Binary [Skills Problem]


Recommended Posts

Hello, guys i have a one problem when i initialize the pack files in the binary of client.
this is problem with warrior skills https://metin2.download/picture/sk5mw0758TaFliJW991IRIk9h3BhiCx1/.png
 

Spoiler

bool PackInitialize(const char* c_pszFolder)
{
    if (_access(c_pszFolder, 0))
        return true;
    std::string stFolder = c_pszFolder + std::string("/");
    CTextFileLoader::SetCacheMode();
    CEterPackManager::Instance().SetCacheMode();
    CSoundData::SetPackMode();
    std::vector<std::string> packlist
    {
        "HERE IS MY PACK FILES",
    };
    for (const auto& pack : packlist)
        CEterPackManager::Instance().RegisterPack((c_pszFolder + std::string("/") + pack).c_str(), "*");
    CEterPackManager::Instance().RegisterRootPack((c_pszFolder + std::string("/") + std::string("root")).c_str());
    return true;
}

can anyone help me please ? 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.