-
Posts
2446 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Everything posted by Auntie Mangos
-
take traponinet's patch for core 9842 -> http://getmangos.eu/community/showthread.php?11759-dev-Vehicles&p=113532&viewfull=1#post113532
-
This patch is the backport of the original procflag patch by DiSlord What features does the patch add? For which repository revision was the patch created? The backport is made for the revision : e7d587f413fb492a4580c069b1d419c6f566917a of the branch mangos-0.12 I've found a thread which request this patch : http://getmangos.eu/community/showthread.php?6314-Procflag Who has been writing this patch? Please include either forum user names or email addresses. The original patch was made by DiSlord, my work is based on the patch of KAPATEJIb : http://github.com/kpw/kpw/blob/master/31_procflag.patch Final work : MiLk <[email protected]> Code : http://pastebin.com/VL6RjkBP mirror : http://www.mangos.fr/procflag.patch You need to apply a sql file : http://github.com/kpw/kpw/blob/master/SQL/mangos_new_spell_proc_event.sql
-
What bug does the patch fix? What features does the patch add? Now spells with the same icons don't replace each other. For which repository revision was the patch created? s0733 but it works on higher revisions too Is there a thread in the bug report section or at lighthouse? http://getmangos.eu/community/showthread.php?12593-[Question]-Spells-with-same-icon&highlight=icon Who has been writing this patch? Please include either forum user names or email addresses. Me diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index c48e40c..30646ac 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -1976,10 +1977,13 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons bool isModifier = false; for (int i = 0; i < MAX_EFFECT_INDEX; ++i) { - if (spellInfo_1->EffectApplyAuraName[i] == SPELL_AURA_ADD_FLAT_MODIFIER || + if ((spellInfo_1->EffectApplyAuraName[i] == SPELL_AURA_ADD_FLAT_MODIFIER || spellInfo_1->EffectApplyAuraName[i] == SPELL_AURA_ADD_PCT_MODIFIER || spellInfo_2->EffectApplyAuraName[i] == SPELL_AURA_ADD_FLAT_MODIFIER || - spellInfo_2->EffectApplyAuraName[i] == SPELL_AURA_ADD_PCT_MODIFIER ) + spellInfo_2->EffectApplyAuraName[i] == SPELL_AURA_ADD_PCT_MODIFIER ) || + + (spellInfo_1->EffectApplyAuraName[i] != spellInfo_2->EffectApplyAuraName[i] || + spellInfo_1->Effect[i] != spellInfo_2->Effect[i])) isModifier = true; }
-
we don't need access to your (some would now say 'illegal') server. everyone who's working on mangos has it's own local installation (i don't even count my branches & copies anymore). however, if you really want to help: - write bugreports (containing all informations needed!): http://getmangos.eu/community/viewforum.php?id=18 - learn c++/sql and start fixing things - do both of the above everyone here does what he/she wants. i for example like 2.4.3, so you'll probably not see me working on wotlk-related things in the near future. you can't force anyone here to fix something. if you want something to get working, then fix it yourself and provide that patch here. if you're not able to develop (because you don't know c++/sql), then you can still write good bugreports (what revisions (mangos,sd2,udb,acid), a detailed description, etc.) nobody forces you to be here. btw, i'm not an official dev, therefore don't judge mangos based on my behavior. search the forum, maybe you find the code you need. if not: write it yourself, we're not here to make your server better, but to learn something (and fixing things while learning). because you're going to tell me/us what to do. write bugreports and make sure that you're testing it on a clean mangos and not a mangos with hundreds of custom patches. well, we are (or at least i am) not interested in helping your friend. (it's your friend, not mine)damn... now i feel like i'd have wasted my time... don't even know why i answered you =/
-
I still have to figure that out, but it will probably be one thread, since patches in there shouldn't conflict with each other either by functionality and code changes - crashdumps and such stuff should be pretty clear. Moreover, most users won't recognize to what patch is possible error related to. I guess you mean "pushed to mangos/master". Strictly speaking, since it's the main purpose of this tree, I won't put a patch, which isn't supposed to go mangos/master, there. Somehow I'll figure out. As written in the first post, I don't plan adding smaller patches and/or unsupported ones (without active author), so I expect patches mainly from Ambal, balrok and such guys, but I'm open to anyone who will write me a request and make his patch more easily reviewable (see http://getmangos.eu/community/showpost.php?p=80536&postcount=2 for example).This tree isn't supposed to be "put here your patch for testing and don't care", it should serve as a place where developers can put their patches for testing and commit fixes for them, merge new mangos/master every 14 days and so. I expect no more than 4 patches to be there at once, preferably 1-3 patches, since they are going to be too big for conflicts. I expect it to "start" when Ambal returns from his vacation, so we can begin with testing. To put all this in easy scope - imagine this tree as "my implementation of mangos testing branch".
-
What bug does the patch fix? What features does the patch add? This patch would fix the bug that Sapping a player does not remove eat and drink effects, the player will continue eating / drinking while sapped and after the Sap fades. (Sapping a player should make him stand up, and interrupt all effects that can only be used while sitting) For which repository revision was the patch created? 7743 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/viewtopic.php?id=7549 diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 8c4edda..8b2dc42 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3424,7 +3424,10 @@ void Aura::HandleAuraModStun(bool apply, bool Real) if(m_target->GetTypeId() != TYPEID_PLAYER) ((Creature*)m_target)->StopMoving(); else + { m_target->SetUnitMovementFlags(0); //Clear movement flags + m_target->SetStandState(UNIT_STAND_STATE_STAND); + } WorldPacket data(SMSG_FORCE_MOVE_ROOT, 8);
-
Hmm, better to reject this. These few rare cases where this would really be required, we can * script the summoned npcs in sd2 * script the summoner in sd2 * add a core change similar to http://getmangos.eu/community/topic/15978/patch-make-use-of-original-caster-for-justsummoned-spellhittarget/ (directly trigger JustSummoned for the original caster with no other changes)
-
No, this has nothing to do with hosting the server on a Windows box and connect to it with a Mac. I'm guessing the problem is your realm (world daemon) is still listed in your database with a wrong hostname or IP like 127.0.0.1 or something. Check this thread, where I (tried to) describe a similar situation: http://getmangos.eu/community/topic/16923/can-see-realms-but-not-enter-to-them/
-
Hi, If I understand you right, you would like the bots to independently enter the world and play (a robot). This sound like something that paytheo was suggesting here http://getmangos.eu/community/post/130817/#p130817 and beyond the present scope of playerbot. Maybe you could contact him, he was certainly keen on developing an autonomous AI system. Cheers
-
* What bug does the patch fix? What features does the patch add? See src/game/Player.cpp: *p_data << uint32(char_flags); // character flags // character customize flags *p_data << uint32(atLoginFlags & AT_LOGIN_CUSTOMIZE ? CHAR_CUSTOMIZE_FLAG_CUSTOMIZE : CHAR_CUSTOMIZE_FLAG_NONE); *p_data << uint8(1); // unknown The unknown field looks like a character first login flag. When the character is at first login, it will be sent 1, the client could play cinematic but doesn't show game tips when loading map, else send 0, the client could show game tips. This should fix the bug that game tips never be shown since 3.0, which are very useful for newbies. * For which repository revision was the patch created? [9162] * Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. Yes. http://getmangos.eu/community/showthread.php?7118-%5BBUG%5D-Client-Game-tips-are-not-work-since-3-0&highlight= * Who has been writing this patch? Please include either forum user names or email addresses. daveh Patch: diff --git a/src/game/CharacterHandler.cpp b/src/game/CharacterHandler.cpp index f0fecc1..765a7c9 100644 --- a/src/game/CharacterHandler.cpp +++ b/src/game/CharacterHandler.cpp @@ -456,6 +456,8 @@ void WorldSession::HandleCharCreateOpcode( WorldPacket & recv_data ) if ((have_same_race && skipCinematics == CINEMATICS_SKIP_SAME_RACE) || skipCinematics == CINEMATICS_SKIP_ALL) pNewChar->setCinematic(1); // not show intro + pNewChar->SetAtLoginFlag(AT_LOGIN_FIRST); + // Player created, save it now pNewChar->SaveToDB(); charcount += 1; @@ -768,6 +770,9 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder *holder) SendNotification(LANG_RESET_TALENTS); } + if (pCurrChar->HasAtLoginFlag(AT_LOGIN_FIRST)) + pCurrChar->RemoveAtLoginFlag(AT_LOGIN_FIRST); + // show time before shutdown if shutdown planned. if(sWorld.IsShutdowning()) sWorld.ShutdownMsg(true,pCurrChar); diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 2a33142..0715694 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -1486,7 +1486,7 @@ bool Player::BuildEnumData( QueryResult * result, WorldPacket * p_data ) *p_data << uint32(char_flags); // character flags // character customize flags *p_data << uint32(atLoginFlags & AT_LOGIN_CUSTOMIZE ? CHAR_CUSTOMIZE_FLAG_CUSTOMIZE : CHAR_CUSTOMIZE_FLAG_NONE); - *p_data << uint8(1); // unknown + *p_data << uint8(atLoginFlags & AT_LOGIN_FIRST ? 1 : 0); // character first login // Pets info { diff --git a/src/game/Player.h b/src/game/Player.h index 44a3bcb..a677f6f 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -563,6 +563,7 @@ enum AtLoginFlags AT_LOGIN_RESET_TALENTS = 0x04, AT_LOGIN_CUSTOMIZE = 0x08, AT_LOGIN_RESET_PET_TALENTS = 0x10, + AT_LOGIN_FIRST = 0x20, }; typedef std::map<uint32, QuestStatusData> QuestStatusMap;
-
What bug does the patch fix? What features does the patch add? According to Kapatejib (at mangos.ru) this patch should fix the issues with the threatvalues that are send to the client. As you probably know, addons like omen aren't working at the moment because of this bug. This fix WONT (I repeat WONT!!!) fix any threatbugs from certain spells! For which repository revision was the patch created? 8478 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. Not sure, couldn't find any. Only topic I found was a hacky fix. Who has been writing this patch? Please include either forum user names or email addresses. Kapatejib (topic at mangos.ru can be found here) I'm not the creator of the patch, I just want to share this with the English speaking people diff --git a/src/game/ThreatManager.cpp b/src/game/ThreatManager.cpp index a058a8f..805dbaf 100644 --- a/src/game/ThreatManager.cpp +++ b/src/game/ThreatManager.cpp @@ -212,6 +212,9 @@ void ThreatContainer::clearReferences() HostilReference* ThreatContainer::getReferenceByTarget(Unit* pVictim) { HostilReference* result = NULL; + if(!pVictim) + return NULL; + uint64 guid = pVictim->GetGUID(); for(std::list<HostilReference*>::const_iterator i = iThreatList.begin(); i != iThreatList.end(); ++i) { @@ -342,7 +345,7 @@ HostilReference* ThreatContainer::selectNextVictim(Creature* pAttacker, HostilRe //=================== ThreatManager ========================== //============================================================ -ThreatManager::ThreatManager(Unit* owner) : iCurrentVictim(NULL), iOwner(owner) +ThreatManager::ThreatManager(Unit* owner) : iCurrentVictim(NULL), iOwner(owner), iUpdateTimer(THREAT_UPDATE_INTERVAL) { } @@ -353,6 +356,7 @@ void ThreatManager::clearReferences() iThreatContainer.clearReferences(); iThreatOfflineContainer.clearReferences(); iCurrentVictim = NULL; + iUpdateTimer = THREAT_UPDATE_INTERVAL; } //============================================================ @@ -452,6 +456,10 @@ void ThreatManager::tauntFadeOut(Unit *pTaunter) void ThreatManager::setCurrentVictim(HostilReference* pHostilReference) { + if (pHostilReference && pHostilReference != iCurrentVictim) + { + iOwner->SendChangeCurrentVictimOpcode(pHostilReference); + } iCurrentVictim = pHostilReference; } @@ -497,6 +505,7 @@ void ThreatManager::ProcessThreatEvent(ThreatRefStatusChangeEvent* threatRefStat setCurrentVictim(NULL); setDirty(true); } + iOwner->SendRemoveFromThreatListOpcode(hostilReference); if(hostilReference->isOnline()) iThreatContainer.remove(hostilReference); else @@ -504,3 +513,16 @@ void ThreatManager::ProcessThreatEvent(ThreatRefStatusChangeEvent* threatRefStat break; } } + +bool ThreatManager::isNeedUpdateToClient(uint32 time) +{ + if (isThreatListEmpty()) + return false; + if (time >= iUpdateTimer) + { + iUpdateTimer = THREAT_UPDATE_INTERVAL; + return true; + } + iUpdateTimer -= time; + return false; +} diff --git a/src/game/ThreatManager.h b/src/game/ThreatManager.h index d569480..efc753b 100644 --- a/src/game/ThreatManager.h +++ b/src/game/ThreatManager.h @@ -33,6 +33,8 @@ class Creature; class ThreatManager; struct SpellEntry; +#define THREAT_UPDATE_INTERVAL 1 * IN_MILISECONDS // Server should send threat update to client periodically each second + //============================================================== // Class to calculate the real threat based @@ -185,6 +187,8 @@ class MANGOS_DLL_SPEC ThreatManager void processThreatEvent(ThreatRefStatusChangeEvent* threatRefStatusChangeEvent); + bool isNeedUpdateToClient(uint32 time); + HostilReference* getCurrentVictim() { return iCurrentVictim; } Unit* getOwner() { return iOwner; } @@ -207,6 +211,7 @@ class MANGOS_DLL_SPEC ThreatManager private: HostilReference* iCurrentVictim; Unit* iOwner; + uint32 iUpdateTimer; ThreatContainer iThreatContainer; ThreatContainer iThreatOfflineContainer; }; diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 2725018..0e5f1e2 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -205,6 +205,9 @@ void Unit::Update( uint32 p_time ) delete *itr; m_deletedAuras.clear(); + if (CanHaveThreatList() && getThreatManager().isNeedUpdateToClient(p_time)) + SendThreatListUpdate(); + // update combat timer only for players and pets if (isInCombat() && (GetTypeId() == TYPEID_PLAYER || ((Creature*)this)->isPet() || ((Creature*)this)->isCharmed())) { @@ -9905,6 +9908,8 @@ void Unit::AddThreat(Unit* pVictim, float threat, SpellSchoolMask schoolMask, Sp void Unit::DeleteThreatList() { + if(CanHaveThreatList() && !m_ThreatManager.isThreatListEmpty()) + SendClearThreatListOpcode(); m_ThreatManager.clearReferences(); } @@ -12147,3 +12152,57 @@ void Unit::KnockBackFrom(Unit* target, float horizintalSpeed, float verticalSpee NearTeleportTo(fx, fy, fz, GetOrientation(), this == target); } } + +void Unit::SendThreatListUpdate() +{ + if (uint32 count = getThreatManager().getThreatList().size()) + { + sLog.outDebug( "WORLD: Send SMSG_THREAT_UPDATE Message" ); + WorldPacket data(SMSG_THREAT_UPDATE, 8 + count * 8); + data.append(GetPackGUID()); + data << uint32(count); + std::list<HostilReference*>& tlist = getThreatManager().getThreatList(); + for (std::list<HostilReference*>::const_iterator itr = tlist.begin(); itr != tlist.end(); ++itr) + { + data.appendPackGUID((*itr)->getUnitGuid()); + data << uint32((*itr)->getThreat()); + } + SendMessageToSet(&data, false); + } +} + +void Unit::SendChangeCurrentVictimOpcode(HostilReference* pHostilReference) +{ + if (uint32 count = getThreatManager().getThreatList().size()) + { + sLog.outDebug( "WORLD: Send SMSG_HIGHEST_THREAT_UPDATE Message" ); + WorldPacket data(SMSG_HIGHEST_THREAT_UPDATE, 8 + 8 + count * 8); + data.append(GetPackGUID()); + data.appendPackGUID(pHostilReference->getUnitGuid()); + data << uint32(count); + std::list<HostilReference*>& tlist = getThreatManager().getThreatList(); + for (std::list<HostilReference*>::const_iterator itr = tlist.begin(); itr != tlist.end(); ++itr) + { + data.appendPackGUID((*itr)->getUnitGuid()); + data << uint32((*itr)->getThreat()); + } + SendMessageToSet(&data, false); + } +} + +void Unit::SendClearThreatListOpcode() +{ + sLog.outDebug( "WORLD: Send SMSG_THREAT_CLEAR Message" ); + WorldPacket data(SMSG_THREAT_CLEAR, 8); + data.append(GetPackGUID()); + SendMessageToSet(&data, false); +} + +void Unit::SendRemoveFromThreatListOpcode(HostilReference* pHostilReference) +{ + sLog.outDebug( "WORLD: Send SMSG_THREAT_REMOVE Message" ); + WorldPacket data(SMSG_THREAT_REMOVE, 8 + 8); + data.append(GetPackGUID()); + data.appendPackGUID(pHostilReference->getUnitGuid()); + SendMessageToSet(&data, false); +} diff --git a/src/game/Unit.h b/src/game/Unit.h index 20c1754..33547b6 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1142,6 +1142,11 @@ class MANGOS_DLL_SPEC Unit : public WorldObject void SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint8 type, MonsterMovementFlags flags, uint32 Time, Player* player = NULL); void SendMonsterMoveByPath(Path const& path, uint32 start, uint32 end, MonsterMovementFlags flags); + void SendChangeCurrentVictimOpcode(HostilReference* pHostilReference); + void SendClearThreatListOpcode(); + void SendRemoveFromThreatListOpcode(HostilReference* pHostilReference); + void SendThreatListUpdate(); + void BuildHeartBeatMsg( WorldPacket *data ) const; virtual void MoveOutOfRange(Player &) { };
-
What bug does the patch fix? What features does the patch add? Judgement of Justice: Unlike the rest of the judgements, JoJ should have its PvP duration of 10s Turn Evil: It should have the same diminishing returns than fear. For which repository revision was the patch created? r11620 Is there a thread in the bug report section or at lighthouse? http://getmangos.eu/community/topic/13859/spellbug-judgement-of-justice/ Who has been writing this patch? Please include either forum user names or email addresses. Me Spells affected: Judgement of Justice: Id: 20184 SpellFamilyName: 10 SpellFamilyFlags1: 0x100000 (only JoJ have this flags) SpellFamilyFlags2: 0 SpellFamilyFlags3: 0 Turn Evil (there are many paladin spells with same SpellFamilyFlags, so check for the icon is also required): Id: 10326 SpellFamilyName: 10 SpellIconID: 309 SpellFamilyFlags1: 0 SpellFamilyFlags2: 0x804000 SpellFamilyFlags3: 0 Id: 57546 SpellFamilyName: 10 SpellIconID: 309 SpellFamilyFlags1: 0 SpellFamilyFlags2: 0x804000 SpellFamilyFlags3: 0 Fix: https://gist.github.com/1033602
-
both UDB 393/399 (database version) and 3.3.5a (client version) have 0% to do with the functionality of AHBot patch. The reason current AHBot (commit 37d02ac88add5c131db7) does not work with current mangos (rev 11300) is that files in mangos have changed in a way that a merge with AHBot cannot be done automatically. You have 3 options to solve the issue as far as i can tell, manually make the changes so the code can be merged or ask for a patch in the appropriate thread or wait for cyberium to continue work on his repository Edit: the change in mangos that caused ahbot to not work was long before rev 11300, i just don't remember the exact revision
-
Hi there and thanks for giving intrests ! My request is quit simpel but maby hard to do.. i was looking in the http://getmangos.eu/community/topic/11566/php-interesting-scripts-for-your-website/ and saw wery usfull things. but im looking for an ever more usfull thing.. the code of registrating game account slash forum account all in one..:cool: I mean an code that makes that wen you register an game account you at the same time registers forum account with the same info... so for example.. im goin in the site and trigger on the register button and il come to the forum registration site and it says to me that youre game account will be youre forum account... It would be nice to get this info on how to do it. and maby you want to help me doing it on my website ? then conntact me on ether Email or msn with this adress = [email protected] BTW exuse my bad spelling but ive never got to learn english spelling in school.. And my native luangues is Swedish so.. PEASE OUT !
-
Same problem here. Also I have a pdump from a character that I know he crash the server. If you want it, i can send it to you, Vladimir. Also I have tried the two fixes posted here http://getmangos.eu/community/viewtopic.php?id=14917 wich it seems at first the same problem, but even so server crash sometimes with characters I commented in another post that if the player delete wtf folder, and you delete character_account_data/account data info, problem fixes but it is no a solution.
-
First I've to mention there was already a cmake try: http://getmangos.eu/community/viewtopic.php?id=5024 even if it was really oversimplified Second: it took me a good amount of time to apply it on my windows-system. Maybe it would be much easier if you set up a git-clone. and most important: doesn't work on windows * mysql path should be "dep/include/mysql" and "dep/lib/xxxx" (findmysql.cmake line 63/64) * same for SSLib and ZLIB .. looks like the test of these are missing * also for ace..but ace should be a sub-project and so doesn't requires a 'find' in this way * some cmakefiles are missing / must be removed: * dep/src/cmakelists.txt * src/bindings/cmakelists.txt * src/shared/database/cmakelists.txt since I run out-of-time I stopped testing at this point. suggestions: * rename options to something like "MANGOS_USE_MYSQL" 'cause newer cmake gui's support name grouping. * "LARGE_CELL" and "SHORT_SLEEP" aren't options of mangos..as fas as I know. * On a first gaze the main cmakelists.txt looks messed up and unprofessional. I would prefer a rework but some comments and tabs could also do it
-
What bug does the patch fix? What features does the patch add? Implements 4 piece bonus of Tier 9 Elemental Shaman sets "Your Lava Burst spell causes your target to burn for an additional 10% of your spell's damage over 6 sec." Links: http://www.wowhead.com/?spell=67228 http://www.wowhead.com/?spell=71824 For which repository revision was the patch created? 9363 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?12562-[bug]-Shaman-T9-Elemental-4P-Bonus&p=104079 Who has been writing this patch? Please include either forum user names or email addresses. unloading (aka myself) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 11dcfaf..5d8b2e8 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6617,6 +6617,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu triggered_spell_id = 64930; // Electrified break; } + // Shaman T9 Elemental 4P Bonus + case 67228: + { + basepoints0 = int32( triggerAmount * damage / 100 ); + triggered_spell_id = 71824; + break; + } } // Storm, Earth and Fire if (dummySpell->SpellIconID == 3063) INSERT INTO spell_bonus_data VALUES (71824,0,0,0,'Item - Shaman T9 Elemental 4P Bonus'); INSERT INTO `spell_proc_event` VALUES (67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
-
Hmm... what do you think ot the glyphs ideea used by KiriX regarding data blob? http://getmangos.eu/community/showthread.php?p=94123#post94123
-
Infusion of Light should proc on critical heals and critical hits. Bugreport: http://getmangos.eu/community/viewtopic.php?id=6290 Patch written by: Cha0S aka Splash DELETE FROM `spell_proc_event` WHERE `entry` IN ('53569','53576'); INSERT INTO spell_proc_event VALUES ('53569','0','10','2097152','327680','0','0','2','0','0','0'); INSERT INTO spell_proc_event VALUES ('53576','0','10','2097152','327680','0','0','2','0','0','0');
-
Little bump in combined version: Author = me, Toinan67, tested on rev 10997 Combined fixes for Bronjahm, original threads: - also updated "my" threads with recentish versions. http://getmangos.eu/community/topic/15116/fix-icc-fos-boss-bronjahm-magics-bane-spell/ (Toinan67) http://getmangos.eu/community/topic/14878/fix-icc-fos-boss-bronjahm-corruptsoulspell/ http://getmangos.eu/community/topic/14876/fix-icc-fos-boss-bronjahm-fearspell/ and this one here Edit - this collection of fixes is obsolete by now, if I am not mistaken, only the part of this topic is still missing From 6da42f4d6b7486f2f9dc0ad24b1a82215fdb6b3d Mon Sep 17 00:00:00 2001 From: Schmoozerd <[email protected]> Date: Sat, 30 Oct 2010 17:36:34 +0200 Subject: [PATCH 1/2] Bronjahm Consume Soul, Corrupt Sould and Fear --- src/game/Spell.cpp | 1 + src/game/SpellAuras.cpp | 4 ++++ src/game/SpellEffects.cpp | 4 ++++ 3 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 11df7b1..24e2eb5 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1489,6 +1489,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& case 38794: // Murmur's Touch (h) case 50988: // Glare of the Tribunal (Halls of Stone) case 59870: // Glare of the Tribunal (h) (Halls of Stone) + case 68950: // Fear (ICC: Forge of Souls) unMaxTargets = 1; break; case 28542: // Life Drain diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index f4b6575..b9f5272 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2333,6 +2333,10 @@ void Aura::HandleAuraDummy(bool apply, bool Real) } return; } + case 68839: // Corrupt Soul + target->CastSpell(target, 68848, true, NULL, this); + target->CastSpell(target, 68846, true, NULL, this); + return; } // Living Bomb diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 30befc2..a83c1c9 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6486,6 +6486,10 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx) unitTarget->CastSpell(unitTarget, 66747, true); return; } + case 68861: // Consume Soul (ICC FoS: Bronjahm) + if (unitTarget) + unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true); + return; case 69377: // Fortitude { if (!unitTarget) -- 1.7.3.1.msysgit.0 From b271bf3feb3ca6a01d72e46374f6ac6f3b5a7a11 Mon Sep 17 00:00:00 2001 From: Toinan67 <[email protected]> Date: Tue, 11 Jan 2011 18:25:02 +0100 Subject: [PATCH 2/2] Bronjahm - Magic's Bane --- src/game/SpellEffects.cpp | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index a83c1c9..92df911 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -373,6 +373,26 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx) case 67485: damage += uint32(0.5f * m_caster->GetTotalAttackPowerValue(BASE_ATTACK)); break; + //Magic Bane normal (Forge of Souls - Bronjahm) + case 68793: + { + damage += uint32(unitTarget->GetMaxPower(POWER_MANA) / 2); + + if (damage > 10000) + damage = 10000; + + break; + } + //Magic Bane heroic (Forge of Souls - Bronjahm) + case 69050: + { + damage += uint32(unitTarget->GetMaxPower(POWER_MANA) / 2); + + if (damage > 15000) + damage = 15000; + + break; + } } break; } -- 1.7.3.1.msysgit.0
-
Hi! I've just started using MaNGOS again, and I have a problem. I'm playing as a Night Elf Hunter, and when I get to the quest "Taming the Beast" i get some problems. I finished the first part (taming a spider) but when I finished it, the spider died, but continued to be my pet. As a result, I can't tame a new beast (nightsaber), and thus I'm not able to learn how to get a pet I followed this guide when I installed and compiled MaNGOS, and as far as I know, I have week-old revisions of everything. Is it possible to fix this problem? It would suck playing as a hunter without a pet Thanks in advance
-
That part is cleary described in all of the guides, since you said you think your server is running linux, you'll want to refer to the guide [GUIDE] Ubuntu/Debian/CentOS/RHEL Install Guide starting from Step 6 Edit: The World Database portion of that guide is out-dated here is a snip from my 90% finished guide I'm working on cd ~ ; mkdir udb ; cd udb ; svn co [url]https://unifieddb.svn.sourceforge.net/svnroot/unifieddb/trunk/[/url] ; svn may return a prompt stating that the certificate is untrusted, you can temporarily or permanently accept it unzip trunk/Full_DB/UDB*.zip -d trunk/Full_DB/ ; echo 'DROP DATABASE IF EXISTS mangos; \\ CREATE DATABASE mangos DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; \\ GRANT ALL PRIVILEGES ON mangos.* TO mangos@localhost WITH GRANT OPTION;' | mysql -uroot -p[b][color="RED"]<MySQL Root Password>[/color][/b] ; mysql -umangos -p[b][color="RED"]<MySQL MaNGOS Password>[/color][/b] mangos < trunk/Full_DB/UDB*.sql ; Note this snip of code is intended for FreeBSD but should work on any linux distro as long as you have subversion and unzip installed
-
Vehicle makes dualspe bugs, see : http://getmangos.eu/community/showthread.php?13601-[not-mangos-problem][bUG]-Dual-Talent
-
Hi, I want to prohibe the creation of 2vs2 arena teams http://getmangos.eu/community/showthread.php?13047-ExtendedCost Is this correct? bool ArenaTeam::Create(uint64 captainGuid, uint32 type, std::string ArenaTeamName) { if(!sObjectMgr.GetPlayer(captainGuid)) // player not exist return false; if(sObjectMgr.GetArenaTeamByName(ArenaTeamName)) // arena team with this name already exist return false; + if(type==2) //arena team 2vs2 + return false; sLog.outDebug("GUILD: creating arena team %s to leader: %u", ArenaTeamName.c_str(), GUID_LOPART(captainGuid)); m_CaptainGuid = captainGuid; m_Name = ArenaTeamName; m_Type = type; m_TeamId = sObjectMgr.GenerateArenaTeamId(); // ArenaTeamName already assigned to ArenaTeam::name, use it to encode string for DB CharacterDatabase.escape_string(ArenaTeamName); CharacterDatabase.BeginTransaction(); // CharacterDatabase.PExecute("DELETE FROM arena_team WHERE arenateamid='%u'", m_TeamId); - MAX(arenateam)+1 not exist CharacterDatabase.PExecute("DELETE FROM arena_team_member WHERE arenateamid='%u'", m_TeamId); CharacterDatabase.PExecute("INSERT INTO arena_team (arenateamid,name,captainguid,type,BackgroundColor,EmblemStyle,EmblemColor,BorderStyle,BorderColor) " "VALUES('%u','%s','%u','%u','%u','%u','%u','%u','%u')", m_TeamId, ArenaTeamName.c_str(), GUID_LOPART(m_CaptainGuid), m_Type, m_BackgroundColor, m_EmblemStyle, m_EmblemColor, m_BorderStyle, m_BorderColor); CharacterDatabase.PExecute("INSERT INTO arena_team_stats (arenateamid, rating, games, wins, played, wins2, rank) VALUES " "('%u', '%u', '%u', '%u', '%u', '%u', '%u')", m_TeamId, m_stats.rating, m_stats.games_week, m_stats.wins_week, m_stats.games_season, m_stats.wins_season, m_stats.rank); CharacterDatabase.CommitTransaction(); AddMember(m_CaptainGuid); return true; } How can I show a messaje like "2vs2 teams are forbidden" to players?
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions

You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®