-
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
-
Guys, i think you should try this [patch] Camera system from SilverIce, i tested it and it's working very good with no crash at all.
-
Tested Vehicles for a couple of minutes. A horrible crash happen. So it is not stable. Kich0 was right.
-
What bug does the patch fix? What features does the patch add? adds correct triggered spell For which repository revision was the patch created? should work on latest 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=10886 Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index d89e39c..ea3d998 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7238,6 +7238,13 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB break; } + // Blessing of Ancient Kings + case 64411: + { + trigger_spell_id = 64413; + basepoints[0] = int32(damage * 0.15f); + break; + } } // Blade Barrier if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85)
-
[fix][8884] Pre-wotlk instance MapDifficulty problem
Auntie Mangos posted a topic in ... acceptedOld
This patch would fix the bug that ppl cannot enter pre-wotlk instances in heroic mode as the server reports that the instance is full, which is caused by maxPlayers == 0. With this patch such instances would use their normal maxPlayers value from dbc. Bug report thread: http://getmangos.eu/community/viewtopic.php?id=11123 From 18ef283d4707aac672deed26b06d44336399344d Mon Sep 17 00:00:00 2001 From: Lightguard <[email="[email protected]"][email protected][/email]> Date: Tue, 24 Nov 2009 09:25:23 +0100 Subject: [PATCH 1/1] - Fix heroic instance difficulty/maxPlayers issue Signed-off-by: Lightguard <[email="[email protected]"][email protected][/email]> --- src/game/Map.cpp | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 1a4d642..056c312 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1134,8 +1134,18 @@ MapDifficulty const* Map::GetMapDifficulty() const uint32 Map::GetMaxPlayers() const { - MapDifficulty const* mapDiff = GetMapDifficulty(); - return mapDiff ? mapDiff->maxPlayers : 0; + if(MapDifficulty const* mapDiff = GetMapDifficulty()) + { + if(mapDiff->maxPlayers) // Normal case + return mapDiff->maxPlayers; + else // We have no maxplayers for heroic insances with expansion < 2 + { // The heroic entry exists, so we don't have to check anything, simply return normal max players + MapDifficulty const* normalDiff = GetMapDifficultyData(i_id, DUNGEON_DIFFICULTY_NORMAL); + return normalDiff ? normalDiff->maxPlayers : 0; + } + } + else // I'd rather assert(false); + return 0; } uint32 Map::GetMaxResetDelay() const -- 1.6.5.1.1367.gcd48 Patchfile -
Bah I give up, merging patches is well beyond my user abilities
-
Actually that line wasn't changed since the proc patch by DiSlord was applied.
-
Description of the bug? For which repository revision was the patch created? 8029 Is there a thread in the bug report section or at lighthouse? http://getmangos.eu/community/viewtopic.php?id=6982 Who has been writing this patch? Myself + nos4r2zod Fix: Update the regenerate mechanism so that it is time-based and no longer only "2 seconds based". The rune cooldown was also based on 5 ticks of 2 seconds. moved to a more fine time-based cooldown (in msec). In the normal case, the regenerate is still called every 2sec. However, when a spell requires some power (energy, mana, ...), RegenerateAll is called to have up to date value. Well, almost. To avoid to much regenerate computation, there is a minimum of 400msec between regenerate. Finally, the unit_flag2 UNIT_FLAG2_REGENERATE_POWER is set/unset to notify the client to display correctly the regen in the mana bar. Test OK for Mana (with a priest) and Energy (with a rogue). need a test for DK. latest patch with corrections for [8029] (posted by nos4r2zod) : http://paste2.org/p/268341
-
Mangos 2.4.3
Auntie Mangos replied to Auntie Mangos's topic in OldInstallation, configuration & upgrades
Is there a ScriptDev2 patch for Mangos 2.4.3? it only adds to makefile and configure.ac for linux. I'm running Windows 7. -
Trying to follow the installation guide at http://getmangos.eu/community/showthread.php?7839-[GUIDE]-Ubuntu-Debian-CentOS-RHEL-Install-Guide I am building on Fedora 12 (current updates) - postgresql 8.4.2: $ cat /etc/redhat-release Fedora release 12 (Constantine) $ rpm -qi postgresql-devel Name : postgresql-devel Relocations: (not relocatable) Version : 8.4.2 Vendor: Fedora Project Release : 1.fc12 Build Date: Wed 16 Dec 2009 05:02:18 PM EST Install Date: Fri 12 Mar 2010 03:57:02 PM EST Build Host: localhost Group : Development/Libraries Source RPM: postgresql-8.4.2-1.fc12.src.rpm Size : 5014894 License: MIT Signature : RSA/8, Thu 17 Dec 2009 05:09:21 AM EST, Key ID 9d1cc34857bbccba Packager : Fedora Project URL : [url]http://www.postgresql.org/[/url] Summary : PostgreSQL development header files and libraries Description : The postgresql-devel package contains the header files and libraries needed to compile C or C++ applications which will directly interact with a PostgreSQL database management server and the ecpg Embedded C Postgres preprocessor. You need to install this package if you want to develop applications which will interact with a PostgreSQL server. Received this build failure: CXX QueryResultPostgre.o ../../../../src/shared/Database/QueryResultPostgre.cpp: In member function ‘Field::DataTypes QueryResultPostgre::ConvertNativeType(Oid) const’: ../../../../src/shared/Database/QueryResultPostgre.cpp:84: error: ‘BPCHAROID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:85: error: ‘CIDOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:86: error: ‘CIDROID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:87: error: ‘CIRCLEOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:88: error: ‘INETOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:89: error: ‘NAMEOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:90: error: ‘TEXTOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:91: error: ‘VARCHAROID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:93: error: ‘CASHOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:94: error: ‘FLOAT4OID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:95: error: ‘FLOAT8OID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:96: error: ‘NUMERICOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:98: error: ‘DATEOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:99: error: ‘RELTIMEOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:100: error: ‘TIMEOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:101: error: ‘TIMETZOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:102: error: ‘ABSTIMEOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:103: error: ‘INTERVALOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:104: error: ‘TIMESTAMPOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:105: error: ‘TIMESTAMPTZOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:106: error: ‘INT2OID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:107: error: ‘INT2VECTOROID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:108: error: ‘INT4OID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:109: error: ‘OIDOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:110: error: ‘CHAROID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:111: error: ‘INT8OID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:113: error: ‘BOOLOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:121: error: ‘LSEGOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:122: error: ‘OIDVECTOROID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:123: error: ‘PATHOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:124: error: ‘POINTOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:125: error: ‘POLYGONOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:126: error: ‘REGPROCOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:127: error: ‘TIDOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:128: error: ‘TINTERVALOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:129: error: ‘UNKNOWNOID’ was not declared in this scope ../../../../src/shared/Database/QueryResultPostgre.cpp:130: error: ‘XIDOID’ was not declared in this scope make[5]: *** [QueryResultPostgre.o] Error 1 I know most people use MySQL rather than PostgreSQL, but I prefer to use PostgreSQL and would prefer not to install MySQL as well on my server.
-
What bug does the patch fix? What features does the patch add? allows SPELL_AURA_MOD_HEALING_PCT to reduce any healing made on target like it should For which repository revision was the patch created? should work on latest 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=10686 Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index b6a319c..92a6a0f 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -8941,19 +8941,32 @@ uint32 Unit::SpellCriticalHealingBonus(SpellEntry const *spellProto, uint32 dama uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint32 healamount, DamageEffectType damagetype, uint32 stack) { - // No heal amount for this class spells - if (spellProto->DmgClass == SPELL_DAMAGE_CLASS_NONE) - return healamount; - // For totems get healing bonus from owner (statue isn't totem in fact) if( GetTypeId()==TYPEID_UNIT && ((Creature*)this)->isTotem() && ((Totem*)this)->GetTotemType()!=TOTEM_STATUE) if(Unit* owner = GetOwner()) return owner->SpellHealingBonus(pVictim, spellProto, healamount, damagetype, stack); + float TakenTotalMod = 1.0f; + + // Healing taken percent + float minval = pVictim->GetMaxNegativeAuraModifier(SPELL_AURA_MOD_HEALING_PCT); + if(minval) + TakenTotalMod *= (100.0f + minval) / 100.0f; + + float maxval = pVictim->GetMaxPositiveAuraModifier(SPELL_AURA_MOD_HEALING_PCT); + if(maxval) + TakenTotalMod *= (100.0f + maxval) / 100.0f; + + // No heal amount for this class spells + if (spellProto->DmgClass == SPELL_DAMAGE_CLASS_NONE) + { + healamount = healamount * TakenTotalMod; + return healamount < 0 ? 0 : uint32(healamount); + } + // Healing Done // Taken/Done total percent damage auras float DoneTotalMod = 1.0f; - float TakenTotalMod = 1.0f; int32 DoneTotal = 0; int32 TakenTotal = 0; @@ -9100,15 +9113,6 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint TakenTotalMod *= ((*itr)->GetModifier()->m_amount+100.0f) / 100.0f; } - // Healing taken percent - float minval = pVictim->GetMaxNegativeAuraModifier(SPELL_AURA_MOD_HEALING_PCT); - if(minval) - TakenTotalMod *= (100.0f + minval) / 100.0f; - - float maxval = pVictim->GetMaxPositiveAuraModifier(SPELL_AURA_MOD_HEALING_PCT); - if(maxval) - TakenTotalMod *= (100.0f + maxval) / 100.0f; - AuraList const& mHealingGet= pVictim->GetAurasByType(SPELL_AURA_MOD_HEALING_RECEIVED); for(AuraList::const_iterator i = mHealingGet.begin(); i != mHealingGet.end(); ++i) if ((*i)->isAffectedOnSpell(spellProto))
-
http://getmangos.eu/community/showthread.php?p=50346#post50346 more specifically, open your git bash and type:"git mergetool" (with no quotes). It should bring up a GUI that allows you to directly implement what you want into your .conf.in file. I LOVE the tortoise mergetool personally.
-
http://getmangos.eu/community/topic/13557/mmaps-redux/
-
Making this post 'cos it seems to get lost under the 'windows crash dumps' thread. Mangos 11767 winXP x86 Sd2 2257 Ytdb 605 ( tried with UDB 401 aswell, no change) acid 3.0.8 Also tried full rebuild of maps, dbc, vmaps. crash: Revision: * * 11767 * Date 5:8:2011. Time 23:59 //===================================================== *** Hardware *** Processor: AMD Athlon(tm) 64 Processor 4000+ Number Of Processors: 1 Physical Memory: 2096624 KB (Available: 891148 KB) Commit Charge Limit: 4194303 KB *** Operation System *** Microsoft Windows XP Professional Service Pack 3 (Version 5.1, Build 2600) //===================================================== Exception code: C0000005 ACCESS_VIOLATION Fault address: 00488036 01:00087036 C:\\Documents and Settings\\Triggy\\Desktop\\Win32_Release\\mangosd.exe Registers: EAX:0000000C EBX:777443B8 ECX:3FFFFFF7 EDX:00000000 ESI:00000064 EDI:009D1B50 CS:EIP:001B:00488036 SS:ESP:0023:095F8C84 EBP:095F9D1C DS:0023 ES:0023 FS:003B GS:0000 Flags:00010202 Call stack: Address Frame Function SourceFile 00488036 00000000 MotionMaster::DirectClean+186 004EABA6 00000000 Map::CreatureRespawnRelocation+B6 004EA542 00000000 Map::CreatureRelocation+132 004CE92B 00000000 Creature::RemoveCorpse+19B 004D3B29 00000000 Creature::ForcedDespawn+B9 008AE985 00000000 CreatureEventAI::ProcessAction+1735 008AD101 00000000 CreatureEventAI::ProcessEvent+D01 008AF985 00000000 CreatureEventAI::UpdateAI+1B5 004CFCE4 00000000 Creature::Update+754 00515ACA 00000000 Pet::Update+4DA 004038FF 00000000 WorldObject::UpdateHelper::Update+2F 005022C2 00000000 MaNGOS::ObjectUpdater::Visit+142 00502172 00000000 VisitorHelper<MaNGOS::ObjectUpdater,Creature>+12 00501C40 00000000 VisitorHelper<MaNGOS::ObjectUpdater,Creature,TypeList<Corpse,TypeList<Camera,TypeNull> > >+10 00501373 00000000 VisitorHelper<MaNGOS::ObjectUpdater,Player,TypeList<Creature,TypeList<Corpse,TypeList<Camera,TypeNull> > > >+23 00500B90 00000000 VisitorHelper<MaNGOS::ObjectUpdater,TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeList<Camera,TypeNull> > > > >+10 004FA1ED 00000000 Map::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<Player,TypeList<Creature,TypeList<Corpse,TypeList<Camera,TypeNull> > > > > >+DD 004E948F 00000000 Map::Update+78F 004EDC93 00000000 DungeonMap::Update+13 0070CE01 00000000 MapManager::Update+181 00678FB2 00000000 World::Update+6D2 004660F3 00000000 WorldRunnable::run+73 009D1B69 00000000 ACE_Based::Thread::ThreadTask+19 00292E34 00000000 __WSAFDIsSet+FFFFFFFFFFFCB20C 78543433 00000000 _endthreadex+44 785434C7 00000000 _endthreadex+D8 7C80B729 00000000 GetModuleFileNameA+1BA Call stack: Address Frame Function SourceFile 7C90E514 00000000 KiFastSystemCallRet+0 7C802542 00000000 WaitForSingleObject+12 00249FB4 00000000 __WSAFDIsSet+FFFFFFFFFFF8238C 002B862A 00000000 __WSAFDIsSet+FFFFFFFFFFFF0A02 002B47FF 00000000 __WSAFDIsSet+FFFFFFFFFFFECBD7 006BA8AA 00000000 WorldSocketMgr::Wait+4A 76530B84 00000000 0000:00000000 76530B84 00000000 0000:00000000 6C696146 00000000 Was able to capture a printscreen of the console before it closed though, hope that can help: edit: Latest motionmaster.cpp changes: 11754: https://github.com/mangos/mangos/commit/bc2ef4b99c0fd600a9379e2b5234a53625df46f2 11756: https://github.com/mangos/mangos/commit/873cab6f9dda454ef8c8546b9d4b46b445bb1c31 More users input can be found here: http://getmangos.eu/community/post/136673/#p136673
-
Report : http://getmangos.eu/community/topic/15267/mangos012-crash-character-erase/ patch : diff --git a/src/mangosd/CliRunnable.cpp b/src/mangosd/CliRunnable.cpp index e7e6375..a7d077a 100644 --- a/src/mangosd/CliRunnable.cpp +++ b/src/mangosd/CliRunnable.cpp @@ -410,13 +410,13 @@ bool ChatHandler::HandleCharacterDeletedOldCommand(char* args) bool ChatHandler::HandleCharacterEraseCommand(char* args) { char* nameStr = ExtractLiteralArg(&args); - if (!*nameStr) + if (!nameStr) return false; Player* target; uint64 target_guid; std::string target_name; - if (!ExtractPlayerTarget(&args, &target, &target_guid, &target_name)) + if (!ExtractPlayerTarget(&nameStr, &target, &target_guid, &target_name)) return false; uint32 account_id;
-
ChangeLog - 29th November 2010
Auntie Mangos replied to Auntie Mangos's topic in OldSite feedback & help
29th November 2010 This does look different. House cleaning Did that forum skin change? I assume you are seeing what I see. So: yes. We have tried to unify the visual appearance of the site in all areas, and will continue to do so. For now, the general page style should be the same, and the big mango takes you home everywhere. Further improvements incoming. (Hint: we are heading towards HTML5/CSS3) Feedback this way, please. -
Found this other one too: http://getmangos.eu/community/showthread.php?8820-Level-cap-grater-than-100
-
i started a thread, since im not an expert coder i will maybe find help froms omeone more expert tham me lol http://getmangos.eu/community/showthread.php?12000-Custom-weapons-after-3-3-0
-
What bug does the patch fix? What features does the patch add? fixes Berserk part that allows Mangle (Bear) to hit additional targets For which repository revision was the patch created? should work on latest 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=10816 Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 4be1945..e8fef7c 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2542,6 +2542,13 @@ void Spell::cast(bool skipCheck) AddPrecastSpell(57723); // Exhaustion break; } + case SPELLFAMILY_DRUID: + { + // Berserk (Bear Mangle part) + if (m_spellInfo->Id == 50334) + AddTriggeredSpell(58923); + break; + } default: break; }
-
What bug does the patch fix? What features does the patch add? There were some areas in the world map which did not give the exploration achievement after being discovered, or you'd have to discover a different area to get the achievement. That was because there are four columns in WorldMapOverlay.dbc which describe the potential area ids used to check the completion of the achievement, but the original code only compared the first one. This generic patch fixes Splitertree Post, The Black Temple, Kirin'var Village, Ruins of the Scarlet Enclave, and (maybe) some of the Northrend areas. Note: Undercity is a different story, so it won't get fixed with this patch. For which repository revision was the patch created? 7517 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=6761 diff --git a/src/game/AchievementMgr.cpp b/src/game/AchievementMgr.cpp index 59e2c53..18db0ef 100644 --- a/src/game/AchievementMgr.cpp +++ b/src/game/AchievementMgr.cpp @@ -723,14 +723,24 @@ void AchievementMgr::UpdateAchievementCriteria(AchievementCriteriaTypes type, ui if(!worldOverlayEntry) break; - int32 exploreFlag = GetAreaFlagByAreaID(worldOverlayEntry->areatableID); - if(exploreFlag < 0) - break; + bool matchFound = false; + for (int i = 0; i < 3; ++i) + { + int32 exploreFlag = GetAreaFlagByAreaID(worldOverlayEntry->areatableID[i]); + if(exploreFlag < 0) + break; + + uint32 playerIndexOffset = uint32(exploreFlag) / 32; + uint32 mask = 1<< (uint32(exploreFlag) % 32); - uint32 playerIndexOffset = uint32(exploreFlag) / 32; - uint32 mask = 1<< (uint32(exploreFlag) % 32); + if(GetPlayer()->GetUInt32Value(PLAYER_EXPLORED_ZONES_1 + playerIndexOffset) & mask) + { + matchFound = true; + break; + } + } - if(GetPlayer()->GetUInt32Value(PLAYER_EXPLORED_ZONES_1 + playerIndexOffset) & mask) + if(matchFound) SetCriteriaProgress(achievementCriteria, 1); break; } diff --git a/src/shared/Database/DBCStructure.h b/src/shared/Database/DBCStructure.h index 2f1b0b1..9a78202 100644 --- a/src/shared/Database/DBCStructure.h +++ b/src/shared/Database/DBCStructure.h @@ -1609,7 +1609,7 @@ struct WorldSafeLocsEntry struct WorldMapOverlayEntry { uint32 ID; // 0 - uint32 areatableID; // 2 + uint32 areatableID[4]; // 2 }; // GCC have alternative #pragma pack() syntax and old gcc version not support pack(pop), also any gcc version not support it at some platform diff --git a/src/shared/Database/DBCfmt.cpp b/src/shared/Database/DBCfmt.cpp index 5049fcd..c46e861 100644 --- a/src/shared/Database/DBCfmt.cpp +++ b/src/shared/Database/DBCfmt.cpp @@ -96,4 +96,4 @@ const char VehicleEntryfmt[]="niffffiiiiiiiiffffiiiiiifffffffffffssssfifi"; const char VehicleSeatEntryfmt[]="niiffffffffffiiiiiifffffffiiifffiiiiiiiffiiiii"; const char WorldMapAreaEntryfmt[]="xinxffffix"; const char WorldSafeLocsEntryfmt[]="nifffxxxxxxxxxxxxxxxxx"; -const char WorldMapOverlayEntryfmt[]="nxixxxxxxxxxxxxxx"; +const char WorldMapOverlayEntryfmt[]="nxiiiixxxxxxxxxxx"; Edit: A quick (and hacky) fix for Undercity (I know that this is not the proper way, but if someone want to fix this too...) @@ -1645,10 +1645,15 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const // Dalaran case 1593: case 2484: case 2492: if( (x < 6116 && x > 5568) && (y < 982 && y > 282) && z > 563.0f) areaflag = 2153; break; + // Undercity + case 607: // Ruins of Lordaeron + if (((x < 1850) && (y > 6) && (y < 443)) || + ((x < 1877.2f) && (y > 233) && (y < 242)) || + ((x < 1866) && (y > 224) && (y < 252))) areaflag = 685; break; } return areaflag; }
-
It can be a great idea In my old experience with E\\/erquest, sometime a team of GMs will transform themselves into mobs and attack players in random maps, meanwhile, when players kill these GM mobs, they get some great loots. similar topic is being talked in here: http://getmangos.eu/community/viewtopic.php?id=21324
-
Ok, so I've made a few tests with Death Grip and Feral Charge. Results : it works! For death grip I had to use another patch (that casts the actual jump spell) : see here. I just applied the dummy effect of spell 49576 : diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index ead3147..c60b0c0 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2578,6 +2578,23 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx) // consume diseases unitTarget->RemoveAurasWithDispelType(DISPEL_DISEASE, m_caster->GetGUID()); } + //Death Grip - Lacking propper Jump/Leap (EffectJump - implementation) + else if (m_spellInfo->Id == 49576) + { + if (!unitTarget) + return; + + m_caster->CastSpell(unitTarget, 49560, true); + return; + } + else if (m_spellInfo->Id == 49560) + { + if (!unitTarget) + return; + + unitTarget->CastSpell(m_caster->GetPositionX(), m_caster->GetPositionY(), m_caster->GetPositionZ(), m_spellInfo->CalculateSimple + return; + } break; } } The visual effect is perfect, but maybe too slow, and not enough high in the air. I'm not allowed to post a video to show it...but to give an example, if you're at 30 yars from the target, it takes more than 1 sec to the target to come to you. If you're at 5 yards, it takes a lot less. Afaik, this transit time should be the same regardless of the distance between you and your target. About the height in the air, I don't know what controls this : is it speed_z ? what is speed_z, actually?
-
see http://getmangos.eu/community/viewtopic.php?id=15353 , it will put those "errors" to debug log (if enabled) and won't flood the console by default
-
Well , i've it tested 8-10 times that when players are doing instances & when they pull many mobs it is crashing the server always. In Previous revs it was working fine . my crash dumps
-
Ok, I have made some progress. Nothing new, mainly the abstraction part I mentioned. Started new thread at http://getmangos.eu/community/showthread.php?13557-mmaps-redux, go there from now on.
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®