Jump to content
Araştır
  • Diğer seçenekler ...
Sonuçları bul ...
Sonuçları bul ...

stinq3r

Uzaklaştırılmış
  • İçerik sayısı

    101
  • Katılım

  • Son ziyaret

  • Puan

    2,550 [ Bağış Yap ]

İletiler : stinq3r


  1. sorunu çözüm sıkıntı olan yer ReqLoadWebItemMall düzeltilmiş hali :

    void CUser::ReqLoadWebItemMall()
    
    {
    
    	try {
    
    		Packet result(WIZ_SHOPPING_MALL, uint8(STORE_CLOSE));
    
    
    
    		g_DBAgent.UpdateAccountKnightCashInGame(this->GetAccountName());
    
    
    
    		std::vector<_ITEM_DATA> itemList;
    
    
    
    		if (!g_DBAgent.LoadWebItemMall(itemList, this))
    
    			return;
    
    
    
    		// reuse the GiveItem() method for giving them the item, just don't send the packet
    
    		// as it's handled by STORE_CLOSE.
    
    		foreach(itr, itemList)
    
    			GiveItem(itr->nNum, itr->sCount, false);
    
    
    
    		for (int i = SLOT_MAX; i < SLOT_MAX + HAVE_MAX; i++)
    
    		{
    
    			_ITEM_DATA * pItem = GetItem(i);
    
    			result << pItem->nNum
    
    				<< pItem->sDuration
    
    				<< pItem->sCount
    
    				<< pItem->bFlag // item type flag (e.g. rented)
    
    				<< pItem->sRemainingRentalTime; // remaining time
    
    		}
    
    		Send(&result);

  2. Selamın aleyküm
    pus sistemin'de hiç bir sorun yok bakiye felan herşey görünüyor pus'da fakat pustan itemi çekiyorum inventory'e gelmiyor. Farklı bir gameserver ile deniyorum üzerime çektiğim itemler geliyor. özetler olursak kullandığım gameserver ile pustaki itemler üzerime gelmiyor başka bir gameserver ile pus'dan item çekmede bir sorun çıkmıyor yardımlarınızı bekliyorum iyi forumlar.

×
×
  • Yeni Oluştur...