Commit Graph

290 Commits

Author SHA1 Message Date
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
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 732609fd87 Core/Maps: Replace some Instanceable() checks with IsDungeon()
Port From (https://github.com/TrinityCore/TrinityCore/commit/8466894d816f484f30cdbe47b980a142870c955e)
2022-07-20 21:38:47 -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 cee989c731 Core/Maps: Made instance_template no longer required to create and enter instance maps
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8e52fd90bdab6e720d13e44c64483945e139fa2)
2022-07-18 21:41:50 -04:00
hondacrx df440b2025 Missed some escaped words for newer mysqls 2022-07-11 15:54:00 -04:00
hondacrx 357b1fed30 Fixed a crash when loading into world. 2022-07-11 15:38:24 -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 ba6c30add4 Start adding missing scripts Part3 2022-07-06 23:53:47 -04:00
hondacrx 8cfd263fea Start adding missing scripts Part2 2022-07-05 15:39:49 -04:00
hondacrx 25bbf63341 Core/WorldStates: Migrate instance script worldstates to new system
Port From (https://github.com/TrinityCore/TrinityCore/commit/cfca26c2641f684533e07d9933ba1f31e5ef8204)
2022-06-30 00:33:53 -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 a0d4a4f522 Core/SpawnGroups: Renamed GetSpawnGroupsForInstance and its argument to not cause confusion with instance ids (equivalent to instance save id, not map id)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e2cf6d68fc5d6b3316f69873ee3ab917b2c9d4c0)
2022-06-24 21:50:46 -04:00
hondacrx 0f655d09ca Core/VMaps: Fixes getting no area/zone info, which caused you to be dismounted. 2022-06-23 15:55:45 -04:00
hondacrx 8b1e02759a Fixed transports. 2022-06-21 22:35:20 -04:00
hondacrx d42733e3b4 More cleanups, transports still not working. working on a fix. 2022-06-21 15:43:35 -04:00
hondacrx 63cbd18350 Fixed crashes and errors when loading into world. 2022-06-21 14:56:22 -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