Commit Graph

20445 Commits

Author SHA1 Message Date
Shauren
f59580dc6c Core/Threading: Create ThreadPool class
(cherry picked from commit d82b2b1a67)
2022-10-13 11:54:18 +02:00
Malcrom
fee5160fe5 Scripts/Eversong Woords: Add cosmetic script for a party (#28308)
(cherry picked from commit 0174e6ba80)
2022-10-13 11:44:15 +02:00
Malcrom
f9699a3fca DB/Scripts: Move Quest "Aces High!" gossip menu to database (#28300)
(cherry picked from commit 5ffe5bd43a)
2022-10-13 11:42:06 +02:00
Malcrom
343ada977f Scripts/BoreanTundra: Modernized Unfit for Death (11865) implementation (#28297)
(cherry picked from commit c0758ae6f3)
2022-10-13 11:40:34 +02:00
Teleqraph
76866fffb2 Scripts/Silverpine: fixed Fenris Isle quests (#28334) 2022-10-12 16:06:56 +02:00
Aqua Deus
4772c4817f Core/Garrisons: Implement SMSG_GARRISON_OPEN_TALENT_NPC opcode (#28256)
Co-authored-by: ModoX <moardox@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-10-11 22:16:02 +02:00
Aqua Deus
b3c27656bc Core/Spells: Move draenor spell to generic spell (#28356) 2022-10-11 14:12:00 +02:00
Teleqraph
c7109629dc Scripts/Silverpine: quest fixes and spawns for Forsaken Rear Guard (#28303) 2022-10-11 10:20:04 +02:00
Teleqraph
d3e76fc7fe Scripts/Silverpine: Implemented Waiting to Exsanguinate (questId 27045) (#28275) 2022-10-10 13:16:16 +02:00
ModoX
b6ec81fff8 Core/Spells: Take SummonProperties into account for SPELL_EFFECT_SUMMONs with default SummonTitle (#28345) 2022-10-09 23:41:25 +02:00
Meji
ba49dbfdcb Core/Gossip: Drop OptionNpcFlag from gossip_menu_option (#28254)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-10-09 22:03:04 +02:00
Shauren
49709e4273 Core/Gossip: Remove gossip menu option fallback code, all menus are now required to have options defined instead of trying to get them from menuid = 0 2022-10-09 18:43:35 +02:00
Shauren
c3e1ff90a5 Core/Maps: Changed functions checking if map can be entered to use TransferAbortReason directly instead of intermediate Map::EnterState enum 2022-10-08 19:11:34 +02:00
Ovah
3be76db592 Scripts/DK: Fixed Rime talent (#28333) 2022-10-07 20:56:46 +02:00
Shauren
8f6ce64836 Core/Misc: Remove function calls through singleton global within the same class 2022-10-07 20:16:59 +02:00
Gosha
423f81fbda Core/Objects: Fix flags overflow for InvisibilityType because TOTAL_INVISIBILITY_TYPES (38) can't fit in 32 bits flag (#28343) 2022-10-07 16:08:20 +02:00
Shauren
8c3c07cdf4 Core/Maps: Ensure one of InstanceScript::Create or InstanceScript::Load is called on map creation 2022-10-06 18:34:42 +02:00
Shauren
9ce47e6809 Core/Loot: Prevent looting bosses by players that have already completed that encounter 2022-10-06 18:33:44 +02:00
Shauren
5f1a4cf904 Core/Loot: Set loot dungeon encounter id before generating 2022-10-05 20:04:15 +02:00
Shauren
bdf22f955d Core/Scripts: Fixed worldserver startup with hostwap enabled when ran in terminals that don't pass full path to argv[0] 2022-10-05 18:24:37 +02:00
ModoX
0be7096b24 Core/Groups: Removed group_instance row deletion of empty groups
* table does no longer exist ref 9b924522d0

Closes #28331
2022-10-04 23:37:49 +02:00
Shauren
550d117fd7 Core/DataStores: Defined MapDifficulty.db2 flags 2022-10-04 00:19:38 +02:00
Shauren
4667db37f3 Core/Maps: Implemented MapFlags2::IgnoreInstanceFarmLimit 2022-10-04 00:19:38 +02:00
Shauren
f6baed006a Core/DataStores: Defined map.db2 flags 2022-10-04 00:19:38 +02:00
Shauren
20357af88e Core/Instances: Add instance reset events at lock expiration 2022-10-04 00:19:38 +02:00
Shauren
ca5f7a15b9 Core/Instances: Spawn defeated bosses in instances using loot based locks if their preceding bosses are not killed 2022-10-04 00:19:38 +02:00
Shauren
5a516fb654 Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT 2022-10-04 00:19:38 +02:00
Shauren
46e0056196 Scripts/Instances: Add dungeon encounter data 2022-10-04 00:19:38 +02:00
Shauren
ab12e77cf7 Core/Commands: Restore instance management commands 2022-10-04 00:19:38 +02:00
Shauren
4ce1c6cdf4 Core/Instances: Add prepared statements for InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren
cedf09f93c Core/Instances: Add new config options to control the time when both daily and weekly resets occur (will not be restricted to instances only) 2022-10-04 00:19:38 +02:00
Shauren
0be72f68c3 Core/Instances: Sprinkle some thread safety on InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren
4cbaaa3435 Core/Instances: Save instance entrance based on completed encounters 2022-10-04 00:19:38 +02:00
Shauren
1e99011edf Core/Scenarios: Attempt to restore scenario state from completed encounter info 2022-10-04 00:19:38 +02:00
Shauren
461a9c024c Core/Instances: Remove old database statements (WIP) 2022-10-04 00:19:38 +02:00
Shauren
ddd0c7b152 Core/Instances: Reimplement resetting instances from UI 2022-10-04 00:19:38 +02:00
Shauren
76be303351 Core/Scripts: Save instance data in JSON format 2022-10-04 00:19:38 +02:00
Shauren
9b924522d0 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren
a131542855 Core/Maps: Check group that owns instance (first group to enter a given instance id owns it) 2022-10-04 00:19:38 +02:00
Shauren
17665c929c Core/Instances: Instance lock rewrite (WIP) 2022-10-04 00:19:38 +02:00
Ovah
ad2df01b2c Core/Spells: make Spell::CheckMovement respect the current spell state (#28315) 2022-10-03 15:52:49 +02:00
Shauren
769591c99e Core/Spawns: Exclude spawn groups with MANUAL_SPAWN flag from automatic spawning/despawning with conditions 2022-10-02 18:51:37 +02:00
Ovah
9f08471827 Core/Spells: fixed up block mechanics (#28286)
* Ranged attacks can now be blocked
* Implement SPELL_ATTR3_COMPLETELY_BLOCKED
* Fixed a bug which was causing blocking to block entire spell effects regardless if the attribute was present or not
* Fixed a logic mistake which was causing blocks to roll twice (once for effect negation and once on hit)
* No longer send blocked miss conditions in spell_go packets when the spell is not completely blocked to match sniff data

(cherry picked from commit b47ef3ce90)
2022-10-01 18:42:04 +02:00
Teleqraph
c7b6afc8eb Scripts/Silverpine: Implemented Horde Hauler (npcId 44731) (#28273)
* also some random cosmetic fixes of several creatures
2022-10-01 18:26:49 +02:00
Teleqraph
a489ea6dd6 Scripts/Silverpine: Implemented several initial quests (#28272)
* The Gilnean Liberation Front 26989
* Iterating Upon Success 26998
* Guts and Gore 26995
* also added some phase 0/169 spawns to Forsaken High Command
2022-10-01 17:23:20 +02:00
Meji
4b06b8ec1e Core/Units: Set UNIT_FLAG2_*_AOI dynamically according to the VisibilityDistanceType set on the creature (#28284) 2022-10-01 00:11:52 +02:00
Shauren
e5bf2608d7 Scripts/Hyjal: Change boss state management from SetData to SetBossState
(cherry picked from commit 753a901928)
2022-09-30 20:55:18 +02:00
Shauren
a515443a59 Core/Players: Added error message for death knights attempting to leave their starting zone early
(cherry picked from commit 2dc1b69a70)
2022-09-30 20:53:45 +02:00
Shauren
97fcf42888 Scripts/Karazhan: Mark optional boss as completed when it dies
(cherry picked from commit 08d2b6743a)
2022-09-30 20:53:32 +02:00
Shauren
52d6bdbe0a DB/Ahn'Qiraj Temple: Added spawn groups for bosses
(cherry picked from commit 6260a95763)
2022-09-30 20:53:11 +02:00