One more fix for this system
If u have sash/costume mount/costume weapon in your server u can add attributes to all of them.
just add this if statemant
if ( item2->GetType() == ITEM_COSTUME )
if ( item2->GetSubType() != 0 || item2->GetSubType() != 1 )
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ITEM_ISNT_COSTUME"));
return false;
}
regards, AKN
If u can't move or equip items after destroy one, here's the fix:
In this def
def RequestDestroyItem(self, answer):
if not self.itemDropQuestionDialog:
return
if answer:
dropType = self.itemDropQuestionDialog.dropType
dropNumber = self.itemDropQuestionDialog.dropNumber
if player.SLOT_TYPE_INVENTORY == dropType:
if dropNumber == player.ITEM_MONEY:
return
else:
self.__SendDestroyItemPacket(dropNumber)
self.itemDropQuestionDialog.Close()
self.itemDropQuestionDialog = None
constInfo.SET_ITEM_DROP_QUESTION_DIALOG_STATUS(0)
Replace the
constInfo.SET_ITEM_DROP_QUESTION_DIALOG_STATUS(0)
with
constInfo.SET_ITEM_QUESTION_DIALOG_STATUS(0)