Commit Graph

24200 Commits

Author SHA1 Message Date
Shauren
49c3a98d88 build fix 2019-09-08 12:25:31 +02:00
Shauren
cbe294c20d Core/Movement: Fixed gravity type movement force direction sent in CreateObject 2019-09-08 12:19:16 +02:00
Shauren
63c2c82c80 Core/PacketIO: Fixed cmsg packet logging 2019-09-08 01:24:24 +02:00
Shauren
db3d287626 Core/Auras: Set proper aura effect handler 2019-09-07 19:33:03 +02:00
Shauren
8e98ceb293 Core/Movement: Implemented movement forces 2019-09-07 16:58:58 +02:00
Shauren
e0a0dbe41c Core/Entities: Fix transport guid format to match client expectations 2019-09-06 20:47:36 +02:00
Shauren
7f7d4f3966 Core/SAI: Describe additional SMART_ACTION_PLAY_SPELL_VISUAL_KIT params 2019-09-01 16:37:06 +02:00
Lopfest
7d999b70a1 Core/SmartScripts: implement SMART_ACTION_PLAY_SPELL_VISUAL_KIT (#23737) 2019-09-01 15:51:01 +02:00
Shauren
fa0dc88c23 Core/Spells: Fixed crash in delayed DEST spells 2019-09-01 11:52:09 +02:00
Shauren
5fc809d5a4 Nopch build fix 2019-09-01 10:19:39 +02:00
Lopfest
5dd6d31c01 Core/SAI: Implement new action to set movement speed 2019-08-31 14:35:47 +02:00
Shauren
04ab611111 Core/Spells: Fixed calling spellhit script hooks on launch when spell hits both caster and target with different effects 2019-08-31 11:11:23 +02:00
Traesh
c924840ce7 Core/Spells: Implement SpellMisc::LaunchDelay 2019-08-31 11:11:23 +02:00
Lopfest
7d2cbd4e7c Core/Quests: Implement new logic for selecting spell casters for accept/reward spells based on quest flags (#21316) 2019-08-30 19:36:10 +02:00
Jeremy
51d6ad4014 Scripts/OrderHall: Spawn some Warrior Order Hall NPC's and script some of them (#19902) 2019-08-25 12:59:21 +02:00
Shauren
11ebe36e57 Core/ByteBuffer: Replace throw() with noexcept 2019-08-24 17:13:17 +02:00
Traesh
548d79bb06 Core/DataStores: Implemented WorldStateExpression 2019-08-24 17:13:17 +02:00
Shauren
11674e2721 Core/Time: Add function returning tm* structure to GameTime 2019-08-24 13:34:05 +02:00
Lopfest
a778f75783 Core/SAI: Restore SMART_ACTION_SET_DATA accidentally deleted in cherry-picks (#23731) 2019-08-22 13:45:11 +02:00
Shauren
70721a9414 Core/Scenarios: Allow slightly larger scenario poi queries
Closes #23728
2019-08-20 14:38:15 +02:00
Shauren
3b004b2cfd Nopch fix2 2019-08-18 11:16:43 +02:00
Shauren
006cf15f09 Nopch fix 2019-08-18 10:58:48 +02:00
Shauren
3b110b30d9 Core: Updated allowed build to 8.2.0.31478 2019-08-18 10:50:57 +02:00
ariel-
f51a493dc8 Core/Auras: unregister AuraEffect from target list before changing amount, forces recalculation at stack change
Closes #19301

(cherrypicked from 9f2f7ebf51)
2019-08-17 20:04:14 +02:00
ariel-
586a450ec9 Core/Auras: use vectors and remove HasEffect check
- Already checked in GetApplicationList

(cherrypicked from 5eac21098e)
2019-08-17 20:04:14 +02:00
ariel-
13e79117d9 Core/Auras: make AuraEffect::GetTargetList and AuraEffect::GetApplicationList accept any container
(cherrypicked from c1afabbf03)
2019-08-17 20:04:14 +02:00
ariel-
56ba22ea98 Core/Scripts: add condition check for npc_wyrmrest_defender
minor code refactors

Closes #19299

(cherrypicked from f7758954f7)
2019-08-17 20:04:14 +02:00
Gustavo
1b85f62b96 Core/Scripts: implement boss Apothecary Hummel ("Love is in the Air" event boss) (#19076)
Closes #5114

(cherrypicked from 8c6fa411e8)
2019-08-17 20:04:14 +02:00
ariel-
99a95c9241 Core/Aura: fix SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE unapply case for dead players
Closes #19276

(cherrypicked from e1083794cd)
2019-08-17 20:04:14 +02:00
xinef1
a0a6b155e2 Core/Spells: Fixed some enchantments checks and fixed serious logic flaw in create item effect check (#19123)
(cherrypicked from 8c80e2b6b7)
2019-08-17 20:04:14 +02:00
ariel-
c0b5e074c4 Core/Creature: restore previous behavior of random gender on respawn
Little regression added with 253c0f3d07

(cherrypicked from 8089f1816c)
2019-08-17 20:04:14 +02:00
ariel-
9d16dce633 Core/Auras: tidy up one little hack
(cherrypicked from 9d639c55b1)
2019-08-17 20:04:14 +02:00
ariel-
f4205b760e Core/Creature: Load template immunities into m_spellImmune container.
- Fixes sending SMSG_SPELL_START data

Closes #19212

(cherrypicked from 7cb6915e2b)
2019-08-17 20:04:14 +02:00
ariel-
fe2602b772 Core/Creature: remove some redundant code
- Display Ids are already initialized in InitEntry, no need to duplicate logic
- ModelInfo is already checked too

(cherrypicked from 253c0f3d07)
2019-08-17 20:04:14 +02:00
Keader
dbf3225d45 Core/Scripts: Fixed Ingvar evade issue
(cherrypicked from bf5661e2fd)
2019-08-17 20:04:14 +02:00
ariel-
6b150b6e55 Core/Auras: implement correct model for Bear Form (used by npcs)
Closes #7337

(cherrypicked from 8e865a60c8)
2019-08-17 20:04:14 +02:00
ariel-
5f2790815a Core/Creature: don't override display id if addon tables load a morph aura
Ref #7337

(cherrypicked from c3a2bd32cf)
2019-08-17 20:04:14 +02:00
ariel-
590009b084 Core/Scripts: converted Argent Tournament pennants to AI
Closes #14616

(cherrypicked from 804257b99a)
2019-08-17 20:04:14 +02:00
ariel-
40a9055a5f Core/Auras: Implement Roc form shapeshift
Closes #16164

(cherrypicked from c7a5aa3902)
2019-08-17 20:04:14 +02:00
ariel-
27b5d18348 Core/Creatures: disabled "automatic" monster sparring
- Faction template flags weren't correct.

Closes #19245

(cherrypicked from b2fc4c65ed)
2019-08-17 20:04:14 +02:00
xinef1
b6a6a43a09 Corrected doors and buttons without autoclose time after recent changes (#19249)
(cherrypicked from 071ba2c924)
2019-08-17 20:04:14 +02:00
ariel-
4ab07ae4e1 Core/SmartAI: Allow scripting GameObjects by spawn id too
(cherrypicked from 05d99c5f58)
2019-08-17 20:04:14 +02:00
ariel-
3d52ba93fc Core/Creature: redo some logical checks in _IsTargetAcceptable
- Check against current creature victim, don't check potential victim attacking list.
- Neutral creatures with aggressive reactstate were triggered to attack from MoveInLineOfSight because of this check
- Prevents attack from a distance after right clicking an npc

Closes #19235

(cherrypicked from 15a207fcac)
2019-08-17 20:04:14 +02:00
ariel-
fa46e7c406 Core/Spells: fix some db errors
(cherrypicked from ebba8dcba8)
2019-08-17 20:04:14 +02:00
ariel-
378de1fde0 Core/Game: fix dynamic linking
(cherrypicked from 2a6fe27cad)
2019-08-17 20:04:14 +02:00
ariel-
c8f4e59921 Core/Misc: remove unneeded semicolon
(cherrypicked from f612b1cb48)
2019-08-17 20:04:14 +02:00
ariel-
a098405a73 Core/Spell: disable proc for magnet auras, they're handled differently
Closes #19208

(cherrypicked from 7072bf8c02)
2019-08-17 20:04:14 +02:00
ariel-
b3df95807e Core/Game: fix non-pch include
(cherrypicked from b902f0c1b0)
2019-08-17 20:04:14 +02:00
xinef1
73ee82e92c Make ObjectMgrs _mailId and _hiPetNumber atomic (#19129)
- They can be accessed from multiple threads simultaneously

(cherrypicked from 3fe03392d7)
2019-08-17 20:04:14 +02:00
ariel-
d131bd1da0 Core/Database: Prepared statement parameter preallocation (#18999)
- Pass prepared statement size to the helper class to prevent runtime resizing.
- Rename CheckValidIndex -> AssertValidIndex
- Cached prepared size on the worker pool as it's shared among all connections
- Cached query data only for each connection, done lookup in map instead of possibly creating a new element
- Kill the prepared statement map, and store raw sql string on the MySQLPreparedStatement class
(This info is only used for logging, and there is no need of keeping a second container just for it)

(cherrypicked from affee140c6)
2019-08-17 20:04:14 +02:00