Commit Graph

22730 Commits

Author SHA1 Message Date
Ovah
bfec661048 LFG updates and improvements 2017-10-11 12:53:43 +00:00
Aokromes
8a7a7915c6 DB/SAI: SAI scripts for Silithus creatures 2017-10-10 21:13:45 +02:00
Aokromes
7251f28d1d remove bad merged file 2017-10-10 21:03:26 +02:00
ZenoX92
919ceebde8 Creature/Script: Convert Spitelash Naga cpp to SAI 2017-10-10 21:02:37 +02:00
Aokromes
4ce638e897 Core/Mails: Fixed mail_items entries being left in database after deleting expired mails 2017-10-09 22:09:59 +02:00
Aokromes
1d1b01635d Core/Quest: don't send "Received item" chat message for quest rewards 2017-10-09 22:08:10 +02:00
Keader
417b300afc Core/Spells: Fixed issues with School Immune vs SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE (#20546) 2017-10-08 12:49:30 +02:00
Gildor
9be24a5d95 Core/Spells: EffectSanctuary should stop attack (#20492) 2017-10-06 18:02:36 +02:00
Phillip
b9183f9c33 Core/GuildFinder: Fix crash, while deleting membersip request 2017-09-30 19:15:06 +00:00
Phillip
4e8b35062c Core/GuildFinder: Remove stupid "LIMIT 1" from loading query 2017-09-30 19:12:14 +00:00
Keader
6020c66fbf Core/Spells: Fixed Cloak of Shadows dispel (removed old hack)
Closes #8758
Serverside spell (35729) already handle with it
2017-09-25 16:40:17 +02:00
Aokromes
3c7f9e53f1 Core/Guild: Use correct opcode to send note change, instead of sending whole roster
By gerripeach
2017-09-24 19:19:34 +02:00
Aokromes
fab8e2c9a5 Add warning about warden 2017-09-22 08:00:58 +02:00
Keader
6e0af30592 Core/Handlers: Fixed changing equipment while charmed with equipament manager
Closes #20209
Followup: a1a12ec755
2017-09-17 13:09:44 +02:00
Aokromes
2fe2290bf7 Core/Scripting: remove long time dead code 2017-09-12 15:44:23 +02:00
Aokromes
a1c5eed21c Build fix 2017-09-12 15:03:27 +02:00
Aokromes
9757a45b04 Revert "Core/Player: Prevent changing equipment while charmed. Closes #20209."
This reverts commit 46565118b3.
2017-09-10 16:57:59 +02:00
Aokromes
12321d81da Revert "Core/Player: Update map zone stats BEFORE invoking scripts. Fixes a crash with zone change scripts that invoke another zone change. Closes #20289."
This reverts commit 46657cca71.
2017-09-10 16:52:28 +02:00
Aokromes
e6d6b74f20 Revert "Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases like #20289 from occurring."
This reverts commit 2fc3ddec1d.
2017-09-10 16:51:53 +02:00
Aokromes
86cda20261 Revert "Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time."
This reverts commit 6d2bfac955.
2017-09-10 16:46:42 +02:00
Aokromes
7fd4b005ad Core/Quests: Sync QuestFlags with WPP 2017-09-10 15:46:00 +02:00
Treeston
6d2bfac955 Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time. 2017-09-10 15:42:55 +02:00
Aokromes
f3b5ad8c8a Core/Creatures: Changed NearestAttackableUnitInObjectRangeCheck to only consider neutral units as targets if they are already in combat with target searching unit 2017-09-10 15:42:35 +02:00
Aokromes
2fc3ddec1d Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases like #20289 from occurring. 2017-09-10 15:37:49 +02:00
Treeston
46657cca71 Core/Player: Update map zone stats BEFORE invoking scripts. Fixes a crash with zone change scripts that invoke another zone change. Closes #20289. 2017-09-10 15:34:30 +02:00
Treeston
46565118b3 Core/Player: Prevent changing equipment while charmed. Closes #20209. 2017-09-10 15:30:11 +02:00
ccrs
9c7160e028 Scripts/AzjolNerub: minor corrections
ref #19072
2017-09-10 15:25:32 +02:00
Yehonal
a73a5942d4 Core/Scripts: FOR_SCRIPTS macro shouldn't return early (#20187)
FOR_SCRIPTS, insteadof FOR_SCRIPTS_RET, shouldn't return
otherwise methods such as void ScriptMgr::OnPlayerEnterMap(Map* map, Player* player) will end prematurely
2017-09-10 15:25:00 +02:00
Treeston
244e9c6a15 Core/Creature: Fix an oversight in Creature::SelectVictim that was causing creatures to evade when chased by another creature from outside their own aggro range. Closes #19998. 2017-09-10 15:24:38 +02:00
Foereaper
f4a72fe03a Scripts/Naxxramas: Fix Heigan the Unclean eruption event (#20129)
By scheduling the eruption event without cancelling the previously registered eruption events, Heigan's eruption (or dance) would overlap and cause a runaway scenario, where eruptions would not follow a proper timer.

By using Reschedule and not locking the Eruption event to the fighting phase, the dance now works as intended.
2017-08-20 18:19:39 +02:00
Aokromes
fde6fdc9ca Core/Conditions: Rename CONDITION_SOURCE_TYPE_QUEST_ACCEPT to CONDITION_SOURCE_TYPE_QUEST_AVAILABLE
By Malcrom
2017-08-20 12:59:18 +02:00
Aokromes
2b068721e1 Revert Core/Spell: Magic Absorption Calculation
This reverts commit 28a7ce2007
2017-08-20 09:09:32 +02:00
Gustavo
da40bace9e Core/Scripts: More fixes in boss Lich King (#20147)
* Core/Scripts: More fixes in boss Lich King

Fix Valkyr charge spell, they will no longer ignore Z position and become unreachable.
Correct height of Spirit Bomb and added the 3 seconds delay on his explosion.
Set the Trigger inside frostmourne room as active, to avoid problems with reseting the room, e.g: Spirit Bombs not despawning and Wicked Spirits stuck in evade.
Use correct InhabitType for Wicked and Vile Spirits, this avoid a situation where they could spawn falling.
2017-08-20 07:08:48 +02:00
Shoxxo
2d206feaf2 Core/config: add MonsterSight setting to worldserver.conf.dist
* Updated MonsterSight (What does it)

* Core/Worldserver: Update worldserver.conf.dist

Now it should be corectly ;)

* Relocated and renamed the MonsterSight!
2017-08-19 21:25:47 +02:00
Aokromes
c55dfe25a8 another build fix 2017-08-14 14:11:15 +02:00
Aokromes
57573fd491 Build fix 2017-08-14 14:00:11 +02:00
Aokromes
e140e2ffbc Scripting: Clean up of magic numbers
By Malcrom
2017-08-14 13:42:26 +02:00
Aokromes
139cea3d26 Scripts/ICC: Minor Fixes for Lich King
- Fixed Shadow Trap and Defile Targets

- Fixed Shadow Trap Summon Delay and Duration

- Fixed Berserk Timer (15 Minutes)

- Fixed Shadow Trap Despawn when Snowstorm starts
2017-08-14 11:53:05 +02:00
Aokromes
93e0e0c291 Core/Movement: MotionMaster & MovementGenerators cleaning 2017-08-13 14:55:54 +02:00
ccrs
622736286f Core/SmatAI: correct MoveInLineOfSight
mistake introduced in 15f2706aca that was masqueraded by other checks in combat start, till recent related commits
2017-08-13 03:47:01 +02:00
Aokromes
0e6377c90e Tools/MMapsGenerator: Use system supported threads instead of hardcoded amount
- Use unsigned int for thread count

- Use std::thread::hardware_concurrency() to try estimate available threads instead of hardcoded 3 threads by default

- Print thread count always regardless of using --threads switch or not
2017-08-13 03:42:20 +02:00
ccrs
227a4d8ccb Core/Movement: ee2d7c1d53 followup 2017-08-13 03:38:52 +02:00
Aokromes
62cf8c879a reduce diff 2017-08-13 03:38:48 +02:00
Aokromes
eab24df48a Core/Movement: PropagateSpeedChange should only be called on the top (current active) movement generator 2017-08-13 03:36:13 +02:00
ccrs
591019d9f6 Core/Movement: add new helper that cleans the referenced MovementSlot 2017-08-13 03:31:28 +02:00
Keader
abbdb9744e Revert "Core/Npc: Remove bytes1 once the npc start a combat"
This reverts commit 21b03e7d9b.
2017-08-13 03:30:34 +02:00
Necropola
8e7eac05dd Core/Pet: Fix an issue that was causing lower ranks of pet spells to remain in DB (#20112) 2017-08-13 03:28:17 +02:00
Treeston
867ca8817f Core/Unit: Don't apply liquid effects to game masters. 2017-08-03 19:39:45 +02:00
Shauren
0792f890a3 Core/Misc: Revert back to using boost::regex, std::wregex doesn't work for name validation
Closes #20094
2017-08-03 00:19:24 +02:00
Shauren
3f5f58ec6a Build fix 2017-07-29 15:23:08 +02:00