[ManGOS] Flying Mounts in Azeroth

Joined
Nov 11, 2007
Messages
2
Reaction score
0
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
 
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
 
.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 ...
 
Back