farkmt2official 1
farkmt2official
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Hikaye Ekle

Cevaplandı Mob Target System Client Sourcede Verdiği Hata

  • Konuyu başlatan Konuyu başlatan loyit120
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 9
  • Görüntüleme Görüntüleme 1K

Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 HEMEN TIKLA!

Client build ederken böyle bi hata alıyorum neyden kaynaklanıyor acaba
Kod:
Error    1    error LNK2001: unresolved external symbol "public: unsigned long __thiscall CPythonNonPlayer::GetMobResist(unsigned long,unsigned char)" (?GetMobResist@CPythonNonPlayer@@QAEKKE@Z)    C:\Users\sinan\Desktop\M2GO\client\Client\UserInterface\PythonNonPlayerModule.obj    UserInterface
Error    2    error LNK2001: unresolved external symbol "public: unsigned char __thiscall CPythonNonPlayer::GetMobRegenCycle(unsigned long)" (?GetMobRegenCycle@CPythonNonPlayer@@QAEEK@Z)    C:\Users\sinan\Desktop\M2GO\client\Client\UserInterface\PythonNonPlayerModule.obj    UserInterface
Error    3    error LNK2001: unresolved external symbol "public: unsigned char __thiscall CPythonNonPlayer::GetMobRegenPercent(unsigned long)" (?GetMobRegenPercent@CPythonNonPlayer@@QAEEK@Z)    C:\Users\sinan\Desktop\M2GO\client\Client\UserInterface\PythonNonPlayerModule.obj    UserInterface
Error    4    error LNK2001: unresolved external symbol "public: unsigned long __thiscall CPythonNonPlayer::GetMobGoldMin(unsigned long)" (?GetMobGoldMin@CPythonNonPlayer@@QAEKK@Z)    C:\Users\sinan\Desktop\M2GO\client\Client\UserInterface\PythonNonPlayerModule.obj    UserInterface
Error    5    error LNK2001: unresolved external symbol "public: unsigned long __thiscall CPythonNonPlayer::GetMobGoldMax(unsigned long)" (?GetMobGoldMax@CPythonNonPlayer@@QAEKK@Z)    C:\Users\sinan\Desktop\M2GO\client\Client\UserInterface\PythonNonPlayerModule.obj    UserInterface
 
Çözüm
C++:
BYTE CPythonNonPlayer::GetMobRegenCycle(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->bRegenCycle;
}

BYTE CPythonNonPlayer::GetMobRegenPercent(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->bRegenPercent;
}

DWORD CPythonNonPlayer::GetMobGoldMin(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->dwGoldMin;
}

DWORD CPythonNonPlayer::GetMobGoldMax(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)...
C++:
BYTE CPythonNonPlayer::GetMobRegenCycle(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->bRegenCycle;
}

BYTE CPythonNonPlayer::GetMobRegenPercent(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->bRegenPercent;
}

DWORD CPythonNonPlayer::GetMobGoldMin(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->dwGoldMin;
}

DWORD CPythonNonPlayer::GetMobGoldMax(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->dwGoldMax;
}

DWORD CPythonNonPlayer::GetMobResist(DWORD dwVnum, BYTE bResistNum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    if (bResistNum >= MOB_RESISTS_MAX_NUM)
        return 0;

    return c_pTable->cResists[bResistNum];
}
 
C++:
BYTE CPythonNonPlayer::GetMobRegenCycle(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->bRegenCycle;
}

BYTE CPythonNonPlayer::GetMobRegenPercent(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->bRegenPercent;
}

DWORD CPythonNonPlayer::GetMobGoldMin(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->dwGoldMin;
}

DWORD CPythonNonPlayer::GetMobGoldMax(DWORD dwVnum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    return c_pTable->dwGoldMax;
}

DWORD CPythonNonPlayer::GetMobResist(DWORD dwVnum, BYTE bResistNum)
{
    const CPythonNonPlayer::TMobTable* c_pTable = GetTable(dwVnum);
    if (!c_pTable)
        return 0;

    if (bResistNum >= MOB_RESISTS_MAX_NUM)
        return 0;

    return c_pTable->cResists[bResistNum];
}
kardeş adamsın ama 2019da kaldı be konu :D zorlasak 3 ay sonra kasım :D 1 yıl olucak :D
 
Çözüm

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

Geri
Üst