Hi! I was wondering what file need to edit for Item Count in inventory? And give some hints in code if possible. Thanks!
https://www.elitepvpers.com/forum/flyff-pserver-guides-releases/4450346-168-slot-inventory.html
Thanks but this is not what I am looking for. I am looking for when the items in your inventory has maximum of 9999 to carry, I wanted to see that when I hover my mouse in that Item. there will be an Item Count of : 9999 something like this..Quote:
Code:https://www.elitepvpers.com/forum/flyff-pserver-guides-releases/4450346-168-slot-inventory.html
#define __ITEM_COUNT_TOOLTIP
void CWndMgr::PutCommand( CItemElem* pItemElem, CEditString* pEdit )
{
CString strTemp;
#ifdef __ITEM_COUNT_TOOLTIP
if (pItemElem->GetProp()->dwPackMax > 1)
{
short nItemNum = pItemElem->m_nItemNum;
strTemp.Format("\nQuantity: %d", nItemNum);
pEdit->AddString(strTemp, 0xFF808080);
}
#endif //__ITEM_COUNT_TOOLTIP
thank you again! :) :handsdown: :handsdown:Quote:
VersionCommon.h (Neuz)
WndManager.cppCode:#define __ITEM_COUNT_TOOLTIP
Under:
Place:Code:void CWndMgr::PutCommand( CItemElem* pItemElem, CEditString* pEdit ) { CString strTemp;
Credits:Code:#ifdef __ITEM_COUNT_TOOLTIP if (pItemElem->GetProp()->dwPackMax > 1) { short nItemNum = pItemElem->m_nItemNum; strTemp.Format("\nQuantity: %d", nItemNum); pEdit->AddString(strTemp, 0xFF808080); } #endif //__ITEM_COUNT_TOOLTIP
direktbottle / Kiseku