Commit Graph

39923 Commits

Author SHA1 Message Date
offl
7d9d55ee87 Scripts/Quest: Migrate few quest spell scripts to zone files (#28015)
(cherry picked from commit b52e0ccbad)
2022-06-10 19:32:05 +02:00
offl
fcc08ffb22 Scripts/Quest: Rework 'The Perfect Dissemblance' (12260) & 'A Fall From Grace' (12274) & Bombard the Ballistae (12232) & Without a Prayer (12254) (#28013)
Closes #26750

(cherry picked from commit ee9e4ac33e)
2022-06-10 19:28:04 +02:00
Kaytotes
2e0afa7bca Core/Units: Removed incorrect facing movement packet sent with every creature autoattack (#28006)
(cherry picked from commit eab6852b68)
2022-06-10 19:25:46 +02:00
Jinnaix
84996901cc Core/Spells: Correct flagging spell caster for pvp when healing/buffing friendly creatures - it should only happen if target is in combat (#27977)
(cherry picked from commit b155209ec4)
2022-06-10 19:25:31 +02:00
offl
ba89ca2444 DB/Creature: Add missing PvP flag to some creatures
(cherry picked from commit 222a0ba8ee)
2022-06-10 19:22:08 +02:00
offl
4a3182fc96 DB/SAI: Use OnSpellCast instead of OnSpellHitTarget in one case
(cherry picked from commit db72ba9167)
2022-06-10 19:22:08 +02:00
offl
038ccf567e DB/SAI: Remove one of hacks to stop follow movement
(cherry picked from commit 07b895cd0a)
2022-06-10 19:22:08 +02:00
offl
04b0596021 Scripts/Quest: Rework 'The Way to His Heart...' & make SAI's StopFollow work again (#28001)
(cherry picked from commit 861ec6a5b9)
2022-06-10 19:22:08 +02:00
Jinnaix
45bbbd5acd correctly apply npc pvp flags (#27974)
(cherry picked from commit 2237926cec)
2022-06-10 19:22:08 +02:00
Gildor
bda1fac13f Scripts/Naxxramas: Fix achievement The Immortal / The Undying (#27937)
(cherry picked from commit ea41ef261e)
2022-06-10 19:22:06 +02:00
Riztazz
5417285a11 Core/Scripts: Fix heap buffer overflow in BRD Tomb of seven event (#27920)
* Core/Scripts: Fix heap buffer overflow in BRD Tomb of seven event

* Core/Scripts: Remove magic numbers in brd script, adjust codestyle to tc preference

* missing )

Closes #27919

(cherry picked from commit 0d86727325)
2022-06-10 19:08:05 +02:00
Shauren
312569970e Core/Achievements: Fixed optimization from 9b44ed9cda being ineffective for UpdateAchievementCriteria calls that don't have any related criteria
(cherry picked from commit a2a7bd9394)
2022-06-10 19:05:31 +02:00
jackpoz
3bedbf6596 Core/PacketIO: Continue processing packets even if player is not in world
(cherry picked from commit aee4f0350e)
2022-06-10 16:58:19 +02:00
jackpoz
ce4916ec79 Core/Metric: Sync default Metric.Interval value
Sync default Metric.Interval value in C++ with the value in worldserver.conf

(cherry picked from commit c83d00a645)
2022-06-10 16:57:35 +02:00
Shauren
daafde7518 Scripts/Gossip: Fixed money not being removed when enabling/disabling experience gains
Closes #27772

(cherry picked from commit b73d031fe0)
2022-06-10 16:56:34 +02:00
stoneharry
1046a027f2 Core/Chat: Apply chat flood control to addon messages as well (#26908)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 5384fc194f)
2022-06-10 16:56:23 +02:00
Shauren
a196f8fdec Core/PacketIO: Stop WorldSession packet processing loop immediately when AntiDOS kicks/bans the player
(cherry picked from commit 0d0cb23a63)
2022-06-10 16:51:03 +02:00
Shauren
833ddfad11 Core/World: Allow specifying minimum world updates diff in config
(cherry picked from commit 29a4153f00)
2022-06-10 16:50:29 +02:00
Ovah
8501fb572a Core/Movement: Allow waypoints to use 0 as valid facing value (#26655)
(cherry picked from commit 4747515872)
2022-06-10 16:50:17 +02:00
offl
522ccfbab5 Scripts/Northrend: Use zone name as prefix for new spell scripts (#27907)
(cherry picked from commit b0bba61460)
2022-06-10 16:48:56 +02:00
offl
502a393098 Scripts/Northrend: Update zone scripts to new register model (#27906)
(cherry picked from commit 2d39f22697)
2022-06-10 16:48:00 +02:00
jackpoz
7d9483cfe4 Core/Metric: Send metrics in smaller intervals
Send metrics in smaller intervals to reduce the chances of triggering HTTP status "413 Payload Too Large" from InfluxDB.
Another way to avoid this is to set max-body-size to 0 in InfluxDB config.
For more information see https://docs.influxdata.com/influxdb/v1.8/administration/config/#max-body-size--25000000

(cherry picked from commit 055dffaa71)
2022-06-10 16:22:24 +02:00
Shauren
88e42e3dc1 Core/Metric: Fixed double logging metric timers
(cherry picked from commit 46b1284f61)
2022-06-10 16:22:15 +02:00
Shauren
a1855591b9 Core/Metric: Build fix for WITH_DETAILED_METRICS
(cherry picked from commit 46b7a361ee)
2022-06-10 16:22:07 +02:00
offl
6055a94f98 DB/Misc: Fix an error
(cherry picked from commit 570fa1a7f5)
2022-06-10 16:21:57 +02:00
Shauren
3e60a92211 Core/Metric: Minor optimizations for metrics (reducing number of allocations)
(cherry picked from commit caaedbfa80)
2022-06-10 16:21:28 +02:00
Shauren
c669f5119c Scripts/Icecrown Citadel: Add missing unit flag to Deathbringer Saurfang outro event
(cherry picked from commit 82246c0a06)
2022-06-10 16:21:01 +02:00
Shauren
88b6d75bce Core/PacketIO: Require valid WorldSession for CMSG_KEEP_ALIVE
(cherry picked from commit de4340af37)
2022-06-10 16:20:54 +02:00
Shauren
c8e26e1962 Core/Vehicles: Capture vehicle collision height for exit spline init function (prevent accessing no longer valid vehicle pointer)
(cherry picked from commit 09204159f8)
2022-06-10 16:19:14 +02:00
lee
6d805a653b Scripts/Misc: Load gossip options from DB (#27892)
(cherry picked from commit 5a20861565)
2022-06-10 16:13:23 +02:00
leelf00
c16cafc807 DB/Locale: Fix/add zhTW for quest, creature, quest_greeting, trainer, achievement_reward
Closes #27896

(cherry picked from commit f02b70860f)
2022-06-10 15:32:19 +02:00
Shauren
3b78762ab8 Core/CrashHandler: Support retrieving windows version names for all future versions
(cherry picked from commit ca9b82fb85)
2022-06-10 15:30:47 +02:00
Gildor
b8e7892bd0 Scripts/Trial of the Crusader: Fix achievement A Tribute to Immortality (#27903)
* now instance achievement status will be saved into DB
* also add support to save instance achievement status of A Tribute to Dedicated Insanity (NYI)

(cherry picked from commit 4f24a28b9e)
2022-06-10 15:30:24 +02:00
Gildor
b52ce8e65e Core/Spells: Increase search radius for avoid problems with some spells that can't find units with huge combat reach (#27827)
(cherry picked from commit 70767717c1)
2022-06-10 15:29:55 +02:00
vconcat
675af93f13 Dep: Support MySQL installations from vcpkg (#27780)
(cherry picked from commit f47bd13db3)
2022-06-10 15:18:39 +02:00
Shauren
f36cec3833 Core/Movement: b1a94bf94c followup - MoveSplineInit is no longer movable or copyable
(cherry picked from commit b9c986cadd)
2022-06-10 15:16:54 +02:00
Shauren
36dde87249 Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
* This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight

(cherry picked from commit b1a94bf94c)
2022-06-10 15:16:39 +02:00
offl
54b16f0d16 Scripts/Items: BOTM Wild Winter Pilsner & Izzard's Ever Flavor & Stranglethorn Brew (#27898)
(cherry picked from commit 2d9c9fd617)
2022-06-10 14:34:11 +02:00
offl
cc8a39b42f DB/Quest: Update 'Into the Realm of Shadows'
Closes #27895

(cherry picked from commit f494272e94)
2022-06-10 14:32:31 +02:00
offl
e526cad015 Scripts/Items: BOTM Blackrock Lager & Springtime Stout & Metok's Bubble Bock & Binary Brew (#27891)
(cherry picked from commit c02b829788)
2022-06-10 14:30:55 +02:00
offl
f9f65a8957 Scripts/Spells: BOTM Empty Bottle (#27889)
(cherry picked from commit cedd95f985)
2022-06-10 14:27:23 +02:00
offl
3848198e9e Scripts/Quest: Update 'Warning: Some Assembly Required' (11310) (#27888)
(cherry picked from commit dbdf008295)
2022-06-10 13:54:51 +02:00
offl
8f89a5ee95 Scripts/Quest: Update 'The Art of Persuasion' (11648) (#27887)
(cherry picked from commit ce98938ab8)
2022-06-10 13:54:49 +02:00
ModoX
865b5ad359 DB/Gossip: Fixed probability for default gossip menu text 2022-06-10 13:19:38 +02:00
Shauren
a89fe30b41 Core/Commands: Fixed bonusListID and context arguments for .additem set command 2022-06-09 23:04:32 +02:00
Shauren
6ca0f99ccf Core/GameEventMgr: Spawn creatures and gameobjects in all active instances when event starts 2022-06-09 23:03:42 +02:00
Shauren
f820ff178d Core/Transmog: Implemented TransmogIllusionFlags::PlayerConditionGrantsOnLogin and fixed transmog illusion validation when transmogging items 2022-06-09 21:27:02 +02:00
fluxurion
125ada42f6 Core/Transmog: Implemented Transmog Illusions + Spelleffect to unlock them 2022-06-09 21:27:02 +02:00
Luzifix
b11574871e Tools/Extractors: Implement remote casc mode (#27993) 2022-06-09 17:58:35 +02:00
Naddley
69d960b63f DB/SAI: Added cosmetic scripts to Scarlet Monastery
Closes #27979
2022-06-09 16:00:22 +02:00