My question:
"When i mount it shows the npc/mount but it dismounts the character right away. Any solutions?"
#Edit1
So i have been looking around the code and found out that the costume mount was beeing called 2 times when used, "i guess", so i removed some lines in char_item.cpp
Fix: char_item.cpp
Search:
if (COSTUME_MOUNT == item->GetSubType())
{
quest::CQuestManager::instance().UseItem(GetPlayerID(), item, false);
}
Replace with:
/*
if (COSTUME_MOUNT == item->GetSubType())
{
quest::CQuestManager::instance().UseItem(GetPlayerID(), item, false);
}
*/
Make sure you have this line above:
if (UNIQUE_SPECIAL_RIDE == item->GetSubType() && IS_SET(item->GetFlag(), ITEM_FLAG_QUEST_USE))
{
quest::CQuestManager::instance().UseItem(GetPlayerID(), item, false);
}
I'm still testing it out so if there is any problem just reverse it all back. ~edit2
#EDIT2
Everything looks fine!
#EDIT3 - Mount time fix for TXT DB rev40250
Fix: ride.quest
Search
item.get_socket(2)*60
Replace with:
item.get_value(0)*60