Jump to content

Auntie Mangos

Moderators
  • Posts

    2446
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Auntie Mangos

  1. What bug does the patch fix?

    Water Shield has no cooldown between charges use

    For which SubVersion revision was the patch created?

    5895

    Is there a thread in the bug report section?

    http://getmangos.eu/community/viewtopic.php?id=24951

    Who has been writing this patch?

    Ultron

    Index: Unit.cpp
    ===================================================================
    --- Unit.cpp                (revision 5895)
    +++ Unit.cpp                (working copy)
    @@ -5853,6 +5853,31 @@
                                                                    return;
                                                    }
    
    +                                                //Water Shield (3 secs cooldown between charges)
    +                                                if((auraSpellInfo->SpellFamilyFlags & 0x0000002000000000LL) && auraSpellInfo->SpellVisual==7358)
    +                                                {
    +                                                                if(GetTypeId() != TYPEID_PLAYER)
    +                                                                                return;
    +
    +                                                                uint32 trigger_spell_id = auraSpellInfo->EffectTriggerSpell[triggeredByAura->GetEffIndex()];
    +                                                                if(!trigger_spell_id)
    +                                                                {
    +                                                                                 sLog.outError("Unit::HandleProcTriggerSpell: Spell %u have 0 in EffectTriggered[%d], not handled custom case?",auraSpellInfo->Id,triggeredByAura->GetEffIndex());
    +                                                                                 return;
    +                                                                }
    +
    +                                                                if (((Player*)this)->HasSpellCooldown(trigger_spell_id))
    +                                                                {
    +                                                                                ++triggeredByAura->m_procCharges;
    +                                                                                return;
    +                                                                }
    +
    +                                                                CastSpell(this, trigger_spell_id, true, 0, triggeredByAura);
    +                                                                // 3 secs cooldown
    +                                                                ((Player*)this)->AddSpellCooldown(trigger_spell_id,0,time(NULL) + 3);
    +                                                                return;
    +                                                }
    +
                                                    //Lightning Shield (overwrite non existing triggered spell call in spell.dbc
                                                    if((auraSpellInfo->SpellFamilyFlags & 0x00000400) && auraSpellInfo->SpellVisual==37)
                                                    {

    http://filebeam.com/013b8b7a2af9cc31d7f2d1d6bb9d8880

  2. What bug does the patch fix? What features does the patch add?

    apply armor calculation for Physical flatdamage

    For which SubVersion revision was the patch created?

    5824

    Who has been writing this patch? Please include either forum user names or email addresses.

    me and kamir86

    link bug report

    http://getmangos.eu/community/viewtopic.php?id=25072

    Index: src/game/Unit.cpp
    ===================================================================
    --- src/game/Unit.cpp                (revision 5824)
    +++ src/game/Unit.cpp                (working copy)
    @@ -1004,7 +1004,7 @@
                                                    VictimState victimState = VICTIMSTATE_NORMAL;
    
                                                    // Physical Damage
    -                                                if ( GetSpellSchoolMask(spellInfo) & SPELL_SCHOOL_NORMAL )
    +                                                if ( GetSpellSchoolMask(spellInfo) & SPELL_SCHOOL_MASK_NORMAL )
                                                    {
                                                                    uint32 modDamage=*damage;

  3. What bug does this fix?

    http://getmangos.eu/community/viewtopic.php?id=24788

    Warsong Gluch game objects are not spawned

    What rev is this for? 5759

    not 100% sure if this is the correct way to fix this but it works and every seems fine.

    Index: .
    ===================================================================
    --- .                (revision 5759)
    +++ .                (working copy)
    @@ -852,6 +852,7 @@
                    data.spawntimesecs        = spawntime;
                    data.animprogress         = 100;
                    data.go_state                         = 1;
    +         data.spawnMask         = 1;
                    objmgr.AddGameobjectToGrid(guid, &data);
    
                    m_BgObjects[type] = MAKE_NEW_GUID(guid, entry, HIGHGUID_GAMEOBJECT);

  4. What bug does the patch fix? What features does the patch add?

    Resilience reduce amount of mana drained or burned by mana draining effects.

    For which SubVersion revision was the patch created?

    5806

    Is there a thread in the bug report section? If yes, please add a link to the thread.

    http://getmangos.eu/community/viewtopic.php?id=24702

    Who has been writing this patch? Please include either forum user names or email addresses.

    Arthorius

    pastebin

  5. good idea!

    make a intance template, and relate to player, then make a custom item with sd2 script (transfer player or his friends in/out instance, do like a ticket).

    you can make a custom box with sd2 script (can put in something or take out something).

    now have two problem:

    1) The map ID of the instance_template is relative to map.dbc. if instance_template's record befitted your room environment. if you add record in map.dbc, maybe raise client exception.

    2) now wow client (2.4.1 8125) can not support custom item http://getmangos.eu/community/viewtopic.php?id=24021&st=0

    i am troubling the second problem recently !

    hope your success!

  6. Hi beater07,

    the reported problem is solved by using vmaps, which enables line of sight.

    Check vmap.enableLOS and vmap.enableHeight on mangosd.conf file.

    To learn how to extract vmaps, check tutorial here. Look for "Build the Vmap Files" section.

    The pathfinding is a different problem, and is being discussed here:

     Path Finding For Mobs, Start your development here[/b]

    http://getmangos.eu/community/viewtopic.php?id=21565

    Hope it helps,

    chaos

  7. i was looking somewhere to find where speed increasement are handled to fix crusader aura ( http://getmangos.eu/community/viewtopic.php?id=23821 ) with flying mount, and i found this in unit.cpp line 8280:

    switch(mtype)
                                   {
                                                   case MOVE_WALK:
                                                                   data.Initialize(MSG_MOVE_SET_WALK_SPEED, 8+4+1+4+4+4+4+4+4+4);
                                                                   break;
                                                   case MOVE_MOUNTED:
                                                   case MOVE_RUN:
                                                                   data.Initialize(MSG_MOVE_SET_RUN_SPEED, 8+4+1+4+4+4+4+4+4+4);
                                                                   break;
                                                   case MOVE_WALKBACK:
                                                                   data.Initialize(MSG_MOVE_SET_RUN_BACK_SPEED, 8+4+1+4+4+4+4+4+4+4);
                                                                   break;
                                                   case MOVE_SWIM:
                                                                   data.Initialize(MSG_MOVE_SET_SWIM_SPEED, 8+4+1+4+4+4+4+4+4+4);
                                                                   break;
                                                   case MOVE_SWIMBACK:
                                                                   data.Initialize(MSG_MOVE_SET_SWIM_BACK_SPEED, 8+4+1+4+4+4+4+4+4+4);
                                                                   break;
                                                   case MOVE_TURN:
                                                                   data.Initialize(MSG_MOVE_SET_TURN_RATE, 8+4+1+4+4+4+4+4+4+4);
                                                                   break;
                                                   case MOVE_FLY:
                                                                   data.Initialize(MSG_MOVE_SET_FLY_SPEED, 8+4+1+4+4+4+4+4+4+4);
                                                                   break;
                                                   case MOVE_FLYBACK:
                                                                   data.Initialize(MSG_MOVE_SET_FLY_BACK_SPEED, 8+4+1+4+4+4+4+4+4+4);
                                                                   break;
                                                   default:
                                                                   sLog.outError("Unit::SetSpeed: Unsupported move type (%d), data not sent to client.",mtype);
                                                                   return;
                                   }

    i saw that we're missing case MOVE_MOUNTED and so i searched in opcodes.h line 236 and we can see that we're missing a MSG_MOVE_SET_ something with mount. why?

  8. What bug does the patch fix? What features does the patch add?

    If someone delete the blizzy addons, due to lag the re-creation of the addons in the auth session permit to skip the queue.

    For which SubVersion revision was the patch created?

    5470

    Is there a thread in the bug report section? If yes, please add a link to the thread.

    http://getmangos.eu/community/viewtopic.php?id=22794

    Who has been writing this patch? Please include either forum user names or email addresses.

    Vincex, big thanks to Kamir86 for the help in testing! /love!

    Link:

    http://pastebin.com/m4232490e

    http://pastebin.ca/951407

    compile all ok and tested, i hope this is the right way to fix it, maybe something better can be done?

    need test with more pop server.

    P.S.

    Is impossible test it in local, as say first the lag in local is irrilevant.

    EDIT:

    found the bug topic

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use