VictoryasHD 1
VictoryasHD
Bodyguardd 1
Bodyguardd
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
ByYlmzTR 1
ByYlmzTR
aslan6474 1
aslan6474
romegames 1
romegames
berzahx 1
berzahx
Reklam vermek için turkmmo@gmail.com

[C++] Alondark54 Client Hatası Fix

  • Konuyu başlatan Konuyu başlatan ɑce
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 29
  • Görüntüleme Görüntüleme 4K

Türkiye'nin ilk Cross-Platform OldSchool MOBİL & PC 1-99 Sunucusu Lamira2 6 Kasım'da Açılıyor! Büyük Açılışı Kaçırma HEMEN TIKLA!

Client Sourceden Fixleyecez

Client Source / EterPythonLib/PythonGridSlotWindow.cpp

Ac

Sonra
​
Kod:
BOOL CGridSlotWindow::CheckMoving(DWORD dwSlotNumber,
DWORD dwItemIndex, const std::list<TSlot*>& c_rSlotList)
​
1.) PythonGridSlotWindow.cpp
2.) Aratılır.
3.) Degiştirilir.


Kod:
BOOL CGridSlotWindow::CheckMoving(DWORD dwSlotNumber, DWORD dwItemIndex, const std::list<TSlot*> & c_rSlotList)
{
    if (m_dwSlotStyle != SLOT_STYLE_PICK_UP)
        return TRUE;
    while (dwSlotNumber >= 45)
        dwSlotNumber -= 45;
    for (std::list<TSlot*>::const_iterator itor = c_rSlotList.begin(); itor != c_rSlotList.end(); ++itor)
    {
        TSlot * pSlot = *itor;
        if (dwSlotNumber == pSlot->dwSlotNumber && itor == c_rSlotList.begin())
                return true;
        if (0 != pSlot->dwItemIndex || pSlot->dwCenterSlotNumber != pSlot->dwSlotNumber)
        {
            if (dwItemIndex != pSlot->dwItemIndex || c_rSlotList.size() != 1)
                return false;
        }
    }
    return true;
}

df66150850e649aeb4cd01c0406e8d48.png


​
 
Moderatör tarafında düzenlendi:

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

Geri
Üst