[Help] v17 Inventory Source

Status
Not open for further replies.
Junior Spellweaver
Joined
Aug 29, 2010
Messages
160
Reaction score
3
:thumbup:Hello i am working with v17 inventory tabs lately and so I need help since i don't have enough C++ knowledge and I only have an oriented vb 6.0 codes knowledge to fix it.

The v17 inventory tabs code is basically ripped from Dits source rev5 Beta. I have compiled all the codes and made it working with mine. the problem is that whenever i make /ci "egg" or the baruna pets it is not placing in pets tab. However if I try to /ci "Twinkle Stone" or /ci "Gothic Hat (F)" , they are actually placing in Quest and Fashions Tab.

I think the problem is at Mover.cpp :
BOOL CMover::AddItem( CItemBase* pItemBase )
{
#ifdef __TAB_INVENTORY
if (pItemBase->GetProp()->dwItemKind2 == IK2_CLOTHETC || pItemBase->GetProp()->dwItemKind2 == IK2_CLOTH)
{return m_Tabs[2].Add( (CItemElem*)pItemBase );}
else if (pItemBase->GetProp()->dwItemKind3 == IK3_PET || pItemBase->GetProp()->dwItemKind3 == IK3_EGG || pItemBase->GetProp()->dwItemKind3 == IK3_FEED)
{return m_Tabs[3].Add( (CItemElem*)pItemBase );}
else if(pItemBase->GetProp()->dwItemKind2 == IK2_GEM )
{return m_Tabs[4].Add( (CItemElem*)pItemBase );}
else {return m_Tabs[1].Add( (CItemElem*)pItemBase );}
#else
return m_Inventory.Add( (CItemElem*)pItemBase );
#endif

}

Please Help me :) Hints and Clues are highly appreciated
 
For now Tabbed Inventory source is at least full of bugs.

Without any knowledge of C++, leave that side of game and try something else.
 
For now Tabbed Inventory source is at least full of bugs.

Without any knowledge of C++, leave that side of game and try something else.

Sorry? Please read my thread carefully :) It's working and the only problem is the Egg. And I have enough not without knowledge with C++. I'm only asking for help since my knowledge is beyond its limits :thumbup:
 
Oh sorry, I haven't read it carefully enough.

Try editing you /createitem function in FuncTextCmd.inc to make it working.
 
Sorry? Please read my thread carefully :) It's working and the only problem is the Egg. And I have enough not without knowledge with C++. I'm only asking for help since my knowledge is beyond its limits :thumbup:

he didn't say it wasn't working he said it was full of bugs which it is and most people don't know how to fix it.

If you wait I'm sure Dave will fix it within the next rev or so

or you could try to sort it by item id instead of ik3
 
Last edited:
he didn't say it wasn't working he said it was full of bugs which it is and most people don't know how to fix it.

If you wait I'm sure Dave will fix it within the next rev or so

or you could try to sort it by item id instead of ik3

Yeah, I know, I said that I haven't read his post carefully enough. But anyways for now, source of v17 Tabbed Inventory is full of bugs.

@dean310 - try to drop Egg and pick up it again. Is it placed in Quest tab ?
 
Lol, didn't remember that eggs aren't able to be dropped. Try to drop it from monster and pick up it, or just change dropable option of Egg item. Then tell me in which tab it is.
 
Lol, didn't remember that eggs aren't able to be dropped. Try to drop it from monster and pick up it, or just change dropable option of Egg item. Then tell me in which tab it is.

Nevermind I'll skip with it:w00t: I found a bug where when I entered a dungeon (tower) All items went to one tab which is the Pets tab haha! . Thanks for your help anyways :D
 
Status
Not open for further replies.
Back