Commit Graph

16210 Commits

Author SHA1 Message Date
Shauren
ff334ae707 Core/Conditions: Reimplemented CONDITION_OBJECT_ENTRY_GUID and CONDITION_TYPE_MASK under new values to allow easier porting conditions between branches. Old data is dynamically converted during startup 2019-07-21 17:12:34 +02:00
Shauren
3058d8c5ab Core/bnetserver: Fixed crash happening when sending packets larger than 4096 bytes 2019-07-21 16:32:49 +02:00
Shauren
7dc057fedb Warning fix 2019-07-15 18:25:57 +02:00
Shauren
87bcf6c3c1 Warning fix 2019-07-15 18:03:48 +02:00
r00ty-tc
75efb5d431 Core/Database: Correction for later MariaDB version
- Removed unused define CR_INVALID_CONN_HANDLE which was removed entirely in more modern MariaDB versions

(cherry picked from commit 2a7a1b27d5)
2019-07-15 15:08:19 +02:00
Shauren
4d0910d9c2 Fix nopch build 2019-07-14 19:45:58 +02:00
Shauren
857bb68deb Core/Spells: Fixed creating enchant scrolls 2019-07-14 19:20:45 +02:00
Shauren
3262bc827d Core/DataStores: Updated db2 structures to 8.2 2019-07-14 19:20:45 +02:00
Shauren
3714bf8e7a Core/Misc: Updated GameObjectTemplate structure 2019-07-14 19:20:45 +02:00
Shauren
74a801182a Core/PacketIO: Updated packet encryption to 8.2 2019-07-14 19:20:45 +02:00
Shauren
0e4c569770 Core/PacketIO: Updated packet structures to 8.2 2019-07-14 19:20:44 +02:00
Shauren
07572fd12c Core/PacketIO: Fixed writing update masks for SMSG_UPDATE_OBJECT 2019-07-04 22:25:44 +02:00
Shauren
d39354e3a3 Core/Misc: Fixed log/query formatting with Difficulty 2019-06-27 21:54:07 +02:00
Ovah
867458a424 Core/Spells: define and implement TARGET_UNIT_CONE_ENTRY_129 (#23496) 2019-06-26 15:06:07 +02:00
funjoker
d11b9a6992 Core/DataStores: Fix field order for some DB2s (#23439) 2019-06-18 19:33:29 +02:00
Shauren
357e0ec394 Scripts/Quests: Fix Quest 14386 Leader of the Pack
By Malcrom
2019-06-17 21:17:14 +02:00
funjoker
eef87a9cc0 Core/Creatures: Modify creature_template_model structure to accept unmodified sniffed data (#23427) 2019-06-16 21:32:01 +02:00
Shauren
1ce8bf22fc Nopch fix 2019-06-15 19:04:21 +02:00
Gustavo
7fbae7530d Core/Scripts Rework boss Terestian Illhoof (Karazhan) (#19057)
(cherrypicked from 87f2cb04ca)
2019-06-15 18:41:09 +02:00
Keader
77a73a737c Build fix and codestyle
(cherrypicked from 8f00aa92de)
2019-06-15 18:41:09 +02:00
Afgann
afade22ffb Core/Scripts: Moorabi encounter updated. (#19013)
(cherrypicked from 21b5a377e4)
2019-06-15 18:41:09 +02:00
Shauren
be87c0e8b8 fix typo
(cherrypicked from 09cc6b3c33)
2019-06-15 18:41:09 +02:00
Shauren
48cc6f384d Core/Maps: Adjusted WorldObject::GetGridActivationRange() to never be less than map visibility distance for active objects to ensure equal ranges for activation/deactivation of grids
Updates #19072

(cherrypicked from 74bb92a582)
2019-06-15 18:41:09 +02:00
ariel-
248fd9691b Core/Spell: properly add SPELLMOD_COOLDOWN to spells without initial cooldown
Closes #15605

(cherrypicked from 3a65c70657)
2019-06-15 18:41:09 +02:00
Kittnz
5291842a33 Game/Scripting: Add OnPlayerRepop hook
Called when a player presses release when he died

(cherrypicked from d550ba7392)
2019-06-15 18:41:09 +02:00
treeston
cc020b2a0f Core/Creature: Prevent boss creatures from ever respawning naturally.
(cherrypicked from 3ddcf40037)
2019-06-15 18:41:09 +02:00
ariel-
a29a157e34 Core/SmartAI: Delay SMART_ACTION_FORCE_DESPAWN by at least one world tick
- Restore old despawn behavior of SmartAI despawning (without reintroducing the run time logs caused by IsSmart)
- Some SAIs relied on this to function (for example #1249)

Partial reverts commit 4fc4c81e89

(cherrypicked from aa7ef797d6)
2019-06-15 18:41:09 +02:00
xinef1
3f7fe6f8a5 Core/Spells: Remade trajectory target selection (#19048)
* Remade trajectory target selection
* Added possibility to apply conditions to trajectory spells
* Properly recalculate delay time if CMSG_UPDATE_PROJECTILE_POSITION is received

(cherrypicked from c6060dd0c5)
2019-06-15 18:41:09 +02:00
Gustavo
c53df2adb0 Core/Scripts Update boss Maiden of Virtue (#19058)
(cherrypicked from d06391d062)
2019-06-15 18:41:09 +02:00
xinef1
b711f0bcae Core/Spells: Added SPELL_FAILED_NOTHING_TO_STEAL error (#19036)
Corrected Dispel check in sanctuary area
Added root check for SPELL_EFFECT_JUMP and SPELL_EFFECT_JUMP_DEST

(cherrypicked from 3c605ba614)
2019-06-15 18:41:09 +02:00
xinef1
68cc366d88 Core/Spells: Corrected summon category SUMMON_CATEGORY_VEHICLE (#19052)
(cherrypicked from 227d5a9288)
2019-06-15 18:41:09 +02:00
Gustavo
384f2d636c Core/Scripts: boss The Curator (Karazhan) rework (#19040)
Closes #16099
(cherrypicked from 169e150628)
2019-06-15 18:41:09 +02:00
xinef1
8d6d00dc15 Core/Spells: Corrected execution time calculation for dst targets (#19039)
(cherrypicked from c1ca852e16)
2019-06-15 18:41:09 +02:00
xinef1
d1cbd8a837 Core/Pets: Fixed flashing pet attack button (#18906)
(cherrypicked from 0fa38d0ae0)
2019-06-15 18:41:09 +02:00
Gustavo
2dcc2d0f05 Core/Scripts: boss Nightbane rework (Karazhan) (#18899)
Closes #10017
(cherrypicked from ad8a71c084)
2019-06-15 18:41:09 +02:00
Keader
a73713b348 Core/Scripts: Updated Ruby Sanctum instance model
(cherrypicked from ce774918a7)
2019-06-15 18:41:09 +02:00
Keader
732f3ce377 Core/Ruby Sanctum: Improved General Zarithrian encounter
* Fixed spell timers
* Improved Codestyle
* Fixed minions number in 25 man
* Fixed movement
* Implemented DespawnAtEvade
*
(cherrypicked from c58dd6c166)
2019-06-15 18:41:09 +02:00
ariel-
3d30140e45 Core/Scripts: remove GMs from Sindragosa's Fury's targetlist
By Keader
Ref #18452
(cherrypicked from 317efd51ec)
2019-06-15 18:41:09 +02:00
Keader
83523177b2 Core/Scripts: Removed double check of CheckRequiredBosses in Sindragosa
(cherrypicked from 3c4dc3ec4f)
2019-06-15 18:41:09 +02:00
xinef1
67000a7826 Core/Spells: Properly send autorepeat cancel packet to self and fix some problems with autoshot (#18918)
Closes #13595
Closes #14460

(cherrypicked from 587786ce66)
2019-06-15 18:41:09 +02:00
Gustavo
1ddb9515eb Core/Scripts Fix issue with Lady Deathwhisper's door
(cherrypicked from f57132b795)
2019-06-15 18:41:09 +02:00
ariel-
2b0c73960b Core/Spell: unified handling of SPELL_ATTR5_USABLE_WHILE_* attributes
Allowed mechanic mask is calculated on startup and auras checked against those mechanics
Closes #18798

(cherrypicked from 3544577e48)
(cherrypicked from 53eb6ec616)
2019-06-15 18:41:09 +02:00
ariel-
6135ee1ad7 Core/Creature: don't allow turning if spell would cancel due to turning to face target
Closes #18549

(cherrypicked from 6b55faba06)
(cherrypicked from  c83092a127)
2019-06-15 18:41:09 +02:00
Keader
6e3ce8cf8b Core/Scripts: Fixed Crok event not starting
[*] Fixed Svalna entering in combat with people ouside of room
Closes #8186

(cherrypicked from 591a25500d)
2019-06-15 18:41:09 +02:00
Keader
7c760ad992 Core/Scripts: Fixed issues in Gal'darah fight
Closes #16219

* Added DespawnAtEvadeMethod
* Fixed Agro
* Implemented Stampede
* Fixed Rhino Spirit flags
* Updated codestyle

(cherrypicked from a884660d50)
2019-06-15 18:41:09 +02:00
Shauren
6bc8240385 Core/Misc: Fixed logging output 2019-06-15 10:22:58 +02:00
Shauren
5c3a06ab06 Core/Misc: Changed creature_template.family to int
Closes #23296
2019-06-15 10:22:33 +02:00
Shauren
6b29c4da76 Core/DataStores: Fixed crash when loading additional db2 locales 2019-06-12 20:24:33 +02:00
Shauren
c4f1144754 Build: Fixed VS always triggering a full build when PCH is enabled, even if only a source file was edited
(cherry picked from commit 9b1dfe5e5e)
(cherry picked from commit b64583b7c1)
2019-06-08 18:12:28 +02:00
Shauren
101f82855e Fix warnings and nopch build 2019-06-08 17:57:58 +02:00