Tipologie server(PvM / PvP): PvM
*Resursă folosită: sursa/instant-switchbot-t105606.html
*ServerFiles utilizat: Zeryon2
*Syserr: Gol
Poză:
*Detalii suplimentare: Am comparat tot sistemul din server din alt server care este functionabil, sunt 1-1, nu stiu ce are. Mie schimbatoarele mi le gaseste, adica cand cand introduc arma zodiac/costum/item normal imi selecteaza acolo schimbaurile corecte, dar nu schimba absolut deloc. Oare sa nu le poata scade? Am gasit ceva pe forum dar acest Special Storage e mai diferit, nu am gasit sa aibe o anumita functie per categorie.
In char_item am asa:
#ifdef ENABLE_SWITCHBOT_WORLDARD
LPITEM CHARACTER::GetSwitchBotItem(WORD wCell) const
{
return GetItem(TItemPos(SWITCHBOT, wCell));
}
#endif
Apoi in functia GetItem am adaugate:
#ifdef ENABLE_SWITCHBOT_WORLDARD
case SWITCHBOT:
if (wCell >= SWITCHBOT_SLOT_MAX)
{
sys_err("CHARACTER::GetInventoryItem: invalid SWITCHBOT item cell %d", wCell);
return NULL;
}
return m_pointsInstant.pSBItems[wCell];
#endif
#ifdef ENABLE_EXTRA_INVENTORY
case EXTRA_INVENTORY:
if (wCell >= EXTRA_INVENTORY_MAX_NUM)
{
sys_err("CHARACTER::GetInventoryItem: invalid EXTRA item cell %d", wCell);
return NULL;
}
return m_pointsInstant.pExtraItems[wCell];
#endif

