Sysser:
char_item.cpp:6492:9: error: use of undeclared identifier 'iEmptyCell'
6492 | if ((iEmptyCell = GetEmptySkillBookInventory(item->GetSize())) == -1)
| ^
char_item.cpp:6501:9: error: use of undeclared identifier 'iEmptyCell'
6501 | if ((iEmptyCell = GetEmptyUpgradeItemsInventory(item->GetSize())) == -1)
| ^
char_item.cpp:6510:9: error: use of undeclared identifier 'iEmptyCell'compiling db.cpp
6510 | icompiling desc.cpp
f compiling desc_client.cpp
((iEmptyCell = GetEmptyStoneInventory(item->GetSize())) == -1)
| ^
char_item.cpp:6519:9: error: use of undeclared identifier 'iEmptyCell'
6519 | if ((iEmptyCell = GetEmptyBoxInventory(item->GetSize())) == -1)
| ^
compiling desc_manager.cpp
char_item.cpp:6528:9: error: use of undeclared identifier 'iEmptyCell'
6528 | if ((iEmptyCell = GetEmptyEfsunInventory(item->GetSize())) == -1)
| ^
char_item.cpp:6537:9: error: use of undeclared identifier 'iEmptyCell'
6537 | if ((iEmptyCell = GetEmptyCicekInventory(item->GetSize())) == -1)
| ^
char_item.cpp:6554:5: error: expected expression
6554 | else if (item->IsSkillBook())
| ^
char_item.cpp:6556:5: error: expected expression
6556 | else if (item->IsUpgradeItem())
| ^
char_item.cpp:6558:5: error: expected expression
6558 | else if (item->IsStone())
| ^
char_item.cpp:6560:5: error: expected expression
6560 | else if (item->IsBox())
| ^
char_item.cpp:6562:5: error: expected expression
6562 | else if (item->IsEfsun())
| ^
char_item.cpp:6564:5: error: expected expression
6564 | else if (item->IsCicek())
| ^
char_item.cpp:6848:2: error: expected expression
6848 | else if (item->IsSkillBook())
| ^
char_item.cpp:6850:2: error: expected expression
6850 | else if (item->IsUpgradeItem())
| ^
char_item.cpp:6852:2: error: expected expression
6852 | else if (item->IsStone())
| ^
char_item.cpp:6854:2: error: expected expression
6854 | else if (item->IsBox())
| ^
char_item.cpp:6856:2: error: expected expression
6856 | else if (item->IsEfsun())
| ^
char_item.cpp:6858:2: error: expected expression
6858 | else if (item->IsCicek())
| ^
char_item.cpp:6870:2: error: expected expression
6870 | else if (item->IsSkillBook())
Hatanın Olduğu Kod Bloğu:
#ifdef ENABLE_SPLIT_INVENTORY_SYSTEM
else if (item->IsSkillBook())
{
if ((iEmptyCell = GetEmptySkillBookInventory(item->GetSize())) == -1)
{
sys_log(0, "No empty ds inventory pid %u size %ud itemid %u", GetPlayerID(), item->GetSize(), item->GetID());
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼OAoCI°i AO´A ¾ÆAIAUAI ³E¹≪ ¸¹½A´I´U."));
return false;
}
}
else if (item->IsUpgradeItem())
{
if ((iEmptyCell = GetEmptyUpgradeItemsInventory(item->GetSize())) == -1)
{
sys_log(0, "No empty ds inventory pid %u size %ud itemid %u", GetPlayerID(), item->GetSize(), item->GetID());
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼OAoCI°i AO´A ¾ÆAIAUAI ³E¹≪ ¸¹½A´I´U."));
return false;
}
}
else if (item->IsStone())
{
if ((iEmptyCell = GetEmptyStoneInventory(item->GetSize())) == -1)
{
sys_log(0, "No empty ds inventory pid %u size %ud itemid %u", GetPlayerID(), item->GetSize(), item->GetID());
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼OAoCI°i AO´A ¾ÆAIAUAI ³E¹≪ ¸¹½A´I´U."));
return false;
}
}
else if (item->IsBox())
{
if ((iEmptyCell = GetEmptyBoxInventory(item->GetSize())) == -1)
{
sys_log(0, "No empty ds inventory pid %u size %ud itemid %u", GetPlayerID(), item->GetSize(), item->GetID());
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼OAoCI°i AO´A ¾ÆAIAUAI ³E¹≪ ¸¹½A´I´U."));
return false;
}
}
else if (item->IsEfsun())
{
if ((iEmptyCell = GetEmptyEfsunInventory(item->GetSize())) == -1)
{
sys_log(0, "No empty ds inventory pid %u size %ud itemid %u", GetPlayerID(), item->GetSize(), item->GetID());
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼OAoCI°i AO´A ¾ÆAIAUAI ³E¹≪ ¸¹½A´I´U."));
return false;
}
}
else if (item->IsCicek())
{
if ((iEmptyCell = GetEmptyCicekInventory(item->GetSize())) == -1)
{
sys_log(0, "No empty ds inventory pid %u size %ud itemid %u", GetPlayerID(), item->GetSize(), item->GetID());
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼OAoCI°i AO´A ¾ÆAIAUAI ³E¹≪ ¸¹½A´I´U."));
return false;
}
}
#endif