Jump to content

Kaios

Members
  • Posts

    3
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Kaios

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

    Typo

    For which repository revision was the patch created?

    MaNGOS

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

    me

    In which files where can found it ? And which line ?

    Line 192 of World.cpp

    void
    World::AddSession_ (WorldSession* s)
    {
       MANGOS_ASSERT (s);
    

    Should be

    void World::AddSession_ (WorldSession* s)
    {
       MANGOS_ASSERT (s);
    

    Thanks.

  2. Hi there,

    * What bug does the patch fix? What features does the patch add?

    Nothing, just an typo

    * For which repository revision was the patch created?

    Mangos 3.3.5

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

    I don't think so.

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

    Kaios

    Enable/Disable VMmap support for line of sight and height calculation
    

    Should be Vmaps instead of VMmaps

    Another one :

    Staring level that have character at creating (in range 1 to MaxPlayerLevel)

    Should be Starting instead of Staring

    Max distance to creature for group memeber to get XP at creature death.

    Should be member instead of memeber

  3. Hello, i was working on my 1.12.1 server and there was some problem with Blink...(Undermap and other)

    What features does the patch add?

    You can't go undermap now.

    For which repository revision was the patch created?

    It's for WoW 1.12.1. but it's should work on 3.3.5

    Who has been writing this patch?

    przemratajczak

    Kaios(me)

    First off Go here : http://github.com/przemratajczak/mangos/commit/41205afb84a3795df38f2e3dfa162db0b34208c0

    Search "void Spell::EffectLeapForward(SpellEffectIndex eff_idx)" in SpellEffect and replace it by mine.

    void Spell::EffectLeapForward(SpellEffectIndex eff_idx)
    {
       if(unitTarget->IsTaxiFlying())
           return;
    
       if( m_spellInfo->rangeIndex == 1)                       //self range
       {
           float dis = GetSpellRadius(sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[eff_idx]));
    
           // before caster
           float fx, fy, fz;
           unitTarget->GetClosePoint(fx, fy, fz, unitTarget->GetObjectBoundingRadius(), dis);
           float ox, oy, oz;
           unitTarget->GetPosition(ox, oy, oz);
    
           float fx2, fy2, fz2;                                // getObjectHitPos overwrite last args in any result case
           if(VMAP::VMapFactory::createOrGetVMapManager()->getObjectHitPos(unitTarget->GetMapId(), ox,oy,oz+0.5f, fx,fy,oz+0.5f,fx2,fy2,fz2, -0.5f))
           {
               fx = fx2;
               fy = fy2;
               fz = fz2;
           }
           if(!unitTarget->IsInWater())
               fz = m_caster->GetBaseMap()->GetHeight(fx,fy,fz,true);
               else
               fz = m_caster->GetMap()->GetWaterLevel(fx,fy);
               if (fabs(fz-oz) > 4.0f)
               {
                   fx = ox;
                   fy = oy;
                   fz = oz;
               }
           unitTarget->NearTeleportTo(fx, fy, fz, unitTarget->GetOrientation(),unitTarget==m_caster);
       }
    }

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