Commit Graph

313 Commits

Author SHA1 Message Date
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
hondacrx 276d199a6f Core/Instances: Add new config options to control the time when both daily and weekly resets occur (will not be restricted to instances only)
Port From (https://github.com/TrinityCore/TrinityCore/commit/cedf09f93c44be2abf1c2b40e0e4c51f95f2975c)
2022-10-04 17:02:16 -04:00
hondacrx 8d2770081b Core/Instances: Sprinkle some thread safety on InstanceLockMgr
Port From (https://github.com/TrinityCore/TrinityCore/commit/0be72f68c33617d78a4139f3e667b03d0a22a435)
2022-10-04 16:57:02 -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 7a65cf1434 Core/Scenarios: Attempt to restore scenario state from completed encounter info
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e99011edf5e74ef51a7b6f84ca0529e5dbf2492)
2022-10-04 14:46:27 -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 a164362caa Misc fixes 2022-08-04 18:06:54 -04:00
hondacrx 4fea5e1b1e Fixes when getting on some transports the npcs around you would disappear, and sometimes you would die from fall damage. 2022-08-01 17:46:11 -04:00
hondacrx 9420056307 Core/Maps: Make sure login instance is added to i_maps
Port From (https://github.com/TrinityCore/TrinityCore/commit/51166b2c5e02910728f897ff481ea6ee83a9310c)
2022-07-29 17:26:44 -04:00
hondacrx 888fd11477 Core/Maps: Split Ebon Hold and Exile's reach by faction and removed forced sanctuary hack
Port From (https://github.com/TrinityCore/TrinityCore/commit/515c0a43ef8fcf41ffb2785c5940f0234e757ec3)
2022-07-25 22:25:09 -04:00
hondacrx 686cfb1b83 Core/Maps: Fixed deadlock in battleground map creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f0266624dd711afd19c8002ac5474e8c834a366)
2022-07-25 22:16:57 -04:00
hondacrx 497d29e0a4 Core/WorldStates: Implemented setting dungeon encounter world states
Port From (https://github.com/TrinityCore/TrinityCore/commit/3598d280ff67d1653d9e1d61cbd32d12d41bc1d7)
2022-07-25 22:10:13 -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 cea897a772 Fixed another crash, and enabled tilelist reading again. 2022-07-25 14:38:31 -04:00
hondacrx d76b8b7751 Temp disabled loading of tilelist, as it was not loading the correct tiles for the maps. 2022-07-25 14:05:16 -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