OnurBoyla 1
OnurBoyla
noisiv 1
noisiv
Manwe Work 1
Manwe Work
farkmt2official 1
farkmt2official
mavzermete 1
mavzermete
dreamstone 1
dreamstone
Fethi Polat 1
Fethi Polat
Bvural41 1
Bvural41
Hikaye Ekle

Cevaplanmadı Problem with core

  • Konuyu başlatan Konuyu başlatan matyasvane
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 1
  • Görüntüleme Görüntüleme 168

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

Good day,
I have a problem with starting the kernel after compiling the Ikarus offline shop. The kernel does not start.


gdb:

0x0091cfa1 v event_create_ex (func=0xa14060 <offlineshop::func_offlineshop_update_duration(boost::intrusive_ptr<event>, long)>,
info=0x20d91018, when=1500) na event.cpp:31
31 new_event->q_el = cxx_q.Enqueue(new_event, when, thecore_heart->pulse);
(gdb)


How i can fix it?

Kod:
    EVENTFUNC(func_offlineshop_update_duration)
    {
        offlineshop::GetManager().UpdateShopsDuration();
        offlineshop::GetManager().UpdateAuctionsDuration();
        offlineshop::GetManager().ClearSearchTimeMap();
        offlineshop::GetManager().ClearOfferTimeMap();
        return OFFLINESHOP_DURATION_UPDATE_TIME;
    }

1.
Kod:
 void CShopManager::UpdateShopsDuration()
    {
        SHOPMAP::iterator it = m_mapShops.begin();
        for (; it != m_mapShops.end(); it++)
        {
            CShop& shop = it->second;

            if(shop.GetDuration() > 0)
                shop.DecreaseDuration();
        }
    }

2.
Kod:
    void CShopManager::UpdateAuctionsDuration()
    {
        AUCTIONMAP::iterator it = m_mapAuctions.begin();
        for (; it != m_mapAuctions.end(); it++)
        {
            CAuction& auction = it->second;
            auction.DecreaseDuration();
        }
    }
    }

3.
Kod:
 void CShopManager::ClearSearchTimeMap()
    {
        m_searchTimeMap.clear();
        m_offerCooldownMap.clear();
    }


4.
Kod:
 4.
    void CShopManager::ClearOfferTimeMap()
    {
        m_offerTimeMap.clear();
    }

Thank you
 
Son düzenleme:

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

Geri
Üst