[DEV]AB 1
[DEV]AB
Sevdamsın 1
Sevdamsın
TuZaKK 1
TuZaKK
kaptanmikro1 1
kaptanmikro1
farkmt2official 2
farkmt2official
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
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

Türkiye'de ilk Mobil & PC Aynı Anda Metin2 Oyna. Triarchonline kalıcı ve uzun ömürlü yapısı ile 24 Temmuz'da açılıyor. | 1-99 Mobil Metin2 Triarch 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