Cancan.1234 1
Cancan.1234
farkmt2official 1
farkmt2official
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Hikaye Ekle

Altın Konu Anka2 Project SF | 2025

4.97 yıldız(lar) 36 Değerlendirme Değerlendirenler
For fixing the random core crash, we have to look into char.cpp at the MOB_FOLLOW_SYSTEM
FIND:

C++:
void CHARACTER::NotifyEnemyNPCs()
{
    if (m_set_dwEnemyNPCVID.empty())
        return;

    std::vector<DWORD> vecToRemove;
    for (const auto& dwNPCVID : m_set_dwEnemyNPCVID)
    {
        LPCHARACTER pkNPC = CHARACTER_MANAGER::Instance().Find(dwNPCVID);
        if (pkNPC)
        {
            extern bool __CHARACTER_GotoNearTarget(LPCHARACTER self, LPCHARACTER victim);
            __CHARACTER_GotoNearTarget(pkNPC, this);
        }
        else
            vecToRemove.push_back(dwNPCVID);
    }
    for (DWORD dwNPCVID : vecToRemove)
        RemoveEnemyNPC(dwNPCVID);
}
#endif

REPLACE:

C++:
void CHARACTER::NotifyEnemyNPCs()
{
    if (m_set_dwEnemyNPCVID.empty())
        return;

    std::vector<DWORD> vecCurrentNPCs(m_set_dwEnemyNPCVID.begin(), m_set_dwEnemyNPCVID.end());
    std::vector<DWORD> vecToRemove;

    for (const auto& dwNPCVID : vecCurrentNPCs)
    {
        LPCHARACTER pkNPC = CHARACTER_MANAGER::Instance().Find(dwNPCVID);
        if (pkNPC)
        {
            extern bool __CHARACTER_GotoNearTarget(LPCHARACTER self, LPCHARACTER victim);
            __CHARACTER_GotoNearTarget(pkNPC, this);
        }
        else
        {
            vecToRemove.push_back(dwNPCVID);
        }
    }

    for (DWORD dwNPCVID : vecToRemove)
    {
        RemoveEnemyNPC(dwNPCVID);
    }
}
#endif
 
For the people that encounter problems when trying to compile the source because of MariaDB and OpenSSL ceritifcate, you have to do the following:
go to: /usr/AnkaSource/Server/game/src/main.cpp
after the #include and #ifdef lines add this:
C++:
extern "C" {
    void* SSL_get_peer_certificate(const void* ssl) {
        return 0;
    }
}
 
For the people that want to fix the problem with Global Ranking being on the same key as item pickup:

go to /.../binary_unpack/root/game.py and look for the line:

Kod:
        if app.ENABLE_RANKING:
            onPressKeyDict[app.DIK_Z] = lambda : self.interface.OpenRanking()

Then remove or edit DIK_Z to your preffered key
 
Eline sağlık kral v4 yetti bana :)yanlız filesin hata listesini gösteren liste olsa miss olurdu fixleye fixleye giderdim :)
 
Son düzenleme:

Şu an konuyu görüntüleyenler (Toplam : 22, Üye: 1, Misafir: 21)

Geri
Üst