noisiv 1
noisiv
Manwe Work 1
Manwe Work
romegames 1
romegames
mavzermete 1
mavzermete
kaptanmikro1 1
kaptanmikro1
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 OldSchool MOBİL 1-99 Sunucusu Sezar2 9 Ekim'de Açılıyor! Rekor 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