Jump to content

Auntie Mangos

Moderators
  • Posts

    2446
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Auntie Mangos

  1. Ok. I use mangos revision 9135, scriptdev2 revision 1542 from official svn. I compiled mangos whit scriptdev2 along the lines of this guide http://getmangos.eu/community/showthread.php?4011-How-to-compile-MaNGOS-on-Linux-%28-Using-GIT-%29 and.. Is that all?
  2. http://getmangos.eu/community/showthread.php?p=74241#post74241
  3. * What bug does the patch fix? What features does the patch add? adds the block value of your shield to the damage dealt by Shield of Righteousness * For which repository revision was the patch created? 7425+ * Who has been writing this patch? im the only one to blame here 2009-03-09 14:59 diff -ul patch/src/game/SpellEffects.cpp mangos/src/game/SpellEffects.cpp Page 1 --- patch/src/game/SpellEffects.cpp 2009-03-09 13:05:41.000000000 -0200 +++ mangos/src/game/SpellEffects.cpp 2009-03-09 14:51:23.000000000 -0200 @@ -588,7 +588,11 @@ float averange = (m_caster->GetFloatValue(UNIT_FIELD_MINDAMAGE) + m_caster->GetFloatValue(UNIT_FIELD_MAXDAMAGE)) / 2; int32 count = m_caster->CalculateSpellDamage(m_spellInfo, 2, m_spellInfo->EffectBasePoints[2], unitTarget); damage += count * int32(averange * IN_MILISECONDS) / m_caster->GetAttackTime(BASE_ATTACK); + } + //Shield of Righteousness + else if(m_spellInfo->SpellFamilyFlags&0x0010000000000000LL) + { + damage+=int32(m_caster->GetShieldBlockValue()); } + break; } } best if used with the sql coefficients patch by cccyril to avoid overpower my first patch. please be gentle
  4. I think Neo2003 patch is worth adding to the list git remote add Neo2003 git://github.com/Neo3003/mangos.git git pull Neo2003 ObjectPools Link Patch allows grouping spawns into pools.
  5. check: http://getmangos.eu/community/post/136271/#p136271 might help: https://github.com/mangos/mangos/commit/d351e203347e1ded48baae304e4ab93affeab915
  6. http://getmangos.eu/community/showthread.php?6026-[7200]-Bugged-Trigger-Spell-Unyielding-Knights&highlight=unyielding
  7. already exist a fix , here http://getmangos.eu/community/showthread.php?10273-%5Bfix%5D%5Bdev%5DFingers-of-Frost-Aura-262&highlight=finger+frost
  8. thx sorry for double thread
  9. The search button is your friend. http://getmangos.eu/community/showthread.php?7318-%5BGuide%5D-Mangos-Windows-Setup You make a 3.3.3 server the same why you would do any server. Just updated core and DB.
  10. I made a thread about it few days ago . http://getmangos.eu/community/showthread.php?12590-[bug]-Combat-state Anyway thanks.
  11. http://getmangos.eu/community/forumdisplay.php?17-Installation-Configuration-Upgrades I'd say the two top stickies should say everything?
  12. Voldemmort yes I guess still no one can fix that "kaka" without reverting: http://getmangos.eu/community/showthread.php?12213-[Crash][9236]CountTheRoll&p=101812&viewfull=1#post101812
  13. Thanks Prawnz. That helped out a lot. I even turned off the firewall and it wouldn't download, but using the Bash did the trick. Thanks again!
  14. http://getmangos.eu/community/viewtopic.php?id=2906&highlight=GM+Commands I didn't word it correctly, but searching gm commands finds it.
  15. hello, patch is not correct, because stealth and feign death should drop flag too ... as is said above. Another thing is that Divine protection (http://www.wowhead.com/?spell=498) should not drop the flag. I will commit soon KAPATEJIb's patch, but i want to do some testing, before commit.
  16. Event extensions added, 303 edited.
  17. as I wrote already inside your other topic, I don't think this is the right way compare with discussion points at http://www.scriptdev2.com/showthread.php?t=4365&highlight=nomovement Also I see absolutely no reason to exclude taunts from this behaviour
  18. Thanx caeruleaus I want know its possible to put MMAPS in your repo there look good patch: http://getmangos.eu/community/showthread.php?13557-mmaps-redux
  19. * What bug does the patch fix? What features does the patch add? Fixes Althor's Abacus * For which repository revision was the patch created? 9715 * Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. http://getmangos.eu/community/showthread.php?13315-[bug-item]-Althor-s-Abacus * Who has been writing this patch? Please include either forum user names or email addresses. caeruleaus diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index b0acd37..789d381 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1661,7 +1661,11 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& } case TARGET_DUELVSPLAYER_COORDINATES: { - if(Unit* currentTarget = m_targets.getUnitTarget()) + if(m_spellInfo->Id == 71610) + { + break; + } + else if(Unit* currentTarget = m_targets.getUnitTarget()) { m_targets.setDestination(currentTarget->GetPositionX(), currentTarget->GetPositionY(), currentTarget->GetPositionZ()); targetUnitMap.push_back(currentTarget); @@ -1724,8 +1728,46 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& } break; case TARGET_ALL_FRIENDLY_UNITS_IN_AREA: + // Echoes of Light + if (m_spellInfo->Id == 71610) + { + CellPair p(MaNGOS::ComputeCellPair(m_caster->GetPositionX(), m_caster->GetPositionY())); + Cell cell(p); + cell.data.Part.reserved = ALL_DISTRICT; + cell.SetNoCreate(); + std::list<Unit*> tempTargetUnitMap; + { + MaNGOS::AnyFriendlyUnitInObjectRangeCheck u_check(m_caster, radius); + MaNGOS::UnitListSearcher<MaNGOS::AnyFriendlyUnitInObjectRangeCheck> searcher(m_caster, tempTargetUnitMap, u_check); + + TypeContainerVisitor<MaNGOS::UnitListSearcher<MaNGOS::AnyFriendlyUnitInObjectRangeCheck>, WorldTypeMapContainer > world_unit_searcher(searcher); + TypeContainerVisitor<MaNGOS::UnitListSearcher<MaNGOS::AnyFriendlyUnitInObjectRangeCheck>, GridTypeMapContainer > grid_unit_searcher(searcher); + + cell.Visit(p, world_unit_searcher, *m_caster->GetMap(), *m_caster, radius); + cell.Visit(p, grid_unit_searcher, *m_caster->GetMap(), *m_caster, radius); + } + + if(tempTargetUnitMap.empty()) + break; + + tempTargetUnitMap.sort(TargetDistanceOrder(m_caster)); + + //Now to get us a random target that's in the initial range of the spell + uint32 t = 0; + std::list<Unit*>::iterator itr = tempTargetUnitMap.begin(); + while(itr != tempTargetUnitMap.end() && (*itr)->IsWithinDist(m_caster, radius)) + ++t, ++itr; + + if(!t) + break; + + itr = tempTargetUnitMap.begin(); + std::advance(itr, rand() % t); + Unit *pUnitTarget = *itr; + targetUnitMap.push_back(pUnitTarget); + } // Death Pact (in fact selection by player selection) - if (m_spellInfo->Id == 48743) + else if (m_spellInfo->Id == 48743) { // checked in Spell::CheckCast if (m_caster->GetTypeId()==TYPEID_PLAYER) I don't know why it calls implicit target 63 (TARGET_DUELVSPLAYER_COORDINATES) but it does. I did a few checks just to make sure. If i don't add the break there, it casts the spell on the original target as well as the random target in the area. I figured there should be an easier way to find a random target but i couldn't find any other way than copying the first part of the TARGET_RANDOM_CHAIN_FRIEND or whatever it is. I'm just posting this so it gets looked at. It may be kind of hackish (I'm new to the whole submitting patches thing) but i don't really see another way to do it. I still have to look at it's other target type TARGET_GAMEOBJECT but this should work in the case of it healing random players. I couldn't find much info on it but from the few comments I've seen it'll heal a random friendly unit within a certain radius from the person it is being cast on.
  20. What bug does the patch fix? What features does the patch add? Spell Coefficient from Corruption Spell, take 180% should be 120%. For which repository revision was the patch created? 8918 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. Ye,s mi topic XP http://getmangos.eu/community/viewtopic.php?id=11132 Who has been writing this patch? Please include either forum user names or email addresses. me? DELETE FROM spell_bonus_data WHERE entry = 172; INSERT INTO spell_bonus_data (entry, direct_bonus, dot_bonus, ap_bonus, comments) VALUES ('172', '0', '0.2', '0', 'Warlock - Corruption'); On (http://getmangos.eu/community/viewtopic.php?id=6733&highlight=corruption&page=3) say 0.2 but on git (http://github.com/mangos/mangos/commit/e4624bbf041d0ea65a34081fb8b3fed94d8fce35) 0.3
  21. DELETE FROM spell_proc_event WHERE entry IN ('16880','61346','61345'); INSERT INTO spell_proc_event VALUES ('16880','0','0','0','0','0','65536','2','0','33','0'); INSERT INTO spell_proc_event VALUES ('61345','0','0','0','0','0','65536','2','0','66','0'); INSERT INTO spell_proc_event VALUES ('61346','0','0','0','0','0','65536','2','0','100','0'); This will fix all ranks of Natures Grace(will only be triggered on casting crits) Bugreport: http://getmangos.eu/community/showthread.php?p=64754#post64754 Written by: Cha0S aka Splash
  22. Probably problem with simple jail patch or conflict with other patches, for me compile and merge OK. The_Game_Master : I will update SQL. So anyway all works ? No problems ? Somebody here http://getmangos.eu/community/viewtopic.php?id=5176 said that gobjects are unusable.. but it was maybe his mistake. If anybody has some bugs, report it here. EDIT: SQLs updated.
  23. chances are you are running a linux distro, most places offer either centos or ubuntu. either way this guide should help you out http://getmangos.eu/community/viewtopic.php?id=7839 linux doesnt use exe files like windows does.. instead it uses text file scripts it executes, they are in some ways similar but yet different
  24. http://getmangos.eu/community/viewtopic.php?id=7910 read this
  25. http://getmangos.eu/community/viewtopic.php?id=14920
×
×
  • 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