Jump to content

zergtmn

Members
  • Posts

    230
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by zergtmn

  1. /me throws hands up in frustration.

    So what needs to be done so it is acceptable for the core? Perhaps some sort of checklist of features that need to be reworked would give any volunteers a place to start.

    From what I know:

    1. First bug: enter 25-player WOTLK raid instance, restart server, enter game and you will get into 10-player version of that instance. Difficulty is not saved.

    2. There are two exploits to bypass permanent instance binding. One can be fixed with patch from first post, but it's non-blizzlike hack.

    3. Old exploit to bypass areatrigger requirements is still working.

    4. Another bug (or not implemented feature): die in instance, logout, you will be teleported to graveyard. On offy you remain in instance.

    Instance system needs some love.

  2. For rev. 9851

    diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
    index 98a55c2..ba72091 100644
    --- a/src/game/Unit.cpp
    +++ b/src/game/Unit.cpp
    @@ -495,7 +495,7 @@ void Unit::DealDamageMods(Unit *pVictim, uint32 &damage, uint32* absorb)
        if (!pVictim->isAlive() || pVictim->isInFlight() || pVictim->GetTypeId() == TYPEID_UNIT && ((Creature*)pVictim)->IsInEvadeMode())
        {
            if(absorb)
    -            absorb += damage;
    +            *absorb += damage;
            damage = 0;
            return;
        }
    @@ -508,7 +508,7 @@ void Unit::DealDamageMods(Unit *pVictim, uint32 &damage, uint32* absorb)
            if(area && area->flags & AREA_FLAG_SANCTUARY)       //sanctuary
            {
                if(absorb)
    -                absorb += damage;
    +                *absorb += damage;
                damage = 0;
            }
        }
    @@ -523,7 +523,7 @@ void Unit::DealDamageMods(Unit *pVictim, uint32 &damage, uint32* absorb)
            ((Creature *)pVictim)->AI()->DamageTaken(this, damage);
    
        if(absorb && originalDamage > damage)
    -        absorb += (originalDamage - damage);
    +        *absorb += (originalDamage - damage);
    }
    
    uint32 Unit::DealDamage(Unit *pVictim, uint32 damage, CleanDamage const* cleanDamage, DamageEffectType damagetype, SpellSchoolMask damageSchoolMask, SpellEntry const *spellProto, bool durabilityLoss)
    

    http://paste2.org/p/818174

×
×
  • 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