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!
evet slotlarda bir problem var o da pydeki dizilerden kaynaklı pek vaktim yok şu sıralar konuya güncelleme atarım o slot probleminin fixinişöyle söyliyim
shift sol tık seçiyor
k envanterinde shift sağ tık sandik iç görü + shift sol item ayirmabunu başka tuşa atamak lazım
envanterden seri sağ tık la ekleyince böyle oluyor daha eklenmiyor sanırım 59 slot bunlar kullanacak olan arkadaşlar test edebilir
Ekli dosyayı görüntüle 16485
bu arada o seri item koymakla vs vs ile alakası yok
onun sebebi envanterdeki ilk slottaki itemleri seçmeden kaynaklı muhtemelen 
Slotlardan kaynaklı oluşan sorunun fixi konuya eklenmiştir 

K envanterime uyarlamaya çalıştığımda bu hatayı alıyorum. Bu fonksiyonun tanımlanmadığını söylüyor ama konudakiyle aynı.
Kod bloklarını böyle yaptım yani simyayı iptal edince build ediyor.
char.cpp;
Kod:
char.cpp: In member function 'void CHARACTER::RemoveORSellOperation(BYTE)':
char.cpp:8479:53: error: 'GetDragonSoulInventoryItem' was not declared in this scope
item = GetDragonSoulInventoryItem(it->SlotIndex);
^
char.cpp:8533:53: error: 'GetDragonSoulInventoryItem' was not declared in this scope
item = GetDragonSoulInventoryItem(it->SlotIndex);
^
char.cpp:8593:53: error: 'GetDragonSoulInventoryItem' was not declared in this scope
item = GetDragonSoulInventoryItem(it->SlotIndex);
^
Kod bloklarını böyle yaptım yani simyayı iptal edince build ediyor.
char.cpp;
C++:
#ifdef KYGN_ITEM_REMOVE_OR_SELL
void CHARACTER::RemoveORSellOperation(BYTE value)
{
if (!value)
return;
switch(value)
{
case 1://İtemi Silme
{
if (R_S_I_SlotIndex.empty())
return;
LPITEM item;
for (std::vector <SItemRemoveORSellList>::iterator it = R_S_I_SlotIndex.begin(); it != R_S_I_SlotIndex.end(); it++)
{
if (it->window_type == 0)
item = GetInventoryItem(it->SlotIndex);
else if (it->window_type == 1)
item = GetSkillBookInventoryItem(it->SlotIndex);
else if (it->window_type == 2)
item = GetUpgradeItemsInventoryItem(it->SlotIndex);
else if (it->window_type == 3)
item = GetStoneInventoryItem(it->SlotIndex);
else if (it->window_type == 4)
item = GetBoxInventoryItem(it->SlotIndex);
else if (it->window_type == 5)
item = GetEfsunInventoryItem(it->SlotIndex);
else if (it->window_type == 6)
item = GetCicekInventoryItem(it->SlotIndex);
/*else if (it->window_type == 7)
item = GetDragonSoulInventoryItem(it->SlotIndex);*/
if (item != NULL)
{
item->Lock(false);
ITEM_MANAGER::instance().RemoveItem(item);
}
}
R_S_I_SlotIndex.clear();
break;
}
case 2:// Pencereyi Kapatma
{
if (R_S_I_SlotIndex.empty())
return;
LPITEM item;
for (std::vector <SItemRemoveORSellList>::iterator it = R_S_I_SlotIndex.begin(); it != R_S_I_SlotIndex.end(); it++)
{
if (it->window_type == 0)
{
item = GetInventoryItem(it->SlotIndex);
item->Lock(false);
}
else if (it->window_type == 1)
{
item = GetSkillBookInventoryItem(it->SlotIndex);
item->Lock(false);
}
else if (it->window_type == 2)
{
item = GetUpgradeItemsInventoryItem(it->SlotIndex);
item->Lock(false);
}
else if (it->window_type == 3)
{
item = GetStoneInventoryItem(it->SlotIndex);
item->Lock(false);
}
else if (it->window_type == 4)
{
item = GetBoxInventoryItem(it->SlotIndex);
item->Lock(false);
}
else if (it->window_type == 5)
{
item = GetEfsunInventoryItem(it->SlotIndex);
item->Lock(false);
}
else if (it->window_type == 6)
{
item = GetCicekInventoryItem(it->SlotIndex);
item->Lock(false);
}
/*else if (it->window_type == 7)
{
item = GetDragonSoulInventoryItem(it->SlotIndex);
item->Lock(false);
}*/
}
R_S_I_SlotIndex.clear();
break;
}
case 3:// İtemi Satma
{
if (R_S_I_SlotIndex.empty())
return;
LPITEM item;
DWORD dwPrice;
BYTE bCount;
for (std::vector <SItemRemoveORSellList>::iterator it = R_S_I_SlotIndex.begin(); it != R_S_I_SlotIndex.end(); it++)
{
if (it->window_type == 0)
{
item = GetInventoryItem(it->SlotIndex);
bCount = item->GetCount();
dwPrice = item->GetShopBuyPrice() * bCount;
}
else if (it->window_type == 1)
{
item = GetSkillBookInventoryItem(it->SlotIndex);
bCount = item->GetCount();
dwPrice = item->GetShopBuyPrice() * bCount;
}
else if (it->window_type == 2)
{
item = GetUpgradeItemsInventoryItem(it->SlotIndex);
bCount = item->GetCount();
dwPrice = item->GetShopBuyPrice() * bCount;
}
else if (it->window_type == 3)
{
item = GetStoneInventoryItem(it->SlotIndex);
bCount = item->GetCount();
dwPrice = item->GetShopBuyPrice() * bCount;
}
else if (it->window_type == 4)
{
item = GetBoxInventoryItem(it->SlotIndex);
bCount = item->GetCount();
dwPrice = item->GetShopBuyPrice() * bCount;
}
else if (it->window_type == 5)
{
item = GetEfsunInventoryItem(it->SlotIndex);
bCount = item->GetCount();
dwPrice = item->GetShopBuyPrice() * bCount;
}
else if (it->window_type == 6)
{
item = GetCicekInventoryItem(it->SlotIndex);
bCount = item->GetCount();
dwPrice = item->GetShopBuyPrice() * bCount;
}
/*else if (it->window_type == 7)
{
item = GetDragonSoulInventoryItem(it->SlotIndex);
bCount = item->GetCount();
dwPrice = item->GetShopBuyPrice() * bCount;
}*/
if (item != NULL)
{
const int64_t nTotalMoney = static_cast<int64_t>(GetGold()) + static_cast<int64_t>(dwPrice);
if (GOLD_MAX <= nTotalMoney)
{
ChatPacket(CHAT_TYPE_INFO, "Max Yang Limitine Ulastin");
item->Lock(false);
}
else
{
item->Lock(false);
ITEM_MANAGER::instance().RemoveItem(item);
PointChange(POINT_GOLD, dwPrice);
}
}
}
R_S_I_SlotIndex.clear();
break;
}
}
}
#endif
Son düzenleme:

