[ManGOS] Flying Mounts in Azeroth

Results 1 to 3 of 3
  1. #1
    Newbie GMNeo84 is offline
    MemberRank
    Nov 2007 Join Date
    2Posts

    [ManGOS] Flying Mounts in Azeroth

    Hello there,

    i want use Flying Mounts regular on the old maps, but i think there is one think i can find to make in useable.

    I edit the follow .cpp


    Code:
     
    Index: MovementHandler.cpp
    ===================================================================
         GetPlayer()->SetSemaphoreTeleport(false);
     
         // remove new continent flight forms
    -    if(mEntry->MapID != 530)                                // non TBC map
    +/*    if(mEntry->MapID != 530)                                // non TBC map
         {
             GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_MOD_SPEED_MOUNTED_FLIGHT);
             GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FLY);
         }
    +*/
     
         GetPlayer()->SendInitialPacketsBeforeAddToMap();
         MapManager::Instance().GetMap(GetPlayer()->GetMapId(), GetPlayer())->Add(GetPlayer());
     
     
    Index: Spell.cpp
    ===================================================================
                 case SPELL_AURA_FLY:
                 {
                     // not allow cast fly spells at old maps
    -                MapEntry const* mEntry = sMapStore.LookupEntry(m_caster->GetMapId());
    +/*                MapEntry const* mEntry = sMapStore.LookupEntry(m_caster->GetMapId());
                     if(!IsExpansionMap(mEntry))
                         return SPELL_FAILED_NOT_HERE;
    +*/
    +                // all ok
    +                return 0;
                 };break;
    I think, that it must work, but is doesnt!

    Is there another trigger, or must the DBC files edit?


    I would search this forum, but i can find any search button, sorry :)

    greetings nik


  2. #2
    Newbie melik1 is offline
    MemberRank
    Nov 2007 Join Date
    24Posts

    Re: [ManGOS] Flying Mounts in Azeroth

    Quote Originally Posted by GMNeo84 View Post
    Hello there,

    i want use Flying Mounts regular on the old maps, but i think there is one think i can find to make in useable.

    I edit the follow .cpp


    Code:
     
    Index: MovementHandler.cpp
    ===================================================================
         GetPlayer()->SetSemaphoreTeleport(false);
     
         // remove new continent flight forms
    -    if(mEntry->MapID != 530)                                // non TBC map
    +/*    if(mEntry->MapID != 530)                                // non TBC map
         {
             GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_MOD_SPEED_MOUNTED_FLIGHT);
             GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FLY);
         }
    +*/
     
         GetPlayer()->SendInitialPacketsBeforeAddToMap();
         MapManager::Instance().GetMap(GetPlayer()->GetMapId(), GetPlayer())->Add(GetPlayer());
     
     
    Index: Spell.cpp
    ===================================================================
                 case SPELL_AURA_FLY:
                 {
                     // not allow cast fly spells at old maps
    -                MapEntry const* mEntry = sMapStore.LookupEntry(m_caster->GetMapId());
    +/*                MapEntry const* mEntry = sMapStore.LookupEntry(m_caster->GetMapId());
                     if(!IsExpansionMap(mEntry))
                         return SPELL_FAILED_NOT_HERE;
    +*/
    +                // all ok
    +                return 0;
                 };break;
    I think, that it must work, but is doesnt!

    Is there another trigger, or must the DBC files edit?


    I would search this forum, but i can find any search button, sorry :)

    greetings nik
    .mod speed 20 (something like that :S)
    .cheat fly
    .cheat land to land

    there u got urself a flying "mount" in azeroth xD

  3. #3
    Newbie GMNeo84 is offline
    MemberRank
    Nov 2007 Join Date
    2Posts

    Re: [ManGOS] Flying Mounts in Azeroth

    Quote Originally Posted by melik1 View Post
    .mod speed 20 (something like that :S)
    .cheat fly
    .cheat land to land

    there u got urself a flying "mount" in azeroth xD

    1. Read Topic -> [MaNGOS]
    2. I wrote ".. want use Flying Mounts regular on the old maps .."


    Dont lough, at the moment im able to create flying horse mounts, and gryphon if i use the spell of the horse mount!

    Im edit some entrys in spell.dbc .. but i dont find away to use the regular spell of the gryphons ...



Advertisement