Commit Graph

23079 Commits

Author SHA1 Message Date
Ovahlord
ce4e137889 Core/Entities: Take terrain swaps into account when calculating LoS/height/area 2018-03-09 23:45:06 +01:00
Aokromes
83627cf2c3 rename files 2018-03-09 22:39:02 +01:00
Ovahlord
fe4f86b1bc Core/VMaps: fixed build, vmaps extraction and some copy paste fails 2018-03-09 22:21:28 +01:00
Ovahlord
4bbdce57e2 Core/VMaps: Implement loading phased tiles 2018-03-09 18:05:47 +01:00
Gooyeth
8a54503c09 Core/Player: Do not remove auras from Gamemasters in arenas (#21568) 2018-03-09 10:15:53 +01:00
ariel-
2aa4871b20 Core/Conditions: validate object types when conditioning implicit spell targets with CONDITION_OBJECT_ENTRY_GUID
Closes #21569
2018-03-09 10:15:46 +01:00
Ovahlord
e44bb5f387 Core/Entities: Phase Rework (main commit) 2018-03-08 22:58:50 +01:00
ariel-
79a0d012f2 Scripts/Commands: Make Shauren happy 2018-03-06 23:48:53 +01:00
Aokromes
d174eb760a Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version
2018-03-06 23:48:39 +01:00
Aokromes
bd49bfef5f sort headers 2018-03-06 23:30:42 +01:00
Aokromes
7c041c7366 build fix 2018-03-06 00:27:54 +01:00
Aokromes
c33ff02c34 Core/MMaps: Remove phased tile support
* Extremely slow
* Needs to be implemented partially in tools
* Conflicts with upcoming phasing rewrite
2018-03-06 00:22:05 +01:00
Shauren
523a2dccdc Revert "Collision/MMap: Fix a memleak reported by valgrind"
This reverts commit 32e8b6506f.
2018-03-06 00:02:33 +01:00
Aokromes
cbf7a27478 Revert "Core/MMaps: Fix crash introduced in commit 32e8b65 (#17447)"
This reverts commit f293994.
2018-03-06 00:01:52 +01:00
Warlockbugs
6a8c0df9a8 Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21534)
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.

Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.

Port of CMaNGOS commit: e1b0048f05
2018-03-05 14:54:35 +01:00
ariel-
23b2d7bcea Core/Spells: explicitly disable non proccing auras when generating default procs
Closes #21529
2018-03-05 14:36:32 +01:00
ariel-
2697bdf2b2 Core/Misc: fix bad dbc data for lock 'Locked ball and chain'
Closes #12260
2018-03-05 14:34:31 +01:00
ariel-
24413cd30f Core/Auras: travis fix 2018-03-05 14:33:25 +01:00
ariel-
62c114d402 Core/Auras: fixed SPELL_AURA_MOD_HIT_CHANCE honoring stack rules in all cases
Updates #21367
2018-03-05 14:19:32 +01:00
ariel-
0321955726 Core/Auras: added sanity checks for area auras having a different owner unit than caster
Closes #21517
2018-03-05 14:19:22 +01:00
Chaouki Dhib
81e7cb4c42 Core/Movement: Correct distance checking
Distance checking should always be in 3D, independently on if the mover has the ability to fly or not.
2018-03-05 14:18:33 +01:00
Aokromes
17bd341fda Core/DBUpdater: Code cleanup 2018-03-05 14:02:05 +01:00
Aokromes
8ad35cb9fa rename files 2018-02-24 13:50:29 +01:00
Aokromes
7bc51fe29e Revert "DB/Spells: fix proc regression with Missile Barrage"
This reverts commit 640dd138a5.
2018-02-24 13:26:26 +01:00
ariel-
30e0c87ff9 Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
Closes #21472
2018-02-24 13:13:47 +01:00
ariel-
f2f574fbdd DB/Spells: fix proc regression with Missile Barrage
Closes #21466
2018-02-24 13:12:03 +01:00
Aokromes
e3423b4298 Core/DBUpdater: Improve message when base SQL file is missing 2018-02-18 18:39:07 +01:00
jackpoz
86f03d79cc Core/Spells: Revert SPELL_ATTR2_IGNORE_ITEM_CHECK to unknown
Revert SPELL_ATTR2_IGNORE_ITEM_CHECK to unknown, too many spells unrelated to items have this attribute and the current handling was causing exploits with "Mote of Water" and other elements.
Fix #19547
2018-02-18 18:37:00 +01:00
Wilcalaf
be2a17f191 Scripts/Nexus: Fixed a rare bug when sometimes Magus telestra managed to die while invisible preventing players from looting. (#21436) 2018-02-18 18:36:49 +01:00
jackpoz
bb70a60ba7 Core/Misc: Add PERFORMANCE_PROFILING CMake option
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance.
This option is unsupported, do not report any issue happening when enabling this option.
2018-02-18 18:36:32 +01:00
jackpoz
4a7089b10a Core/Misc: ASSERT() cleanup
Move some functions calls out of ASSERT() calls. ASSERT() should only apply checks without modifying any object and without having any side effect.
2018-02-18 18:00:27 +01:00
sirikfoll
263617f81f Scripts/Icecrown Citadel: Prevent Lady Deathwhisper movement during first phase. 2018-02-18 18:00:13 +01:00
ariel-
e219b3f940 Core/Auras: fixed Drain Mana breaking early if caster has Mana Feed talent but no active pet 2018-02-18 17:59:30 +01:00
Aokromes
3adfc66859 Core/Scripts: implement Drain Mana breaking some auras on hit 2018-02-18 17:58:58 +01:00
Cannix
c238fd1017 Core/Spells: Execute item casts immediately instead (#21396) 2018-02-17 17:45:28 +01:00
Aokromes
cbe84fa130 Core/Entities: remove grid-wide visibility from setActive and implement another method for it 2018-02-17 17:45:03 +01:00
ariel-
3292925319 Core/Events: update holiday code and remove misleading log (event date is the one from game_event)
- add siign to DBC struct member CalendarFilterType as it was being used as such
- kill localtime usage as it's deprecated

Closes #18542
2018-02-17 16:14:35 +01:00
Aokromes
70a30770d8 Core/Scripts: implemented Fungal Decay & Tail Sting 2018-02-17 16:11:01 +01:00
ariel-
a858e9937e Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise 2018-02-17 16:00:29 +01:00
Aokromes
ca5e3445b8 Core/SAI: Add an action_param3 to "summon gob" to control when the object will despawn
0 - For despawn when creature dies or time runs out
1 - For despawn after time
2018-02-16 04:05:47 +01:00
Aokromes
ade258873e Scripts/TotC: Reduce Twin Val'kyr berserk timer from 10 minutes to 8 minutes on normal mode (match DBM). 2018-02-16 03:49:47 +01:00
ariel-
25675405b2 Core/Auras: skip target map update for one world tick if owner is not yet in world
Closes #21426
2018-02-16 03:44:43 +01:00
Aokromes
1f7391a6b1 Scripts/Commands: add AI/ScriptName to .gobject info 2018-02-16 03:44:27 +01:00
Aokromes
66a01f2d69 Core/Handlers: fix bogus check that skipped CMSG_CAST_SPELL packet under certain conditions, missing a target change 2018-02-16 03:30:18 +01:00
ariel-
66334459a6 Core/Spells: fixed server being too overzealous with autoshot
- Interrupting it when casting another spell and switching targets

Ref #21390
2018-02-16 03:27:16 +01:00
Aokromes
4721d9814b Core/Scripts: Fixed some delayed enrage 2018-02-16 03:26:36 +01:00
Aokromes
0aacb75d73 Scripts/TheBarrens: Fix "The Escape" (863) 2018-02-16 02:21:09 +01:00
Aokromes
74b7ac101a Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will n…
…ow log errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now.

Note that a lot of these scripts may either not currently work, not work reliably, or may be prone to breaking unexpectedly when core internals change. SMART_TARGET_INVOKER is undefined behavior on any event that doesn't directly specify its invoker.

(We are considering options for allowing INVOKER to make sense in timed action lists in a reliable fashion, so they are exempted at this time.)
2018-02-16 02:08:56 +01:00
ariel-
bbe9aa23b0 Core/Spells: fix Vampiric touch dispel effect inheriting damage done pct twice 2018-02-16 01:57:08 +01:00
Wilcalaf
6d90944f02 Archaedas should properly start now when clicking on the altar. (#21401) 2018-02-16 01:40:15 +01:00