[ASCENT] I have learned

Results 1 to 14 of 14
  1. #1
    Account Upgraded | Title Enabled! HalestormXV is offline
    MemberRank
    Dec 2007 Join Date
    219Posts

    [ASCENT] I have learned

    I have finnaly learned how to compile ascent on my own and i am very happy with myself. I do have a question though. Before i start going Compile crazy and playing with code and stuff. Just hte way i am i like to experiment. How do you enable flying mounts in Azeroth and how do you increase level cap? You have to do these before compile rite? Can somone tell me what I have to change for this to work?


  2. #2
    Valued Member dwolf312 is offline
    MemberRank
    Jan 2008 Join Date
    107Posts

    Re: [ASCENT] I have learned

    Sinister wrote this in another forum for flying mounts pretty easy to follow

    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

    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
    {
    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 build it 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:

    INSERT INTO items VALUES (90001, 4, 0, -1, "Charm of the Phonix", "Charm of the Phonix", "Charm of the Phonix", "Charm of the Phonix", 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);

    As for levelcap i think you edit that right in the ascent.conf file if im not mistaken

  3. #3
    Account Upgraded | Title Enabled! HalestormXV is offline
    MemberRank
    Dec 2007 Join Date
    219Posts

    Re: [ASCENT] I have learned

    Alrite thanks alot. Now these new items. Can they be inventory items as well? They don't have to be trinkets or such do they? In other words what would I categorize them as? Miscelaneous? Trinket? Armor? etc.

  4. #4
    Valued Member dwolf312 is offline
    MemberRank
    Jan 2008 Join Date
    107Posts

    Re: [ASCENT] I have learned

    im assuming so i just used that for now

  5. #5
    Account Upgraded | Title Enabled! Juggalo90 is offline
    MemberRank
    May 2007 Join Date
    MinnesotaLocation
    940Posts

    Re: [ASCENT] I have learned

    just look at a mount in your item table of your database...
    pretty much copy that...change name...and spellid...etc
    BOOM you got a new mount =]

  6. #6
    Enthusiast Novalyfe is offline
    MemberRank
    Jun 2007 Join Date
    The NetherlandsLocation
    45Posts

    Re: [ASCENT] I have learned

    Flying mounts in Azeroth sounds like a bad idea, meaning that if players achieve one, they could simply fly into Stormwind or Orgrimmar, "k1ll th3 n00bs" and fly away. Which ends up as a massacre. And the ability to fly with these mounts in Azeroth is done by Client-side editing right? Correct me if not.

  7. #7
    Account Upgraded | Title Enabled! HalestormXV is offline
    MemberRank
    Dec 2007 Join Date
    219Posts

    Re: [ASCENT] I have learned

    When u say spell ID u mean what exactly? Would i create a new spell? And as for what you said dwolf about how to do all this does this actually create new spells? I am confused on that.

  8. #8
    Valued Member dwolf312 is offline
    MemberRank
    Jan 2008 Join Date
    107Posts

    Re: [ASCENT] I have learned

    No the one i gave you isn't a new spell if you use that mount it's the same as Ashes of Al'ar, as for making other mounts im looking into it but thats only one i know of right now

  9. #9
    Account Upgraded | Title Enabled! HalestormXV is offline
    MemberRank
    Dec 2007 Join Date
    219Posts

    Re: [ASCENT] I have learned

    Ohh i see what you are saying. No what I ment was the spells to summon the mounts will work in Azeroth as well as outlands but the actual item to summon the mount will only work in outland as for Ash's of Alar? So that means I gotta create a new item with that spell as you just said rite? But what do I create the item as a weapon? piece of armor? Jewl? or something else?

  10. #10
    Valued Member dwolf312 is offline
    MemberRank
    Jan 2008 Join Date
    107Posts

    Re: [ASCENT] I have learned

    looking into it ill let you know when i figure it out

  11. #11
    Account Upgraded | Title Enabled! HalestormXV is offline
    MemberRank
    Dec 2007 Join Date
    219Posts

    Re: [ASCENT] I have learned

    Alrite I will check it out myself as well. But it seems the ascent forums are down at the moment? Or the whole ascent site. unless it is just my Internet.

  12. #12
    Account Upgraded | Title Enabled! Juggalo90 is offline
    MemberRank
    May 2007 Join Date
    MinnesotaLocation
    940Posts

    Re: [ASCENT] I have learned

    flying mounts is not client side...its server side...
    and no u dont create spells...theirs spells to mount...thats how u get mounts...

  13. #13
    Account Upgraded | Title Enabled! HalestormXV is offline
    MemberRank
    Dec 2007 Join Date
    219Posts

    Re: [ASCENT] I have learned

    Well I have good news. It all works. I can use flying mounts in azeroth and i can put the spell to an equip effect.

    PROBLEM: I can't use the spell effect in Azeroth and can't make the weapon have a use effect to summon the flying mount in azeroth. It works in Outlands but not in Azeroth. I can only use flying mounts in Azeroth if the item spell is an equip effect and nothing more. So basically the second you quip the item you mount. Any idea how I can change this? Other then that i did it all. I maged to compile my own ascent and edit my own files enable LUA and everything. Works like a charm except this issue.

  14. #14
    Enthusiast Novalyfe is offline
    MemberRank
    Jun 2007 Join Date
    The NetherlandsLocation
    45Posts

    Re: [ASCENT] I have learned

    Quote Originally Posted by Juggalo90
    flying mounts is not client side...its server side...
    Thanks.



Advertisement