what do you mean i'm new i don't understand. i try to copy all files changes in tutorial by InfiniFlyff files but many error issue..
How can i add it from Infinity flyff files ????
Explain pls
what do you mean i'm new i don't understand. i try to copy all files changes in tutorial by InfiniFlyff files but many error issue..
How can i add it from Infinity flyff files ????
Explain pls
Download InifnityFlyFF files, after that open all.sln from infinity files, and search for__ADDSHOPITEM code (CTRL+SHIFT+F). and you just need to copy all the __ADDSHOPITEM code into your files in the same line where you copy.
for example in Mover.cpp
void CMover:
rocessRegenItem()
Code:
#if __VER >= 11 // __CSC_VER11_3
}
#endif //__CSC_VER11_3
}
you have to put #ifdef __ADDSHOPITEM is after #endif //__CSC_VER11_3. so it will looks like
Code:
#if __VER >= 11 // __CSC_VER11_3
}
#endif //__CSC_VER11_3
#ifdef __ADDSHOPITEM
if( pCharacter->m_venderItemAry3[i].GetSize() )
{
fShop = TRUE;
for( int j = 0; j < pCharacter->m_venderItemAry3[i].GetSize(); j++ )
{
pVendor = (LPVENDOR_ITEM)pCharacter->m_venderItemAry3[i].GetAt(j);
CItemElem itemElem;
itemElem.m_dwItemId = pVendor->m_dwItemId;
itemElem.m_nItemNum = (short)( prj.GetItemProp( pVendor->m_dwItemId )->dwPackMax );
itemElem.m_nHitPoint = prj.GetItemProp( pVendor->m_dwItemId )->dwEndurance;
if( m_ShopInventory[i]->Add( &itemElem ) == FALSE )
break;
}
}
#endif // __ADDSHOPITEM
}
im sorry im not good in english and explaining something because im still learning too, i hope this would be help you a bit