Commit Graph

97 Commits

Author SHA1 Message Date
hondacrx 227bc401ce Fixes spam of instance reset messages. 2024-03-19 17:23:12 -04:00
hondacrx 69d144c399 Core/Battlegrounds: Strand of the Ancients Rework
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d56cdc08413a0682299136a763e13e67d38818b)
2024-03-06 17:19:02 -05:00
hondacrx a4927ae941 Core/Instances: Added back missing cases to InstanceScript::SendEncounterUnit
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc7e1bdcaed1ef1f6b4394378c99c56c8438b049)
2024-02-21 18:12:41 -05:00
hondacrx 5972f3b8a1 Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ef0c045202a6af33fb991f2ff765fa183ce976f)
2024-02-04 16:31:49 -05:00
hondacrx 0226b9ff49 Core/Instances: Fixed initializing instance id sequence generator
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eb6b0156d7e46fe92e2550ce21ba553c705e0a0)
2024-02-03 11:17:33 -05:00
hondacrx d0cd2aae8a Core/Achievements: Implemented DefeatDungeonEncounter and DefeatDungeonEncounterWhileElegibleForLoot criteria types
Port From (https://github.com/TrinityCore/TrinityCore/commit/765f86fdc001ce352a706d2950197b1007d9afce)
2024-02-03 11:09:53 -05:00
hondacrx d9e524a657 Core/InstanceScript: Refactored door types to reflect its behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e2f04172864e3cff2b5559ac89ded23ade5f92e)
2024-02-02 15:04:43 -05:00
hondacrx d96f7fb821 Core/Instances: Kill instance_encounters table, it is no longer neccessary
Port From (https://github.com/TrinityCore/TrinityCore/commit/47fc3cb852324119e81c01015b7cc4f39d43e559)
2024-01-29 15:22:25 -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 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 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 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 149fadccab Make PreparedStatements static for each database. 2023-02-04 20:55:14 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -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 c34b6cd77b Core/Instances: Fixes lock timers for instances. 2022-10-06 21:24:11 -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 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 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 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 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 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 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 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 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 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 8bbd650d0b Scripts/Instances: Replace manual criteria timer starts in instances with new GameEvents api
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c62b0b90f879e5df6c6785c12e9a5bddd65cb48)
2022-05-31 19:57:24 -04:00
hondacrx 4b0b5df152 Core/Achievements: Implemented criteria flag "Reset on Start" and removed manual script workarounds for it
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1abd8256be38c299156264424999c0108613198)
2022-05-31 19:54:05 -04:00
hondacrx 3c8c31ecd7 Core/Maps: add new FLAG_ALLIANCE_ONLY and FLAG_HORDE_ONLY for instance spawn groups
Port From (https://github.com/TrinityCore/TrinityCore/commit/203dfec2a1d1d628469ed0d68fefac33c15e65d6)
2022-05-24 13:19:48 -04:00
hondacrx ac97b9b15b Core/Maps: Add Map::DoOnPlayers helper function
Port From (https://github.com/TrinityCore/TrinityCore/commit/543a7b79c3e5259ed3da413a6d91f00dfd85977e)
2022-05-09 13:23:28 -04:00