Question about Pet

Elite Diviner
Joined
Oct 10, 2008
Messages
461
Reaction score
82
My pet is not picking up Gift Boxes.

Does anyone know where I can change that?

Is it in the source or resource?

Thank you.
 
One word! Im Fawkin Pro!
Loyal Member
Joined
Jul 1, 2010
Messages
1,254
Reaction score
359
a pickup pet should pick up everything, do you use a petfilter?
step 1. check in propitem.txt/specitem if theres any difference on gift box than other boxes....
step 2. check in source if theres a statement of what pickup pets can pick up
step 3. don't make gift boxes drop
 
Elite Diviner
Joined
Oct 10, 2008
Messages
461
Reaction score
82
Yes I use a pet filter.
In propitem.txt there is IK1_SYSTEM / IK2_SYSTEM / IK3_GEM
Where in the source should I look?
I need gift boxes drop for event.

I found this:
Code:
 #ifdef _PETFILTER_HOL_B
						//Error("Kind1: %i,Kind2: %i,Kind3: %i; pMover->m_pActMover->bQuestItem: %i", (int) pItemProp->dwItemKind1, (int) pItemProp->dwItemKind2, (int) pItemProp->dwItemKind3, (int)pMover->m_pActMover->bQuestItem);
						// BYTE cQuestItem , cWeapons , cArmor , cCards , cDrinks, cEggs, cStones , cAccessory
						if(!pOwner->bQuestItem && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_GEM && pItemProp->dwItemKind3 == IK3_GEM)
							b1 = TRUE;
						else if(!pOwner->bWeapons && pItemProp->dwItemKind1 == IK1_WEAPON)
							b1 = TRUE;
						else if(!pOwner->bArmor && pItemProp->dwItemKind1 == IK1_ARMOR)
							b1 = TRUE;
						else if(!pOwner->bCards && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_MATERIAL && pItemProp->dwItemKind3 != IK3_ULTIMATE && pItemProp->dwItemKind3 != IK3_ENCHANT && pItemProp->dwItemKind3 != IK3_PIERDICE)
							b1 = TRUE;
						else if(!pOwner->bFood && pItemProp->dwItemKind1 == IK1_GENERAL && (pItemProp->dwItemKind2 == IK2_FOOD || pItemProp->dwItemKind2 == IK2_REFRESHER || pItemProp->dwItemKind2 == IK2_POTION))
							b1 = TRUE;
						else if(!pOwner->bEggs && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_GENERAL && pItemProp->dwItemKind3 == IK3_EGG)
							b1 = TRUE;
						else if(!pOwner->bStones && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_MATERIAL && (pItemProp->dwItemKind3 == IK3_PIERDICE || pItemProp->dwItemKind3 == IK3_ENCHANT || pItemProp->dwItemKind3 == IK3_ULTIMATE || pItemProp->dwItemKind3 == IK3_SUPSTONE))
							b1 = TRUE;
						else if(!pOwner->bAccessory && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_JEWELRY)
							b1 = TRUE;
						else if( pItemProp->dwItemKind1 == IK1_GOLD && pItemProp->dwItemKind2 == IK2_GOLD && pItemProp->dwItemKind3 == IK3_GOLD )
							b1 = TRUE;
#endif
					if( pOwner->IsLoot( pItem, TRUE ) && b1 )	// ·çÆõǴ¾ÆÀÌÅÛÀÎÁö °Ë»çÇÔ.
					{
						vDist = pObj->GetPos() - pMover->GetPos();
						fDistSq = D3DXVec3LengthSq( &vDist );		// °Å¸® ±¸ÇÔ.
						if( fDistSq < 15 * 15 && fDistSq < fMinDist )	// 10¹ÌÅÍ À̳»°í... °¡Àå °Å¸®°¡ °¡±î¿î ¾ÆÅÛÀ» ãÀ½.
							pMinObj = pObj;
					}
				}
			}
		}
	}

Even regular pets aren't picking up anything but penya.
 
Last edited:
Elite Diviner
Joined
Oct 10, 2008
Messages
461
Reaction score
82
I've been trying to resolve my pet filter issue but I cant figure it out so I'm just going to take it out completely away from my source, the problem is I don't know what files to delete in my source. Can anyone help me get rid of my old pet filter?
 
Junior Spellweaver
Joined
Dec 29, 2012
Messages
126
Reaction score
0
When u telling that normal pets doenst pick up items to i would think it's not inside your source i think its specitem/propitem. What version do you use? sure you didnt changed the specitem or propitem in any way, Any logs ?