Commit Graph

334 Commits

Author SHA1 Message Date
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 33091ed942 More updates to scripts (still wont build) 2023-10-13 16:11:34 -04:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx f636ea225f Messed up the commit history, so here is all the files rip, Credit to TrinityCore 2023-09-16 08:42:35 -04:00
hondacrx 967624c664 Scripts/AreaTrigger: Added CanCaptureFlag and CaptureFlag hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/30f57de184fb96dfb6c548201e7717fa293682e1)
2023-09-14 04:53:47 -04:00
hondacrx c8c75431bf Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ab7050cb72544faa6a7fa17a0bf644e22538ff3)
2023-09-14 03:29:15 -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 6f387e563f Core/GameObjects: Added stringid to gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/845f61e0a969891b14e1f182fadd29af347a1a3f)
2023-09-12 15:45:47 -04:00
hondacrx b74cdf643f Core/GameObject: Implement GAMEOBJECT_TYPE_NEW_FLAG_DROP
Port From (https://github.com/TrinityCore/TrinityCore/commit/3cfc27f5ca81402ed41973a0206838e7a0352070)
2023-09-04 13:28:15 -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 ef250e0400 Core/Areas: Update AreaFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01)
2023-05-23 08:07:33 -04:00
hondacrx f670656393 Core/Auras: Implement SpellAuraInterruptFlags2::EndOfEncounter
Port From (https://github.com/TrinityCore/TrinityCore/commit/998ee363c5e41141da158ea39c0dae0814967fba)
2023-05-21 17:19:33 -04:00
hondacrx fd377ebc0d Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter
Port From (https://github.com/TrinityCore/TrinityCore/commit/15135ce16f76d1635fa5606c99822b60bced94bf)
2023-05-21 17:17:00 -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 24fd4563ba Fixes one crash and chat not working. 2023-03-24 07:37:16 -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 af78cf4759 Core/Instances: Fixed instance locks being incorrectly found and forcing difficulty when entering normal mode dungons
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f642b78f04bbbc723d573362ff25f2ede24f5af)
2023-03-23 07:14:42 -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 32ea5a96f5 Core/Player: Vertical "Say" distance
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab77b1d99254855d690670a4654cacec8b12daf6)
2023-01-22 23:41:15 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 111059afe6 Core/Creatures: Fix logic when searching for nearby creatures by StringId
Port From (https://github.com/TrinityCore/TrinityCore/commit/795edfaf98e065b8eaa76683e0cd1a4211b0847d)
2023-01-11 01:18:05 -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 a16289d51e Core/Maps: Implemented WMOAreaTable -1 grouipid fallback
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc07faf8f4d3c648114dd370463c599a2f949c20)
2023-01-06 16:24:37 -05:00
hondacrx 54413bf584 Core/Objects: Replace IsWithinDistInMap with IsWithinDist in grid searchers to avoid duplicate phase check (its also checked in Searcher classes)
Port From (https://github.com/TrinityCore/TrinityCore/commit/9a96d3235058df5929d3acccb379a7252dd53d94)
2023-01-06 16:08:26 -05:00
hondacrx 0c782c60c2 Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier
Port From (https://github.com/TrinityCore/TrinityCore/commit/61c51b76c00d932a9180bc6781a244dc18375ef7)
2023-01-05 16:44:30 -05:00
hondacrx 23c3084f00 Core/Objects: Implement FindNearestCreatureWithOptions helper function
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ab0679781ba65bc278203ee01d1169114c64033)
2023-01-05 03:02:26 -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 25f08ed6c9 Core/Instances: Fixed assertion failure with instance id based lockouts
Port From (https://github.com/TrinityCore/TrinityCore/commit/7dc25889c6f8785a8d8a98c990e2421ca9b2a0c7)
2023-01-04 16:51:05 -05:00
hondacrx 989b80b056 Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
2022-12-28 15:25:15 -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 1f774369f2 Core/Object: Implement FindNearestCreatureWithAura
Port From (https://github.com/TrinityCore/TrinityCore/commit/9a3e29d416162a84dd6a11c5e248f5f65e98a604)
2022-10-31 13:56:14 -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 c34b6cd77b Core/Instances: Fixes lock timers for instances. 2022-10-06 21:24:11 -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 86fa768ef3 Core/Loot: Set loot dungeon encounter id before generating
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f1a4cf9044d9ad65b49eb859ec36e1f62c2be10)
2022-10-05 16:21:19 -04:00
hondacrx 5baac43590 Missed files. 2022-10-04 22:25:53 -04:00
hondacrx 4b00446c1b DB Updates. 2022-10-04 22:25:27 -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 60995d9a93 Core/Instances: Spawn defeated bosses in instances using loot based locks if their preceding bosses are not killed
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca5f7a15b9c2ca352f7f83ddc065d795f2294d98)
2022-10-04 20:01:23 -04:00
hondacrx 87fdd30072 Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a516fb6549e460e68b45005a17ec1b6217fefa5)
2022-10-04 19:59:15 -04:00
hondacrx 9d6b144884 Scripts/Instances: Add dungeon encounter data
Port From (https://github.com/TrinityCore/TrinityCore/commit/46e0056196dd6e56077aeeb67d41ec520046a79e)
2022-10-04 19:50:48 -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 8b6a703058 Core/Instances: Add prepared statements for InstanceLockMgr
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ce1c6cdf419b52b889ad9dac7fb69d0059a1fe6)
2022-10-04 17:08:38 -04:00