Commit Graph

34915 Commits

Author SHA1 Message Date
offl
ee9e4ac33e Scripts/Quest: Rework 'The Perfect Dissemblance' (12260) & 'A Fall From Grace' (12274) & Bombard the Ballistae (12232) & Without a Prayer (12254) (#28013)
Closes #26750
2022-06-09 20:43:13 +03:00
Kaytotes
eab6852b68 Core/Units: Removed incorrect facing movement packet sent with every creature autoattack (#28006) 2022-06-09 14:04:44 +02:00
Jinnaix
b155209ec4 Core/Spells: Correct flagging spell caster for pvp when healing/buffing friendly creatures - it should only happen if target is in combat (#27977) 2022-06-09 11:33:30 +02:00
offl
222a0ba8ee DB/Creature: Add missing PvP flag to some creatures 2022-06-05 01:22:57 +03:00
offl
db72ba9167 DB/SAI: Use OnSpellCast instead of OnSpellHitTarget in one case 2022-06-05 01:22:40 +03:00
offl
07b895cd0a DB/SAI: Remove one of hacks to stop follow movement 2022-06-05 00:13:07 +03:00
offl
861ec6a5b9 Scripts/Quest: Rework 'The Way to His Heart...' & make SAI's StopFollow work again (#28001) 2022-06-04 23:56:37 +03:00
TDB Release
a7fe0494bf TDB 335.22061 - 2022/06/01 TDB335.22061 2022-06-01 10:53:46 +00:00
Jinnaix
2237926cec correctly apply npc pvp flags (#27974) 2022-05-29 16:24:14 +02:00
Intel
38dc5667ba Core/Player: Prevent updating visibility if player is not in world. Closes #13659
(cherry picked from commit 3ec88b7086)

Closes #27914
2022-05-09 22:37:31 +02:00
Gildor
4bff223851 Core/Spells: Paladin's Judgements can be applied on different targets at the same time (#27933) 2022-05-07 19:09:44 +02:00
Gildor
ea41ef261e Scripts/Naxxramas: Fix achievement The Immortal / The Undying (#27937) 2022-05-04 23:48:21 +02:00
okfok
d0b8fb87f2 Core/ItemHandler: fix selling items over gold limit (#27930)
* Core/ItemHandler: fix selling items over gold limit

* Core/ItemHandler: fix selling items over gold limit

 codestyle edit

* Core/ItemHandler: move code, fix condition

* codestyle
2022-04-27 14:35:22 +02:00
Riztazz
0d86727325 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
2022-04-22 12:59:08 +02:00
Shauren
af5bd270c3 Core/Achievements: Move log about missing achievement to startup 2022-04-18 12:20:35 +02:00
Shauren
a2a7bd9394 Core/Achievements: Fixed optimization from 9b44ed9cda being ineffective for UpdateAchievementCriteria calls that don't have any related criteria 2022-04-18 12:20:14 +02:00
jackpoz
aee4f0350e Core/PacketIO: Continue processing packets even if player is not in world 2022-04-18 12:17:14 +02:00
jackpoz
c83d00a645 Core/Metric: Sync default Metric.Interval value
Sync default Metric.Interval value in C++ with the value in worldserver.conf
2022-04-18 11:53:38 +02:00
Meji
230f40f359 Core/Auras: INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW (#27788) 2022-04-17 22:09:58 +02:00
Shauren
b73d031fe0 Scripts/Gossip: Fixed money not being removed when enabling/disabling experience gains
Closes #27772
2022-04-17 21:33:06 +02:00
Shauren
bc261880d4 Core/Gossip: Fixed gossip menu options not performing their default actions when added by script using db data 2022-04-17 21:32:22 +02:00
funjoker
e9359080fd Core/Achievements: Reduce differences between branches (#27675) 2022-04-17 20:01:13 +02:00
kvolk2git
c65ccefe16 Core/Quest - fix incorrect answer when sharing (#27529)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-04-17 17:27:00 +02:00
stoneharry
5384fc194f Core/Chat: Apply chat flood control to addon messages as well (#26908)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-04-17 00:27:28 +02:00
Shauren
0d0cb23a63 Core/PacketIO: Stop WorldSession packet processing loop immediately when AntiDOS kicks/bans the player 2022-04-16 23:16:38 +02:00
Shauren
29a4153f00 Core/World: Allow specifying minimum world updates diff in config 2022-04-16 23:14:42 +02:00
Ovah
4747515872 Core/Movement: Allow waypoints to use 0 as valid facing value (#26655) 2022-04-16 18:21:04 +02:00
TDB Release
c0a120669d TDB 335.22041 - 2022/04/14 TDB335.22041 2022-04-14 16:27:03 +00:00
offl
b0bba61460 Scripts/Northrend: Use zone name as prefix for new spell scripts (#27907) 2022-04-11 21:07:25 +03:00
Shauren
54c34b7db9 Dep/zlib: Upgrade embedded zlib to 1.2.12
(cherry picked from commit 092ae504f5)
2022-04-11 15:04:27 +02:00
offl
2d39f22697 Scripts/Northrend: Update zone scripts to new register model (#27906) 2022-04-11 02:48:47 +03:00
jackpoz
055dffaa71 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
2022-04-10 17:00:48 +02:00
Shauren
46b1284f61 Core/Metric: Fixed double logging metric timers 2022-04-10 15:31:01 +02:00
Shauren
46b7a361ee Core/Metric: Build fix for WITH_DETAILED_METRICS 2022-04-08 23:09:04 +02:00
offl
570fa1a7f5 DB/Misc: Fix an error 2022-04-08 23:30:09 +03:00
Shauren
caaedbfa80 Core/Metric: Minor optimizations for metrics (reducing number of allocations) 2022-04-08 21:33:38 +02:00
Shauren
82246c0a06 Scripts/Icecrown Citadel: Add missing unit flag to Deathbringer Saurfang outro event 2022-04-08 18:13:13 +02:00
Shauren
de4340af37 Core/PacketIO: Require valid WorldSession for CMSG_KEEP_ALIVE 2022-04-08 18:07:59 +02:00
Shauren
09204159f8 Core/Vehicles: Capture vehicle collision height for exit spline init function (prevent accessing no longer valid vehicle pointer) 2022-04-08 18:06:26 +02:00
lee
5a20861565 Scripts/Misc: Load gossip options from DB (#27892) 2022-04-08 04:43:57 +03:00
leelf00
f02b70860f DB/Locale: Fix/add zhTW for quest, creature, quest_greeting, trainer, achievement_reward
Closes #27896
2022-04-08 04:17:09 +03:00
Shauren
ca9b82fb85 Core/CrashHandler: Support retrieving windows version names for all future versions 2022-04-07 20:54:21 +02:00
Gildor
4f24a28b9e 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)
2022-04-07 19:56:20 +02:00
Gildor
70767717c1 Core/Spells: Increase search radius for avoid problems with some spells that can't find units with huge combat reach (#27827) 2022-04-06 23:56:40 +02:00
vconcat
f47bd13db3 Dep: Support MySQL installations from vcpkg (#27780) 2022-04-05 11:45:29 +02:00
Shauren
b9c986cadd Core/Movement: b1a94bf94c followup - MoveSplineInit is no longer movable or copyable 2022-04-05 10:18:26 +02:00
Shauren
b1a94bf94c 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
2022-04-03 22:36:49 +02:00
Shauren
3f55647b3e Core/Spells: Add one more allowed case for CastSpellTargetArg constructor 2022-04-01 20:33:46 +02:00
Shauren
653d5a68e6 Core/Units: Fixed incorrect attack power calculation after changing UNIT_FIELD_ATTACK_POWER_MODS to be treated as two separate int16 fields (positive/negative) 2022-04-01 20:23:29 +02:00
offl
2d9c9fd617 Scripts/Items: BOTM Wild Winter Pilsner & Izzard's Ever Flavor & Stranglethorn Brew (#27898) 2022-03-31 23:36:58 +03:00