Commit Graph

23554 Commits

Author SHA1 Message Date
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
offl b0bba61460 Scripts/Northrend: Use zone name as prefix for new spell scripts (#27907) 2022-04-11 21:07:25 +03: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
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
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
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
offl f494272e94 DB/Quest: Update 'Into the Realm of Shadows'
Closes #27895
2022-03-31 17:55:10 +03:00
Shauren 5eea9883c2 Core/GameObjects: Reduce differences between branches part 3 - gameobject updatefield accessors 2022-03-30 18:01:24 +02:00
Shauren e334fdf3ad Core/Units: Reduce differences between branches part 1 - object class 2022-03-29 23:07:07 +02:00
Shauren d611925dc7 Core/Units: Reduce differences between branches part 1 - unit updatefield accessors 2022-03-29 11:30:49 +02:00
offl c02b829788 Scripts/Items: BOTM Blackrock Lager & Springtime Stout & Metok's Bubble Bock & Binary Brew (#27891) 2022-03-29 00:47:38 +03:00
offl cedd95f985 Scripts/Spells: BOTM Empty Bottle (#27889) 2022-03-28 00:42:52 +03:00
offl dbdf008295 Scripts/Quest: Update 'Warning: Some Assembly Required' (11310) (#27888) 2022-03-27 21:15:43 +03:00
offl ce98938ab8 Scripts/Quest: Update 'The Art of Persuasion' (11648) (#27887) 2022-03-27 21:15:04 +03:00
lee e7c02d6a90 Scripts/Misc: Load some texts from DB (#27867) 2022-03-26 00:20:01 +02:00
Shauren 62c2ceaff2 Core/Units: Rename AnimationTier to AnimTier for consistency with master branch 2022-03-24 20:38:55 +01:00
safaray 88eccd2956 Scripts/UBRS: Fix door open issue in UBRS after kill Rend (#27868) 2022-03-23 23:24:05 +02:00
offl 45f30ceee2 Scripts/Quest: Update 'Ample Inspiration' (12828) (#27885) 2022-03-23 23:22:55 +02:00
offl 2400ae7291 DB/Creature: Roxi Ramrocket 2022-03-22 15:52:56 +02:00
HelloKitty e9992066a5 Core/Object: Fix WorldObject::SetZoneScript unsafe cast to InstanceMap (#27877) 2022-03-22 11:40:31 +01:00
Shauren 154147c240 Core/SAI: Reserve action_param2 of SMART_ACTION_ACTIVATE_GAMEOBJECT for compatibility with master branch 2022-03-21 22:51:47 +01:00
Shauren 47de80b852 Core/Commands: Fixed .pinfo ban output for permanent bans 2022-03-11 11:32:14 +01:00