Jump to content

Auntie Mangos

Moderators
  • Posts

    2446
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Auntie Mangos

  1. make this but after this you'd have some conflicts
  2. In the latest version I've added a new boolean configuration parameter (in the aiplayerbot.conf file): AiPlayerbot.SplineFacing=True Default value is True which means bot will use spline movements to make him facing the enemy which greatly improves visualisation. The issue is that sometimes in melee fight with multiple enemies bot is staying doing nothing. I am really stuck trying to figure out what causes such behaviour. So any help is appreciated! To be able to do so it is recommended to enable debug logging in the mangosd.conf file: LogFileLevel = 3 After so every bot action will be logged in the Server.log file. Moreover, this log can be analysed with java tools I've written (contrib/playerbot-utils/log directory, requres jdk and maven to be built), but unfortunately they won't help in this particular issue Changing the value back to False turns off spline facing so bot will fight better (I think) but client will show them facing in opposite direction (Please see http://getmangos.eu/community/topic/17812/setfacingtoobject-setinfront-and-melee-attack/ for details).
  3. Duplicate report: http://getmangos.eu/community/topic/15266/bug-spell-reflection/
  4. yup, required to reset rune cooldown in http://getmangos.eu/community/viewtopic.php?id=15100 i didnt know any other way to do that
  5. What bug does the patch fix? What features does the patch add? adds armor increase part for Bear/Dire Bear forms For which repository revision was the patch created? 9348 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?7049-[bug][7460]-Druid-talent-Survival-of-the-Fittest Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 0272644..775fc79 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -5848,7 +5848,7 @@ void Aura::HandleShapeshiftBoosts(bool apply) if (MasterShaperSpellId) { Unit::AuraList const& ShapeShifterAuras = m_target->GetAurasByType(SPELL_AURA_DUMMY); - for(Unit::AuraList::const_iterator i = ShapeShifterAuras.begin(); i != ShapeShifterAuras.end(); i++) + for(Unit::AuraList::const_iterator i = ShapeShifterAuras.begin(); i != ShapeShifterAuras.end(); ++i) { if ((*i)->GetSpellProto()->SpellIconID == 2851) { @@ -5879,7 +5879,7 @@ void Aura::HandleShapeshiftBoosts(bool apply) if (form == FORM_MOONKIN) { Unit::AuraList const& dummyAuras = m_target->GetAurasByType(SPELL_AURA_DUMMY); - for(Unit::AuraList::const_iterator i = dummyAuras.begin(); i != dummyAuras.end(); i++) + for(Unit::AuraList::const_iterator i = dummyAuras.begin(); i != dummyAuras.end(); ++i) { if ((*i)->GetSpellProto()->SpellFamilyName==SPELLFAMILY_DRUID && (*i)->GetSpellProto()->SpellIconID == 2855) @@ -5901,7 +5901,24 @@ void Aura::HandleShapeshiftBoosts(bool apply) } } } - + + // Survival of the Fittest (Armor part) + if (form == FORM_BEAR || form == FORM_DIREBEAR) + { + Unit::AuraList const& modAuras = m_target->GetAurasByType(SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE); + for (Unit::AuraList::const_iterator i = modAuras.begin(); i != modAuras.end(); ++i) + { + if ((*i)->GetSpellProto()->SpellFamilyName==SPELLFAMILY_DRUID && + (*i)->GetSpellProto()->SpellIconID == 961) + { + int32 bp = (*i)->GetSpellProto()->CalculateSimpleValue(2); + if (bp) + m_target->CastCustomSpell(m_target, 62069, &bp, NULL, NULL, true, NULL, this); + break; + } + } + } + // Heart of the Wild if (HotWSpellId) {
  6. http://getmangos.eu/community/showpost.php?p=95590&postcount=463
  7. I reworked the code of http://getmangos.eu/community/post/87422/#p87422 - original author=popovk Already found issues: speedup for HasAura check - some other speedy things if possible http://paste2.org/p/1353752 From looking around there is only one aura used with all tabards, so no use in storing this spell-id within the database for every npc. Also I didn't see any information, that the "tabarded" reputation should be modified by a rate or depending on the map/mob. So I think this version does work pretty correct. The ugliest part is, where (on the long term) we must code: ItemLevel 85 => Expansion=3, ItemLevel 75=> Expansion=2, ItemLevel=1 => any Observation: I am not familar with this code, but I tested Keristrasza, which gave me: 250 rep for alliance (without tabard) 325 rep for kirin tor (with kirin tor tabard) 325 rep for ebon blade (ebon blade tabard) .. Edit: I think this is not correct, but I don't know how the additional exp is created, and I also don't know if this is based on DB data created for different purposes)
  8. You guys closed my thread without a single thought, question, or hesitation: http://getmangos.eu/community/showthread.php?13795-Need-Help-Invisible-Walls-Blocking-Progress Fact is, relog did NOT solve the problem. Restart WoW did NOT solve the problem. Clear Cache and WDB folders, then load WoW did NOT solve the problem. Completely restarting my entire server did NOT solve the problem. I am STILL stuck, so how can you justify closing my thread without a single question or useful tip whatsoever?
  9. So I made a thread a long time ago about disabling talents, but people got confused and thought I wanted to disable ALL talents. Basically I wanted to find a way to disable certain spells, eg: Burning Crusade talents. I know the talents work as aura spells so I tried the [spell disable patch] which works fine with trying to cast spells--so in this case you could spend your talents on them but supposedly they wouldn't do anything. However, I'm looking for something to error and prevent you to learn or train talents on a certain spell.
  10. What bug does the patch fix? What features does the patch add? It limits the duration of Freezing Trap Effect on players. For which repository revision was the patch created? 7904 Git: http://github.com/dragonshard/mangos/commit/a1b9845ea440a47293f4677730bd1b0229ff41e6 Bug report: http://getmangos.eu/community/viewtopic.php?id=6971 EDIT: Just noticed there is a better version of this already posted by Lightguard in the bug report.
  11. Hint: http://getmangos.eu/community/viewtopic.php?id=4033
  12. i really see the problem, actually there are 4 pages of patches in the 'under review' section... but the title of this section is wrong, it's a 'needs review' section, not a 'under review'... i take now as an example my own patch, [patch]Don't delete chars finally, the last comment from a dev (i just looked at 'green names' now ^^) was at the 11/30/08, since then no one from the dev-team wrote any comment in there... so i have no idea if there is something to change... and this is only one example, there are much other patches which don't get any review, and i think this isn't good, no one wanna submit a patch if he allready knows that this patch won't get reviewed... for me a little comment as "will be reviewed till 04/01/09" would allready be enought, so i would know that there's going something on
  13. tested with 7011, not fixed yet.
  14. Moved this to correct forum here.
  15. http://getmangos.eu/community/viewtopic.php?id=27881
  16. Restoring patch http://getmangos.eu/community/viewtopic.php?id=21657 not breaking spells Tested partially Index: Unit.cpp =================================================================== --- Unit.cpp (revision 5923) +++ Unit.cpp (working copy) @@ -6917,7 +6917,6 @@ // Distribute Damage over multiple effects, reduce by AoE CastingTime = GetCastingTimeForBonus( spellProto, damagetype, CastingTime ); - /* FIXME: need replace hardocded spell modifiers by common leech effects/auras code // 50% for damage and healing spells for leech spells from damage bonus and 0% from healing for(int j = 0; j < 3; ++j) @@ -6929,8 +6928,7 @@ break; } } - */ - + switch(spellProto->SpellFamilyName) { case SPELLFAMILY_MAGE: @@ -6994,26 +6992,11 @@ { CastingTime = 4025; } - // Death Coil - 21.4% of Shadow Damage - else if((spellProto->SpellFamilyFlags & 0x80000LL) && spellProto->SpellIconID == 88) - { - CastingTime = 749; - } // Curse of Agony - 120% of Shadow Damage else if((spellProto->SpellFamilyFlags & 0x0000000400LL) && spellProto->SpellIconID == 544) { DotFactor = 1.2f; } - // Siphon Life - 100% of Shadow Damage - else if((spellProto->SpellFamilyFlags & 0x0100000000LL) && spellProto->SpellIconID == 152) - { - DotFactor = 1.0f; - } - // Drain Life - else if((spellProto->SpellFamilyFlags & 0x8LL) && spellProto->SpellIconID == 546) - { - CastingTime = 2500; - } // Drain Mana - 0% of Shadow Damage else if((spellProto->SpellFamilyFlags & 0x10LL) && spellProto->SpellIconID == 548) { @@ -7117,11 +7100,6 @@ { CastingTime = 350; } - // Devouring Plague - 80% - else if ((spellProto->SpellFamilyFlags & 0x2000000000LL) && spellProto->SpellIconID == 9) - { - DotFactor = 0.8f; - } break; case SPELLFAMILY_DRUID: // Hurricane triggered spell @@ -7422,7 +7400,6 @@ // distribute healing to all effects, reduce AoE damage CastingTime = GetCastingTimeForBonus( spellProto, damagetype, CastingTime ); - /* // 0% bonus for damage and healing spells for leech spells from healing bonus for(int j = 0; j < 3; ++j) { @@ -7433,8 +7410,7 @@ break; } } - */ - + // Exception switch (spellProto->SpellFamilyName) { [updated] +fix Siphon Life and Devouring Plague [added] Other spells in this exception list has no auras Health Leech or Periodic Leech
  17. Wow... i'm cannot thank you enough, blueboy Thanks for all your efforts to give us a "perfect" bot i've followed your post exactly, and now i only receive this: fatal: corrupt patch at line 612 i've tried to compile the new-ai branch directly, without creating a patch, and also got the error mentioned in this post. After fixing it, i could compile.
  18. Version: One, r1333 (3cf62cdc2831ef742d658dcc910cd6530ae8bda7) Bug: when I go with a hunter to a pet trainer, I can select the "I wish to untrain my pet" option and confirm, but nothing happens. Analysis: this seems to be caused by the [s0361] commit (b31603fc2166d5b61d6687dc9ba06b793c9c105a) that broke things for pets having spells already. The original condition for returning in WorldSession::HandlePetUnlearnOpcode, 'pet->m_spells.size() <= 1' was wrongly translated into 'pet->m_spells.size()'. Edit: a bit late, but I did a search and found this bug report/patch: [fix][0.12]pet talent unlearn. I now also wonder why the original condition included the case where pets have exactly 1 spell? Patch: diff --git a/src/game/PetHandler.cpp b/src/game/PetHandler.cpp index f895367..2d7c269 100644 --- a/src/game/PetHandler.cpp +++ b/src/game/PetHandler.cpp @@ -583,7 +583,7 @@ void WorldSession::HandlePetUnlearnOpcode(WorldPacket& recvPacket) return; } - if (pet->getPetType() != HUNTER_PET || pet->m_spells.size()) + if (pet->getPetType() != HUNTER_PET || !pet->m_spells.size()) return; CharmInfo* charmInfo = pet->GetCharmInfo();
  19. ok i have write with Schmoozerd thats a problem of standing units, plz look in this thread http://getmangos.eu/community/topic/16364/support-for-bosses-which-do-not-move/ this thread can closed
  20. I've built a fix over here. Please try it.
  21. Already posted here: http://getmangos.eu/community/showthread.php?12944-%5Bpatch%5D-combat-log-changes-for-healing-spells You also missing uint8 at the end of packet.
  22. yes, it is very important thing!!! there is the problem too: http://getmangos.eu/community/viewtopic.php?id=6561 :mellow::mellow:
  23. Branch is on this thread: http://getmangos.eu/community/viewtopic.php?id=4404&highlight=chat+log Called "Chat Log"
  24. The World Events are modified by the DB. See the Wiki and the table game_event for more information. There is a current Bug in the Event system so it does not work. See http://getmangos.eu/community/topic/15815/bugs-in-the-events/ for more information about the bug. Maybe it was fixxed right now ^^
  25. @zokuero Could you post the info I request for troubleshooting? Ref: http://getmangos.eu/community/showpost.php?p=74707&postcount=2 @tvup Not sure if this is an AHBot issue, I am running on rev 8767, with SD2 r.1493, and AHBot. No compile issues for me, try a later revision of mangos.
×
×
  • 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