Jump to content

Wojta

Members
  • Posts

    244
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Wojta

  1. Hello again,

    after some time I made some improvements for vehicle patch (I would like to see Flame levithian encounter working), I fixed Change seat packet handler. I just guessed packet structure...and I've got lucky :) Should be working ok now, even with accessories in seats. If you find some bug, tell me.

    http://github.com/Tasssadar/Valhalla-Project/commit/08cc00883e05e68d9ab1912c5b7a9afbad806a5a

    PS: I hope i commited it right, i just tested if its compileable, not ingame :)

    EDIT: Oh, and also - thanks trinity core for Unit::ChangeSeat idea and one vehicle seat flag, but they have also wrong packet structure - I think it was from 3.0.x, and maybe even wrong - I have never seen such big(well..its not small) packet which wasnt begining with GUID of something.

  2. Good patch, should be in master.

    No, it should not. Insider42 did not posted it to "..under review" because its hack - we need to find source of this, not just place something on it and be happy, thats TrinityCore way.

    If you try to cast a spell whem you are reciving the last hit,

    can somebody confirm this?

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

    Surge of Power should affect only 3 targets in 25 man (http://wowhead.com/?spell=60936)

    For which repository revision was the patch created?

    9572

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

    Havent seen any

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

    Me

    I just had to fix this so why not to put it into mangos.

    diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
    index 037a6fa..c934584 100644
    --- a/src/game/Spell.cpp
    +++ b/src/game/Spell.cpp
    @@ -1314,6 +1314,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
                    case 28796:                                 // Poison Bolt Volley
                    case 29213:                                 // Curse of the Plaguebringer
                    case 31298:                                 // Sleep
    +                case 60936:                                 // Surge of Power (25 man)
                        unMaxTargets = 3;
                        break;
                    case 30843:                                 // Enfeeble TODO: exclude top threat target from target selection
    

    PS: Spell itself has also wrong duration in DBC(at least at wowwiki, wowhead and bosskillers they say its 5s, not 3), but i dont know any non-hacky way to fix this.

  4. Well...when you kill boss in Raid or heroic dungeon, you should NOT be able to reset instance. Instance is bound to you, so you can kill boss only once a day(for heroic dungeons)/week(for raids). That is how it should work.

    you can only reset heroic dungeons and raids before you kill any boss.

  5. wrong grid search :D :D :D

    one of devs of our server, frca, figured out it happens because spell has 30s duration and ressurect is triggered at 30s too. Sometimes spell update is just not fast enough, thought.

    So, I just set spirit healer to cast http://www.wowhead.com/?spell=22012 every 30s, and problem is gone :)

    EDIT: check that at least one periodic tick was triggered would be much better, in fact change healer's script was just test, i did not believed that it will work.

  6. Another one - when you have for example http://www.wowhead.com/?spell=32182, casting time is too short, for example arcane missiles have 7 ticks instead of 5. I thing its caused by

     
       // Apply periodic time mod
        if(modOwner && m_modifier.periodictime)
            modOwner->ApplySpellMod(GetId(), SPELLMOD_ACTIVATION_TIME, m_modifier.periodictime);

    How can I apply it to aura duraion? Simply by " modOwner->ApplySpellMod(GetId(), SPELLMOD_ACTIVATION_TIME, m_modifier.duration);? Or not use this spell mod at all?

    EDIT:

    Fixed in V1c: http://pastebin.ca/1795313

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