berzahx 1
berzahx
romegames 1
romegames
Bodyguardd 1
Bodyguardd
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
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
Ben geçen ekleyip build ettim çalıştı bir sıkıntı olduğunu sanmıyorum :) sen ekleyememişsindir
fonksiyon değiştirmenin zor olacağını sanmıyorum
C++:
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) // ¾Ø|UØ¬Ø¥غUØ¬ UØ¶°UA
        {
            if (dwItemIndex != pSlot->dwItemIndex || c_rSlotList.size() != 1) // ´Ø¸¸¥ ¾Ø|UØ¬Ø¥غUØ¬¸e ¸Ua€˜ ØA¸Ø¥±e
                return false;
        }
    }

    return true;
}
 
fonksiyon değiştirmenin zor olacağını sanmıyorum
C++:
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) // ¾Ø|UØ¬Ø¥غUØ¬ UØ¶°UA
        {
            if (dwItemIndex != pSlot->dwItemIndex || c_rSlotList.size() != 1) // ´Ø¸¸¥ ¾Ø|UØ¬Ø¥غUØ¬¸e ¸Ua€˜ ØA¸Ø¥±e
                return false;
        }
    }

    return true;
}

Bekir Nabün

Crazy_
 

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

Geri
Üst