Macro / Item Switcher Error

04/13/2020 08:43 Tweeney#1
I'm trying to copy a system called Macro/Item Switcher or __SWITCH_EQUIP from other Sources.

I got these errors (wondering I got this error is because of Tab Inventory System) and I'm a bit lost here so I decided to post it here for help.


[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]


All help is much appreciated.

Thank you
04/13/2020 09:23 Naltalah#2
You overloaded the GetEquipItemProp with 2 different pointer types, therefore it can't resolve it with NULL.
Try this
Code:
#ifdef __TABBED_INV
ItemProp* GetEquipItemProp(CInventoryContainer<CItemElem>* pInventory, PEQUIP_INFO pEquipInfo, int nParts);
#else
ItemProp* GetEquipItemProp(CItemContainer<CItemElem>* pInventory, PEQUIP_INFO pEquipInfo, int nParts);
#endif
04/13/2020 09:57 Tweeney#3
Quote:
Originally Posted by Naltalah View Post
You overloaded the GetEquipItemProp with 2 different pointer types, therefore it can't resolve it with NULL.
Try this
Code:
#ifdef __TABBED_INV
ItemProp* GetEquipItemProp(CInventoryContainer<CItemElem>* pInventory, PEQUIP_INFO pEquipInfo, int nParts);
#else
ItemProp* GetEquipItemProp(CItemContainer<CItemElem>* pInventory, PEQUIP_INFO pEquipInfo, int nParts);
#endif
Thanks!

#CloseRequest
============

Sorry for Opening this thread again.

After testing the system

Bugs:
-I can't put any fashion/Cloaks/Mask/Accessories on the window (only the Weapon/Shield/Armors/Pets can put)
-I cant put the save macro on the taskbar slots (v19 taskbar)



Thanks

Video test: [Only registered and activated users can see links. Click Here To Register...]

--------------
Everything is FIXED

Only 1 problem, the shortcut button cant put on any slots on v19 taskbars