Jump to content
  • 0

Index Pack Initialize in Binary [Skills Problem]


dattg1337

Question

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://prntscr.com/vh0ipq
 

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 ? 

Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing

    No registered users viewing this page.

  • Activity

    1. 7

      mobs/stone drop by level ?

    2. 31

      Metin2 Download Center - Backup Status

    3. 2

      Christmas 2020

    4. 0

      Weird Cryptopp Problem

    5. 0

      Hello i have error with skill!

    6. 1

      Gurgarath Sus

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