Flying Mounts in Azeroth

You can use flying mounts in Azeroth in the current version of TC

Check in Spell.cpp, Player.cpp, World.cpp and SpellEffects.cpp Try on AreaTable.dbc Spell.dbc and tables.

None of the files gives no indication Enabling this opcionl

Old use successfully compile code with some modification but still did not solve the need.

I would like to open a small guide to all to help solve this problem is there any option?

[COLOR=rgb(0,0,0)]diff -r 2dab0c7265dc src/game/Spell.cpp
[COLOR=rgb(0,0,0)]— a/src/game/Spell.cpp Sun Jan 11 19:05:39 2009 +0100
[COLOR=rgb(0,0,0)]+++ b/src/game/Spell.cpp Tue Jan 13 14:26:03 2009 -0500
[COLOR=rgb(0,0,0)]@@ -4168,9 +4168,29 @@
[COLOR=rgb(0,0,0)]// not allow cast fly spells at old maps by players (all spells is self target)
[COLOR=rgb(0,0,0)]if(m_caster->GetTypeId()==TYPEID_PLAYER)
[COLOR=rgb(0,0,0)]{
[COLOR=rgb(0,0,0)]- if( !((Player*)m_caster)->isGameMaster() &&
[COLOR=rgb(0,0,0)]- GetVirtualMapForMapAndZone(m_caster->GetMapId(),m_caster->GetZoneId()) != 530)
[COLOR=rgb(0,0,0)]- return SPELL_FAILED_NOT_HERE;
[COLOR=rgb(0,0,0)]+ if(!((Player*)m_caster)->isGameMaster())
[COLOR=rgb(0,0,0)]+ {
[COLOR=rgb(0,0,0)]+ uint32 v_map = GetVirtualMapForMapAndZone(m_caster->GetMapId(),m_caster->GetZoneId());
[COLOR=rgb(0,0,0)]+ switch(v_map)
[COLOR=rgb(0,0,0)]+ {
[COLOR=rgb(0,0,0)]+ case 0:
[COLOR=rgb(0,0,0)]+ case 1:
[COLOR=rgb(0,0,0)]+ {
[COLOR=rgb(0,0,0)]+ if (!sWorld.getConfig(CONFIG_FLYING_MOUNTS_AZEROTH))
[COLOR=rgb(0,0,0)]+ return SPELL_FAILED_NOT_HERE;
[COLOR=rgb(0,0,0)]+ } break;
[COLOR=rgb(0,0,0)]+ case 530:
[COLOR=rgb(0,0,0)]+ {
[COLOR=rgb(0,0,0)]+ if (!sWorld.getConfig(CONFIG_FLYING_MOUNTS_OUTLAND))
[COLOR=rgb(0,0,0)]+ return SPELL_FAILED_NOT_HERE;
[COLOR=rgb(0,0,0)]+ } break;
[COLOR=rgb(0,0,0)]+ default:
[COLOR=rgb(0,0,0)]+ {
[COLOR=rgb(0,0,0)]+ if (!sWorld.getConfig(CONFIG_FLYING_MOUNTS_OTHERS))
[COLOR=rgb(0,0,0)]+ return SPELL_FAILED_NOT_HERE;
[COLOR=rgb(0,0,0)]+ } break;
[COLOR=rgb(0,0,0)]+ }
[COLOR=rgb(0,0,0)]+ }
[COLOR=rgb(0,0,0)]}

[COLOR=rgb(0,0,0)]break;
[COLOR=rgb(0,0,0)]diff -r 2dab0c7265dc src/game/World.cpp
[COLOR=rgb(0,0,0)]— a/src/game/World.cpp Sun Jan 11 19:05:39 2009 +0100
[COLOR=rgb(0,0,0)]+++ b/src/game/World.cpp Tue Jan 13 14:26:03 2009 -0500
[COLOR=rgb(0,0,0)]@@ -525,6 +525,11 @@
[COLOR=rgb(0,0,0)]}

[COLOR=rgb(0,0,0)]///- Read other configuration items from the config file
[COLOR=rgb(0,0,0)]+
[COLOR=rgb(0,0,0)]+ ///- Do we allow flying mounts in Azeroth/Outland and others (others being instances, BGs, arenas)?
[COLOR=rgb(0,0,0)]+ m_configs[CONFIG_FLYING_MOUNTS_AZEROTH] = sConfig.GetBoolDefault(“FlyingMounts.Azeroth”, false);
[COLOR=rgb(0,0,0)]+ m_configs[CONFIG_FLYING_MOUNTS_OUTLAND] = sConfig.GetBoolDefault(“FlyingMounts.Outland”, true);
[COLOR=rgb(0,0,0)]+ m_configs[CONFIG_FLYING_MOUNTS_OTHERS] = sConfig.GetBoolDefault(“FlyingMounts.Others”, false);

[COLOR=rgb(0,0,0)]m_configs[CONFIG_COMPRESSION] = sConfig.GetIntDefault(“Compression”, 1);
[COLOR=rgb(0,0,0)]if(m_configs[CONFIG_COMPRESSION] < 1 || m_configs[CONFIG_COMPRESSION] > 9)
[COLOR=rgb(0,0,0)]diff -r 2dab0c7265dc src/game/World.h
[COLOR=rgb(0,0,0)]— a/src/game/World.h Sun Jan 11 19:05:39 2009 +0100
[COLOR=rgb(0,0,0)]+++ b/src/game/World.h Tue Jan 13 14:26:03 2009 -0500
[COLOR=rgb(0,0,0)]@@ -182,6 +182,10 @@
[COLOR=rgb(0,0,0)]CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS,
[COLOR=rgb(0,0,0)]CONFIG_ARENA_AUTO_DISTRIBUTE_INTERVAL_DAYS,
[COLOR=rgb(0,0,0)]CONFIG_BATTLEGROUND_PREMATURE_FINISH_TIMER,
[COLOR=rgb(0,0,0)]+
[COLOR=rgb(0,0,0)]+ CONFIG_FLYING_MOUNTS_AZEROTH,
[COLOR=rgb(0,0,0)]+ CONFIG_FLYING_MOUNTS_OUTLAND,
[COLOR=rgb(0,0,0)]+ CONFIG_FLYING_MOUNTS_OTHERS,

[COLOR=rgb(0,0,0)]CONFIG_MAX_WHO,
[COLOR=rgb(0,0,0)]CONFIG_BG_START_MUSIC,
[COLOR=rgb(0,0,0)]diff -r 2dab0c7265dc src/trinitycore/trinitycore.conf.dist
[COLOR=rgb(0,0,0)]— a/src/trinitycore/trinitycore.conf.dist Sun Jan 11 19:05:39 2009 +0100
[COLOR=rgb(0,0,0)]+++ b/src/trinitycore/trinitycore.conf.dist Tue Jan 13 14:26:03 2009 -0500
[COLOR=rgb(0,0,0)]@@ -502,6 +502,21 @@
[COLOR=rgb(0,0,0)]# Default: 0 (false)
[COLOR=rgb(0,0,0)]# 1 (true)
[COLOR=rgb(0,0,0)]#
[COLOR=rgb(0,0,0)]+# FlyingMounts.Azeroth
[COLOR=rgb(0,0,0)]+# Enable/disable flying mounts in Azeroth (map 0 and 1).
[COLOR=rgb(0,0,0)]+# Default: 0 - off
[COLOR=rgb(0,0,0)]+# 1 - on (may be crashy)
[COLOR=rgb(0,0,0)]+#
[COLOR=rgb(0,0,0)]+# FlyingMounts.Outland
[COLOR=rgb(0,0,0)]+# Enable/disable flying mounts in Outland (map 530).
[COLOR=rgb(0,0,0)]+# Default: 1 - on
[COLOR=rgb(0,0,0)]+# 0 - off
[COLOR=rgb(0,0,0)]+#
[COLOR=rgb(0,0,0)]+# FlyingMounts.Others
[COLOR=rgb(0,0,0)]+# Enable/disable flying mounts in other maps (instances, arenas, BGs, etc).
[COLOR=rgb(0,0,0)]+# Default: 0 - off
[COLOR=rgb(0,0,0)]+# 1 - on (may be crashy)
[COLOR=rgb(0,0,0)]+#
[COLOR=rgb(0,0,0)]# CastUnstuck
[COLOR=rgb(0,0,0)]# Allow cast or not Unstuck spell at .start or client Help option use
[COLOR=rgb(0,0,0)]# Default: 1 (true)
[COLOR=rgb(0,0,0)]@@ -607,6 +622,9 @@
[COLOR=rgb(0,0,0)]Battleground.CastDeserter = 1
[COLOR=rgb(0,0,0)]Battleground.QueueAnnouncer.Enable = 1
[COLOR=rgb(0,0,0)]Battleground.QueueAnnouncer.PlayerOnly = 0
[COLOR=rgb(0,0,0)]+flyingfishMounts.Azeroth = 0
[COLOR=rgb(0,0,0)]+flyingfishMounts.Outland = 1
[COLOR=rgb(0,0,0)]+flyingfishMounts.Others = 0
[COLOR=rgb(0,0,0)]CastUnstuck = 1
[COLOR=rgb(0,0,0)]Instance.IgnoreLevel = 0
[COLOR=rgb(0,0,0)]Instance.IgnoreRaid = 0

The version I use is TrinityCore rev 57 Sorry my bad English.

What?

what are you talking about ?

It is a patch to enable flying mounts in Azeroth – for TC rev 57.

Holy crap, I think our first public release was rev 50. Whoa – olllllddd school.

– Brian

EDIT: after looking at the whole patch, he wants help finishing it…

Any chance the flight to operate in Azeroth? If so, which?

People have had this working before but they don’t share it back to the community. Then the devs either don’t care about it or don’t want it added for support reasons so nobody gets it. Shame.

I don’t even know what you’re talking about. You can already fly in Azeroth in the 4.3.4 branch.

It is for 3.3.5a and it belongs in Custom Code /emoticons/default_smile.png

– Brian

— Canned message start —

This thread is not related to the official Trinity codebase and was moved to the Custom Code section.

Please read the stickies next time.

— Canned message end —