[Ascent] Flying Mounts in Azeroth - Full Guide
Updated - 100% Works with all Ascent/NCDB revisions - even 2400+
I've decided to make a single guide/thread for this, since it is in such high demand. All the rumored bugs are easy to work around, and is quite worth the cool feature this add to your gaming server!
The best idea.. if you plan to add this to your server. Is to do what we did, and make them rare items. Most the rumored bugs that come with flying mounts in Azeroth are, flying to high, and ending up in a different town or area. Flying over major mobs to get to larger loot mobs/bosses (useless on highrate servers, since all good loot is in outlands). Using them in instances... which can be worked around by making the item cast a normal mount spell. Lagging the server is not true, this mostly clientside, which does not work the server much harder at all, but could cause low end computer players to lag. Em, other than that, they are pretty cool.
Also, for latest Ascent revisions, there was a couple changes to make it work right. Here's another guide, just for that.
Quote:
You will have to modify the following files: Player.cpp, SpellAuras.cpp & Unit.cpp
In Player.cpp you will need to search and replace 3 items
First search for:
!=530
and replace it with
>580
then search for:
!= 530
(yes, just add a space) and replace it with
> 580
All 3 will look something like
Code:
if(flying_aura && MapID > 580)
In SpellAuras.cpp you will need to search for
Aura::SpellAuraEnableFlight(bool apply)
Replace the "else" with "if(!apply)" which should look like this:
Code:
void Aura::SpellAuraEnableFlight(bool apply)
{
if(m_target->IsPlayer())
{
static_cast<Player*>(m_target)->FlyCheat = apply;
static_cast<Player*>(m_target)->flying_aura = m_spellProto->Id;
}
if(apply)
{
m_target->EnableFlight(true);
m_target->m_flyspeedModifier += mod->m_amount;
m_target->UpdateSpeed(true);
}
if (!apply) //replaced else with: if(!apply) to allow flying mounts in the old lands
{
m_target->DisableFlight(true);
m_target->m_flyspeedModifier -= mod->m_amount;
m_target->UpdateSpeed(true);
}
}
Now for the last. In Unit.cpp:
Find and replace:
if(m_mapId != 530)
with
if(m_mapId > 580)
Code:
if(m_mapId != 530) //Change this to > 580
{
for(uint32 i = 0; i < -1; ++i)
{
Can't use flying auras in non-outlands.
if(aur->GetSpellProto()->EffectApplyAuraName[i] == 208 || aur->GetSpellProto()->EffectApplyAuraName[i] == 207)
{
delete aur;
return;
}
}
}
Now Compile, and once it is finished, create an item that will cast the mount you desire on equip. The current items will not work with this change (they still work in the Outlands as normal) so you will have to create some new items for it to work.
Such as:
Charm of the Phoenix - Trinket, Summons "Peep the Phoenix" when equip.
Code:
INSERT INTO items VALUES (90001, 4, 0, -1, "Charm of the Phoenix", "Charm of the Phoenix", "Charm of the Phoenix", "Charm of the Phoenix", 43430, 3, 0, 0, 0, 12, -1, -1, 128, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40192, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, "", 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 225, 0);
Please Leave Comments and a Thank You!
PS: I will update later and add custom mounts items that will not work in instances/indoors for you guys.
Re: Flying Mounts in Azeroth - Full Guide
Good I do not clarify myself with this that I must publish those archives no? Player.cpp, SpellAuras.cpp, MovementHandler.cpp & Unit.cpp and my question are like and where those archives estan to publish them if somebody said to me like or of where them under... serious helpful I am Spanish I feel it if I am very repetitive xD
Re: Flying Mounts in Azeroth - Full Guide
Best idea is not to make them trinkets at all, people keep reposting this guide over and over never see any actual changes?
Re: Flying Mounts in Azeroth - Full Guide
Re: Flying Mounts in Azeroth - Full Guide
It's a guide, you shouldn't have any problems setting this up. Most of the time, it's your own fault of miscalculation.
Re: Flying Mounts in Azeroth - Full Guide
it would help if the guide stated if you needed any programs to gain access to these files and not just out of the blue change it and your done i belive ther is some downloading involved here if am not mistaken u need a gui program correct?
Re: Flying Mounts in Azeroth - Full Guide
Quote:
Originally Posted by
gregon13
it would help if the guide stated if you needed any programs to gain access to these files and not just out of the blue change it and your done i belive ther'is some downloading involved here if am not mistaken u need a gui program correct?
what a smartass you are :)) ..just kiding :P ..BUT you are right ..of course you need a program like visual basic 2005 ..anyway ..it's simpler to give copy/paste than' trying to make your own guide
Re: [Ascent] Flying Mounts in Azeroth - Full Guide
Re: [Ascent] Flying Mounts in Azeroth - Full Guide
This guide is simple and straight forward, add these mods and compile (VB, Linux, make/make install, what ever). And, a trinket is not a bad idea, since normally you cannot use regular items to summon flying mounts in azeroth period. If you mod the trinket enough (aka, adding a normal mount spell addon), you can have same indoor/outdoor limits as any other mount. But, if you do not use an equitable item, this will NOT work.
PS. I wrote this guide myself, so that it works with latest revisions.
Re: [Ascent] Flying Mounts in Azeroth - Full Guide
You can use them w/o trinkets if you try, making them an equip item is just a waste of trinket space.
Re: [Ascent] Flying Mounts in Azeroth - Full Guide
No way to make them without trinkets?
Re: [Ascent] Flying Mounts in Azeroth - Full Guide
ACtually this guide is a responce to one of my posts over here: http://forum.ragezone.com/f114/ascen...earned-348085/ Lol its not really ment to be a guide but none the less it is amazing and it works and I myself used it. As responce to your question Pixel yes you can amke them as non trinkets however they need to have an equip effect. You can't use them in azeroth. For example I made a helmet called Helm of the Netherdrake. And well when you equip the helm you mount up on a Netherdrake. I don't know how to make it where the actual spell will work. I am trying to figure thatout as well as a bunch of others.
Re: [Ascent] Flying Mounts in Azeroth - Full Guide
Well this isn't working on me :S
Re: [Ascent] Flying Mounts in Azeroth - Full Guide
To answer those people who are asking how to implement this fix, this is not simply something you put into the database or change a config file. This change is made before the emulator program is made by you. This fix is for people who can compile their own programs, and this means you will get the source code to the emulator program and build the program yourself, making any changes you want to make to the program to make it work the way you want.
The source code is a bunch of proprietary text files and such that are assembled together using a compiler. There are many compilers and languages out there, but most are proprietary, meaning you have to use the same software to build it as the program was written for. If the code was written for Visual Basic, you will need to either buy the full version of Visual Basic from Microsoft, or download the free version called Express from MS's site.
You will download the source files, find the files they mention above and make the changes, then (in visual basic) hit the "build" button on the toolbar if those are the only changes you want to make to the program. Make sure you get the format right and dont add an extra ";" or something where it doesn't need to be or the whole program won't work usually.
Once you figure out how to make changes to the code, even if it means copying and pasting things into it that other people have submitted, you will inherently learn something about how the program works, and hopefully be interested in making your own changes for improving the program or making it more fun, and everyone will benefit.
Good luck with your compiling.
Re: [Ascent] Flying Mounts in Azeroth - Full Guide