Hi guys I'am Clueless how this happen
so here is it.
I've set the NPC into
SetVenderType(4); where the currency exchange is Donate Chip
WndItemCtrl.cpp
#ifdef __EXTENDED_CURRENCY
else if(lpCharacter && lpCharacter->m_nVenderType == 2)
{
if( bRander == 0 && g_pPlayer->m_Inventory.GetAtItemNum( II_CHIP_FARM ) < (int)pItemElem->GetChipFarmCost() )
bRander = 1;
}
else if(lpCharacter && lpCharacter->m_nVenderType == 3)
{
if( bRander == 0 && g_pPlayer->m_Inventory.GetAtItemNum( II_CHIP_LIGHT ) < (int)pItemElem->GetChipLgCost() )
bRander = 1;
}
else if(lpCharacter && lpCharacter->m_nVenderType == 4)
{
if( bRander == 0 && g_pPlayer->m_Inventory.GetAtItemNum( II_CHIP_DONATE ) < (int)pItemElem->GetChipDonateCost() )
bRander = 1;
}
then After I've change that as you can see the fashion cost 1,000 Donate chip *Still red Signal for cannot buy or not enough Chip* but already have a 23,000+ Chips on my inventory and I've tried to buy that item then it says "You need more Chips."
so my question is how it is happen? thanks guys!