LOOT PET WITHOUT A CHECK WHEN USING IT

Junior Spellweaver
Joined
Jan 22, 2024
Messages
148
Reaction score
53
I have been playing around to make this IK3_PET to have the check mark everytime you use it, because this is the main problem for all stat bugs on loot pet. Here's the functions I have been playing around. And maybe you know some place else to look and I havent check

Code:
void CMover::InactivateEatPet( void )
void CMover::ActivateEatPet( CItemElem* pItemElem )
void CMover::DoUseEatPet( CItemElem* pItemElem )

void CWndItemCtrl::OnDraw(C2DRender* p2DRender)
                if( pItemElem->GetTexture() )
                {
#if __VER >= 8 //__CSC_VER8_5
                    if(
                        ( pItemElem->m_nItemNum == pItemElem->GetExtra() || !m_useDieFlag )
                            && ( IsUsingItem(pItemElem) || pItemElem->m_bRepair
#if __VER >= 9    // __PET_0410
                                || ( nParent == APP_INVENTORY && g_pPlayer->GetPetId() == pItemElem->m_dwObjId )
#ifdef __EMP_LOOTER_PETFIX
                                || (nParent == APP_INVENTORY && g_pPlayer->GetEatPetItemId() == pItemElem->m_dwObjId)
                                || (nParent == APP_INVENTORY && g_pPlayer->HasActivatedEatPet() && pItemElem->IsEatPet())
#endif // __EMP_LOOTER_PETFIX

#endif    // __PET_0410
#ifdef __SYS_TICKET
                                || pPlayer->GetTicket() == pItemElem
#endif    // __SYS_TICKET
                            )
                    )
#else
                    if (IsUsingItem(pItemElem) || pItemElem->m_bRepair)
#endif    //__CSC_VER8_5
                    {
                        RanderIcon( p2DRender, pItemElem, x * 32, y * 32, nParent, 60 );
#if __VER >= 17
                        CheckTexture = m_textureMng.AddTexture(D3DDEVICE, MakePath(DIR_THEME, "WndItemCheck.bmp"), 0xffff00ff);
                        CheckTexture->Render(p2DRender, CPoint(x * 32, (y * 32) + 5), 255);
#endif
                    }

1774165729782 - LOOT PET WITHOUT A CHECK WHEN USING IT - RaGEZONE Forums

it doesnt really work weird. any idea?
 
Fixed it created whole new snapshot to make connections from dpclient > ws

#close thread
1774192089980 - LOOT PET WITHOUT A CHECK WHEN USING IT - RaGEZONE Forums
 
Upvote 0
Solution
Back