Commit Graph

198 Commits

Author SHA1 Message Date
hondacrx 89ad2414c4 Core/Instances: Prevent sending PendingRaidLock in instances that don't have a InstanceScript
Port From (https://github.com/TrinityCore/TrinityCore/commit/75a306e422cfb83c688b90ea428522251a70e68b)
2024-02-03 14:04:56 -05:00
hondacrx 226e12890e Core/BattlegroundMap: Load all cells when created & mark all creatures as active
Port From (https://github.com/TrinityCore/TrinityCore/commit/e72bde5236d41a7f66abb25ce9e118eeb1c5aa92)
2024-02-03 11:15:25 -05:00
hondacrx 4c66c90f94 Core/Map: Implement several difficulty getters
Port From (https://github.com/TrinityCore/TrinityCore/commit/9eceff2bc243946998c006418229dbb639e898d6)
2024-02-01 18:02:16 -05:00
hondacrx d2edbdeecc Core/MMaps: Implemented a way to enable/disable certain terrain types for movement on the entire map
Port From (https://github.com/TrinityCore/TrinityCore/commit/da0ba86694010fcb1adb5ed88cbc212dd4a33ab5)
2024-02-01 11:34:50 -05:00
hondacrx 56eefeb54b Misc cleanup 2024-01-30 09:24:45 -05:00
hondacrx c36e0d7f73 Core/Instances: Removed deprecated field from InstanceScript
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e29c0066efe1157a10e74efef4554de26a984de)
2024-01-29 15:04:01 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx 0e2dd0cda3 Core/Creatures: add TimeSpan to TempSummon
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dd4b38170339e2d1d959c45ecad1b3b8dceb216)
2023-09-13 20:59:45 -04:00
hondacrx f7ae161e3d Core/MMaps: Fixed pathing for objects that have terrain swaps active
Port From (https://github.com/TrinityCore/TrinityCore/commit/86725ed9267803506d8a5cab04c2c5641a234dd9)
2023-09-13 20:46:16 -04:00
hondacrx 49a07ebcce Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd)
2023-06-21 09:19:40 -04:00
hondacrx 11575d6d39 Core/Creatures: Allow summons to be initialized properly when summoner is not in world yet
Port From (https://github.com/TrinityCore/TrinityCore/commit/7881f0ef5ff79b691a5abb9cd727755f49afba47)
2023-05-30 05:08:45 -04:00
hondacrx 535d068b47 Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fddf06daa4ea69bf4ce28d57797e8f9f8b17f76)
2023-05-21 17:12:02 -04:00
hondacrx c00e66442d Core/Instances: Fixed not being able to reenter instances that have no encounters completed
Port From (https://github.com/TrinityCore/TrinityCore/commit/2569dc8cfec7a5fd89f037579ea6081504b9223f)
2023-03-23 07:26:15 -04:00
hondacrx f51dbf95ec Fixes creatures falling under map when chasing a player though water. 2023-02-21 19:18:28 -05:00
hondacrx da283244ca Core/Spawns: Allow spawn groups with MANUAL_SPAWN flag to automatically despawn if conditions are not met
Port From (https://github.com/TrinityCore/TrinityCore/commit/97d413c9b4be6af296490580f7acc1d66e606ca9)
2023-02-11 23:30:57 -05:00
hondacrx 149fadccab Make PreparedStatements static for each database. 2023-02-04 20:55:14 -05:00
hondacrx 7ab417f08b Core/Battlegrounds: Unload all grids before destroying battleground object
Port From (https://github.com/TrinityCore/TrinityCore/commit/3fc3cd455b51d2de4ba5a70b7eff15e23b3da481)
2023-01-23 00:26:06 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 54a507e284 Core/Maps: Fixed retrieving terrain info when on child maps
Port From (https://github.com/TrinityCore/TrinityCore/commit/704142f15a51055c4fa064b1286b65d78b795e05)
2023-01-06 16:38:58 -05:00
hondacrx 40db25f49c Core/Phasing: Reduce differences between branches in GridNotifiers
Port From (https://github.com/TrinityCore/TrinityCore/commit/c3f385c48f5080e64b13b0f31864e20e04e531aa)
2023-01-05 02:44:38 -05:00
hondacrx 07a3ce8df6 Core/GameObjects: Update spawn group conditions immediately after battleground capture point changes state
Port From (https://github.com/TrinityCore/TrinityCore/commit/8023daabef52d401cf361282f32c0bbbaf206702)
2023-01-04 16:52:02 -05:00
hondacrx bca92b80b9 Fixes a crash when using auction house. and using hearth stone/teleporting. 2022-11-05 17:55:37 -04:00
hondacrx e5c7244893 Core/Maps: Changed functions checking if map can be entered to use TransferAbortReason directly instead of intermediate Map::EnterState enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/c3e1ff90a5a217691990ea4662bcaa2405b57fde)
2022-10-11 17:54:34 -04:00
hondacrx 0fa2b60d89 Core/Maps: Ensure one of InstanceScript::Create or InstanceScript::Load is called on map creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c3c07cdf4dfa8515aa756e669c2d216648870e8)
2022-10-06 20:53:15 -04:00
hondacrx c9702bf85b Core/Maps: Implemented MapFlags2::IgnoreInstanceFarmLimit
Port From (https://github.com/TrinityCore/TrinityCore/commit/4667db37f34504e25feefba7506ac31cfd7dceed)
2022-10-04 20:12:32 -04:00
hondacrx e377263fea Core/Instances: Add instance reset events at lock expiration
Port From (https://github.com/TrinityCore/TrinityCore/commit/20357af88ec9265869cca3c1db3c5f43ef37e587)
2022-10-04 20:05:57 -04:00
hondacrx 4fab4cc6cf Core/Commands: Restore instance management commands
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab12e77cf72bcd361a380c8d1ed37d12fe0e1bbb)
2022-10-04 17:40:16 -04:00
hondacrx 2b09e4227b Core/Instances: Save instance entrance based on completed encounters
Port From (https://github.com/TrinityCore/TrinityCore/commit/4cbaaa343543e0fde5d90b87f762804997f1dbac)
2022-10-04 14:53:22 -04:00
hondacrx 807caef08c Core/Instances: Reimplement resetting instances from UI
Port From (https://github.com/TrinityCore/TrinityCore/commit/ddd0c7b152d65b980db0cc2d00f15ae62a602936)
2022-10-04 14:31:07 -04:00
hondacrx 67d6fa48eb Core/Scripts: Save instance data in JSON format
Port From (https://github.com/TrinityCore/TrinityCore/commit/76be303351ae398b7f9e69e4c472cb5b05fce45e)
2022-10-04 14:04:16 -04:00
hondacrx 66c7047a29 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b924522d0549dd67b10e2cbdfc20297dd21e182)
2022-10-04 10:57:04 -04:00
hondacrx 793cf91a24 Core/Maps: Check group that owns instance (first group to enter a given instance id owns it)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a131542855d23022714a97640be1c8d68a741c31)
2022-10-04 10:12:41 -04:00
hondacrx d3dde761a2 Core/Instances: Instance lock rewrite (WIP)
Port From (https://github.com/TrinityCore/TrinityCore/commit/17665c929c3a9fb7fe75dd680648129bc1c1f874)
2022-10-04 10:00:07 -04:00
hondacrx 0c4e5802cd Core/Spawns: Exclude spawn groups with MANUAL_SPAWN flag from automatic spawning/despawning with conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/769591c99ef7bd9c58eacd5c0272387af9a74e4a)
2022-10-03 20:39:18 -04:00
hondacrx 7a799f4047 Fixes creatures not respawning. 2022-08-08 18:02:12 -04:00
hondacrx 45ba780516 Core/WorldStates: Add generic worldstates for team in instance
Port From (https://github.com/TrinityCore/TrinityCore/commit/c1eb91c1c174870026cf4750bafc8d04d182ade0)
2022-07-25 22:06:49 -04:00
hondacrx efd2f4cb49 Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fbe0b8efebca3bc2662b477bdf45627f9783d6c2)
2022-07-24 17:50:51 -04:00
hondacrx 3cd58e4a17 Core/Maps: Move terrain data handling out of Map class
Port From (https://github.com/TrinityCore/TrinityCore/commit/16a06346aea16ffd6ee84081cedfdb0c75ac0b38)
2022-07-24 16:31:00 -04:00
hondacrx a27a353d38 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/073a036d84365dae60a70064eb67e68f0447bd72)
2022-07-19 20:50:34 -04:00
hondacrx b3a404e2e8 Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/775be0682a794d0a1f62d656f8c6c6dffca8de79)
2022-07-19 12:14:32 -04:00
hondacrx 2f1b3dae37 Core/OutdoorPvP: Move remaining outdoorpvp spawns to db
Port From (https://github.com/TrinityCore/TrinityCore/commit/195341c807fa98e76608fb9449979f6be8b5362e)
2022-07-19 11:47:09 -04:00
hondacrx aae75ce85d Core/WorldStates: Skip sending SMSG_UPDATE_WORLD_STATE when value does not change
Port From (https://github.com/TrinityCore/TrinityCore/commit/db79e29121b74dc62da1b68cf1e25fb8e31ffbdf)
2022-07-09 12:46:08 -04:00
hondacrx c6ecb00c0a Core/WorldStates: Allow setting "hidden" field of SMSG_UPDATE_WORLD_STATE
Port From (https://github.com/TrinityCore/TrinityCore/commit/de26cafbbe1b355b69ec871f4fee0704a3ef29a5)
2022-07-09 12:37:04 -04:00
hondacrx a98ce1eb00 Core/WorldStates: Add area requirements to world states
Port From (https://github.com/TrinityCore/TrinityCore/commit/70eacebad531af0a4b5b4ac6be6d90ddc56ed5d4)
2022-06-27 16:56:01 -04:00
hondacrx 7be2eb52cc Core/World: implement database support for default map and realm wide world states
Port From (https://github.com/TrinityCore/TrinityCore/commit/737d94d7efe0b6c308ac1bf3692b6aa2e43f5adb)
2022-06-25 22:52:20 -04:00
hondacrx e56f3792de Core/Conditions: Implemented conditions for spawn groups
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d27939667cf3ca985a33b93646fa4e34445c8d3)
2022-06-24 22:08:58 -04:00
hondacrx 37d62e3a32 Core/Transports: Localized transport objects within each map
Port From (https://github.com/TrinityCore/TrinityCore/commit/cace41449771bbe692e1a45c4d38b15a12f6496e)
2022-06-16 14:08:22 -04:00
hondacrx 4038b93aa1 Core/Pools: Implemented pooling for instances
Port From (https://github.com/TrinityCore/TrinityCore/commit/94d829c84fb184990e26178551d10ecdca049efd)
2022-06-15 22:56:12 -04:00
hondacrx 452dd95e39 Scripts/Commands: Improve ".debug objectcount"
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e3d23188e02d2c79f09460590d0f43a5f81a982)
2022-06-09 20:50:52 -04:00
hondacrx 40444525b2 Core/GameObjects: Transport (type 11) improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431)
2022-06-03 16:20:41 -04:00