Commit Graph
7452 Commits
Author SHA1 Message Date
Shauren 761c82e65a Core/Maps: Use IsValidMapCoord for checking Z coord instead of just std::isfinite - only acceptable values are between -17066.6656 and 17066.6656
(cherry picked from commit 4d956c89fc6f20c546a396573cf42aa97b844c09)
2016-02-09 19:18:05 +01:00
Shauren 25cdc5d980 Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling

Note: Extracting new maps is required
(cherry picked from commit 4f78efd4633f79285f176b61367a067b2cd90e2b)

# Conflicts:
#	dep/PackageList.txt
#	src/server/game/DataStores/DBCStructure.h
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/tools/map_extractor/CMakeLists.txt
#	src/tools/map_extractor/System.cpp
#	src/tools/map_extractor/adt.h
#	src/tools/map_extractor/loadlib.cpp
2016-02-09 18:44:19 +01:00
Shauren aa432db36d Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
Note: Extracting maps is required
(cherry picked from commit db0b8bf24e2b8eb87e6aed7b031ebe138717403d)

# Conflicts:
#	src/server/game/Achievements/AchievementMgr.cpp
#	src/server/game/Chat/Chat.cpp
#	src/server/game/Conditions/ConditionMgr.cpp
#	src/server/game/DataStores/DBCStores.cpp
#	src/server/game/DataStores/DBCStores.h
#	src/server/game/DataStores/DBCfmt.h
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Globals/ObjectMgr.cpp
#	src/server/game/Handlers/BattleGroundHandler.cpp
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Maps/Map.cpp
#	src/server/game/Spells/Spell.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/scripts/Commands/cs_go.cpp
#	src/server/scripts/Commands/cs_group.cpp
#	src/server/scripts/Commands/cs_lookup.cpp
#	src/server/scripts/Commands/cs_misc.cpp
#	src/tools/map_extractor/System.cpp
#	src/tools/mmaps_generator/TerrainBuilder.cpp
2016-02-09 18:19:28 +01:00
Keader 61f92b9a89 Core/Spells: Fixed Totemic Mastery (Tier 6 2P) Shaman 2016-02-08 22:28:47 +01:00
Treeston e3d52990dd Merge pull request #16433 from Tonghost/3.3.5
[3.3.5][6.x] Core/Creature: Do not load equipment with id = 1 when creature.equipmen…
2016-02-06 16:36:53 +01:00
Treeston 6d8e39f59c Merge pull request #16410 from sirikfoll/Strand
Core/Achievement Fix Achievement Defense of the Ancients
2016-02-06 16:35:33 +01:00
Rushor f3fbb49df5 Merge pull request #16472 from Rushor/immunity
Core/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
2016-02-05 21:46:37 +01:00
treeston 0813261c6f Merge branch '3.3.5-toytrain' into 3.3.5 (PR #16218) 2016-02-05 15:11:22 +01:00
pete318 3aaeb57405 Implement AuctionHouse features: GetAll scan and search throttling
Implements two standard features of the Auction House.
* GetAll scan, retrieves all auctions and sends them in a single packet.
  There's a limitation on how often a player can do this (Max 55000 items)
* Search throttling. For normal searches, the server can send a time
  in milliseconds to the client, the client will wait that long between
  searches. Delay set in config

Closes #16469
2016-02-05 15:01:59 +01:00
joschiwald 8b6954e81b Core/Gossips: added some sanity checks to prevent duplicate interaction 2016-02-04 20:43:28 +01:00
Rushor 110e0fd092 Game/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
* updates #16423
2016-02-04 15:46:23 +01:00
pete318 fe2a0fda44 Prevent duplicate spawns for same spawn ID
If there is an alive instance of the creature upon creature spawn, skip
spawn entirely. If there are only dead instances, despawn them. A new dead
corpse in the creatures home position will be respawned.

Closes: #16462
2016-02-03 19:27:36 +01:00
Shauren 4611125339 Merge pull request #16465 from Keader/rapture
Core/Spells: Fixed cooldown check for Rapture (Priest) talent
2016-02-03 15:57:11 +01:00
Keader 7093c0c769 Fix cooldown check talent Rapture (Priest) 2016-02-03 10:43:57 -03:00
treeston bf31f26e8c fix crash 2016-02-03 11:15:09 +01:00
Treeston d5868a7db3 Merge pull request #16345 from Trisjdc/creature_flag_reset_on_respawn
Core/Creatures: Reset unit flags/dynamic flags on Creature::SetDeathState(JUST_RESPAWNED)
2016-02-02 20:36:39 +01:00
treeston bac463c481 Merge branch '3.3.5-noplayerdamagereq' into 3.3.5-base (PR #16257) 2016-02-02 18:10:18 +01:00
Incorrect cc3ae640a4 Core/Creature: Do not load equipment with id = 1 when creature.equipment_id is 0
Closes #16416
2016-01-31 17:09:58 +02:00
Killyana 789470ccf1 Spell/Script: Safirdrang's Chill
Updates #4841
2016-01-30 15:20:14 +01:00
treeston f0b9ee157b Fix warning. 2016-01-30 00:48:47 +01:00
sirikfoll 5cf794b379 Fix Achievement Defense of the Ancients
The spell that trigger the achievement check, needs to be cast before setting up the variables used for the second round, otherwise the achievement will be granted to the wrong team.
Also, SPELL_END_OF_ROUND needs to be casted on the end of the second round too, this was confirmed in retail.
2016-01-28 21:46:03 -02:00
Treeston 942403be0c Merge pull request #16314 from Treeston/3.3.5-fixgroupcredit
Player/Quest: Fix GO group credit
2016-01-28 13:39:29 +01:00
Treeston af62cf5939 Merge pull request #15033 from tkrokli/absorb_ignoring_damage
Unit/CalcAbsorbResist: Sanctified Wrath should pierce absorb effects
2016-01-28 13:32:53 +01:00
Treeston 7e42503244 Merge pull request #16264 from Treeston/3.3.5-noffalooter
Looting/Group: Do not display looter in tooltip when FFA loot is enabled
2016-01-28 11:45:17 +01:00
DDuarte 7a252fc648 Core/SAI: Typo fix of 77087db793
There's no %b, silly
2016-01-26 03:43:15 +00:00
DDuarte 77087db793 Core/SAI: Code improvements to SMART_ACTION_RANDOM_SOUND
Warning fixes and extra sanity checks

Ref #16376
2016-01-26 03:37:07 +00:00
Lopfest e4af2baa7e Core/SAI: added SMART_ACTION_RANDOM_SOUND
Closes #16376
2016-01-26 03:26:41 +00:00
Trisjdc 132be2d25a Core/Creatures: Reset unit flags/dynamic flags on Creature::SetDeathState(JUST_RESPAWNED) 2016-01-24 01:11:19 +00:00
treeston d240ccb38c DB/Creature: Add a new extra_flag CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ (0x00200000) that awards players credit for killing the creature even if less than 50% of damage was dealt by players.
This can be used to fix quests such as "Heated Battle" or "If Valgarde Falls..." that are currently very hard to complete at the appropriate level due to "friendly" NPCs killing off the required targets too quickly for players to get 50% of damage in.
2016-01-23 16:41:25 +01:00
Shauren 3f886025a2 Core/Spells: Ignore category cooldowns for triggered spells.
* This fixes weird issues where triggered spell fails because it has the same category as the spell triggering it

Closes #15794
Closes #15048

(cherry picked from commit 044edced9a5b8f0a53640bfea4727eb9d38eae7f)
2016-01-22 22:14:28 +01:00
treeston cd625a12e2 Player/Quest: Credit group for gameobject activation if they are in proximity. 2016-01-21 00:00:33 +01:00
DDuarte ac727ab208 Scripts: Add override to CheckInRoom() definitions
Fixes -Winconsistent-missing-override
2016-01-19 13:06:04 +00:00
DDuarte 954323d9cb Core/Instances: Fix build in older VS versions
Relax const uses in BossBoundaryEntry so the compiler can generate proper
copy assignment operator (error C2582: 'operator =' function is unavailable in 'BossBoundaryEntry')

Also renamed its members to match our coding standards
(public members should be UpperCamelCase)
2016-01-19 13:01:43 +00:00
treeston 1050b68899 Merge branch '3.3.5-boundaryagain' into 3.3.5-base (PR #16270) 2016-01-18 18:35:20 +01:00
treeston b945d01ee5 Instance boundary follow-up:
- Stop tools from complaining about leaks.
- Also, list -> vector.
- Fix an ambiguous constructor warning.
- Fix a bug with Gormok and Sindragosa (Fixes #16280).
2016-01-18 18:08:15 +01:00
treeston 8c7cd03d08 Item/Misc: Implement Toy Train Set and Wind-Up Train Wrecker. 2016-01-18 15:11:27 +01:00
treeston 17f924a031 Spell facing follow-up: Fix an issue with creatures' channeled spells not cancelling properly in certain conditions 2016-01-18 02:10:17 +01:00
[Dev]Rival fb6a7407e2 Core/BattlegroundIC: Duplicate Keep Cannons. 2016-01-17 02:05:04 +01:00
joschiwald 6b3468f48a Scripts/Spells: fixed Beacon of Light 2016-01-16 23:32:34 +01:00
treeston 10482419b7 Looting/Group: Do not display looter in tooltip when FFA loot is enabled. 2016-01-14 11:56:00 +01:00
treeston 0316dff245 Fix stuff™. 2016-01-14 11:42:12 +01:00
treeston 233297c5c8 Merge branch '3.3.5-spellfacing' into 3.3.5-base (PR #15641) 2016-01-13 18:38:54 +01:00
treeston f481ae1048 Core/Spells: Creature spellcast facing rework:
- Fixes creatures turning just before a spellcast finishes and smacking players with supposedly-unavoidable damage. Fixes and closes #15393, #10803, and probably others.
- Fixes visual effects not lining up with the correct target for spells that have their visual aligned with the caster's orientation (examples: Anub'rekhan Impale, Ingvar's Smash/Dark Smash, etc.). Fixes and closes #2947 and probably a bunch of others, including the aforementioned #15393 and #10803.
- Creatures' displayed target now properly matches the unit they are targeting with spells for a split second (blizzlike). This is necessary to get proper client-side orientation.
2016-01-13 18:35:44 +01:00
treeston 5b8b8c6530 Merge branch '3.3.5-bossboundary' into 3.3.5-base (PR #16089) 2016-01-13 15:33:17 +01:00
Kittnz 09a6516367 Core/Object: Codestyle improvements 2016-01-12 22:43:48 +01:00
treeston 2da458c56d Scripts/Instances: Complete rewrite of the boundary system.
- Migrate boundary logic to Maps/AreaBoundary instead of having it sit in InstanceScript (to possibly allow use for other purposes).
- Implement the first five boundary types in Maps/AreaBoundary.cpp.
- Add boundary checks to Creature's update logic
- Add boundary data for all Northrend raids
- Add boundary initialization structures and methods to InstanceScript
- Modify EnterEvadeMode signature. It now passes a value from the EvadeReason enum as parameter to allow special casing depending on evade reason
- Remove previous (weird) boundary code that had them linked to GO spawns
2016-01-12 22:24:23 +01:00
elecyb 38782deed0 Core/Entities: Show destroy animation for creatures and totems.
Now all pets and totems will have their proper die/destroy animation when killed.

Ported from MaNGOS.
2016-01-12 17:34:34 -03:00
Shauren 48940e292f Core/Quests: Fixed party accept quests 2016-01-12 19:41:27 +01:00
Shauren 3c3cde028c Core/Quests: Fixed quest sharing
Closes #12304
Closes #16183
2016-01-12 19:08:37 +01:00
treeston e203d78d2a Merge remote-tracking branch 'velinath/sai-migrations' into 3.3.5-base 2016-01-12 18:32:51 +01:00