Jump to content

Ra.

Member
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

About Ra.

Informations

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Ra.'s Achievements

Rookie

Rookie (2/16)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hello guys, I tried to fix a bug when you teleport and you are riding a mount the mount disapear. I added this code to char_item.cpp #ifdef __MOUNT_SYSTEM__ case USE_MOUNT: { if (Mount_map_unallowed_find(GetMapIndex())) { ChatPacket(CHAT_TYPE_INFO, "Nu poti folosii mountul in aceasta mapa!"); return false; } if ((item->GetWearFlag() & WEARABLE_COSTUME_MOUNT)) { if (!item->IsEquipped()) EquipItem(item); else UnequipItem(item); } else { if (IsRidingMount()) { ChatPacket(CHAT_TYPE_INFO, "Ai un mount chemat deja!"); return false; } int mount_effect = item->GetValue(5); if (mount_effect > 0) this->EffectPacket(mount_effect); Mount(item->GetValue(4), false, item->GetValue(0) * 60, item->GetNewAttributeType(0), item->GetNewAttributeValue(0)); item->SetCount(item->GetCount() - 1); } } break; #endif Now the problem is solved, when i teleport the mount does not disappear but: 1. CTRL + G / CTRL + H dosent work only when im riding. It says "Call your horse first". (for dismount it works) 2. When i have a mount equiped and i try to disequip it by right clicking on it, the item goes in inventory but the mount is still active.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.