[HELP] Transfer Awake/Augs

05/27/2020 16:05 OptimalSolution#1
Hey guys,

I have transfer scrolls and scroll of augmentation implemented, however, it doesn't work on pets/masks/cloaks/jewelry. I'm not entirely sure where in the logic to change in order for it to work. If anyone has a general idea of what/where I would need to change that would be awesome.

Thanks,
05/27/2020 23:03 QuietSmoke#2
Quote:
Originally Posted by OptimalSolution View Post
Hey guys,

I have transfer scrolls and scroll of augmentation implemented, however, it doesn't work on pets/masks/cloaks/jewelry. I'm not entirely sure where in the logic to change in order for it to work. If anyone has a general idea of what/where I would need to change that would be awesome.

Thanks,
These are checks on your pets.

WorldServer/DPSrvr.cpp
In function CDPSrvr::OnTransferAwake
Check
Code:
if( pDest->GetProp()->dwItemKind3 == IK3_PET && pDest->GetProp()->dwItemKind3 == IK3_EGG )
{
	pUser->AddDefinedText( TID_GAME_TRANSFER_AWAKE_TEXT_03 );
	return;
}
if( pUser->HasActivatedSystemPet() && pUser->HasActivatedEatPet() ) 
{
	pUser->AddDefinedText( TID_GAME_TRANSFER_AWAKE_TEXT_04 );
	return;
}