Merhabalar hocalarım k envanter sistemini eklemeye çalışıyorum filesime ama char_item.cpp dosyamda dragon soula dair hiçbirşey yok arat bul yaparken dragon soula dair birşey bulamıyorum yardımcı olur musunuz
int CHARACTER::GetEmptyInventoryEx(LPITEM item)
int CItem::GetWindowInventoryEx()
int CHARACTER::GetEmptyInventoryEx(LPITEM item)
{
if (!item)
return -1;
int cell = -1;
if (item->IsDragonSoul())
cell = GetEmptyDragonSoulInventory(item);
#ifdef ENABLE_SPLIT_INVENTORY_SYSTEM
if (item->IsSkillBook())
cell = GetEmptySkillBookInventory(item);
if (item->IsUpgradeItem())
cell = GetEmptyUpgradeItemsInventory(item);
if (item->IsStone())
cell = GetEmptyStoneInventory(item);
if (item->IsBox())
cell = GetEmptyBoxInventory(item);
if (item->IsEfsun())
cell = GetEmptyEfsunInventory(item);
if (item->IsCicek())
cell = GetEmptyCicekInventory(item);
#endif
else
cell = GetEmptyInventory(item->GetSize());
return cell;
}
