Commit Graph

2804 Commits

Author SHA1 Message Date
hondacrx 51cd499bd0 Core/Misc: Remove function calls through singleton global within the same class
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f6ce648366099aecb966a57049371bfa4b19e56)
2022-10-11 17:14:21 -04:00
hondacrx 9ea20a8925 Fixes some crashes. 2022-10-11 17:09:56 -04:00
hondacrx 1ba4405421 Core/Objects: Fix flags overflow for InvisibilityType because TOTAL_INVISIBILITY_TYPES (38) can't fit in 32 bits flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/423f81fbdaad9bedf936b313a97afe0be53b6ae0)
2022-10-11 17:09:46 -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 39e9e73277 Core/Loot: Prevent looting bosses by players that have already completed that encounter
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ce47e6809eecc891904e272b368596fdc55e6a4)
2022-10-06 20:50:10 -04:00
hondacrx 2bba8aeb99 DB Update / Misc fix 2022-10-05 16:21:33 -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 023fc60699 Core/Groups: Removed group_instance row deletion of empty groups * table does no longer exist
Port From (https://github.com/TrinityCore/TrinityCore/commit/0be7096b240e9d285e3e47bb4f28e04a341ef8b8)
2022-10-05 16:09: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 615c388879 Core/DataStores: Defined MapDifficulty.db2 flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/550d117fd758eb2bda3c69a86ef0774b9f9bf0f2)
2022-10-04 20:13:52 -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 b0955ca8ea Core/DataStores: Defined map.db2 flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f6baed006a5fde5d9ae6e6d80a385837640bb90a)
2022-10-04 20:11:42 -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 d21624fd87 Core/Spells: make Spell::CheckMovement respect the current spell state
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad2df01b2c25ca6264096b8b8324dc8136ebd48b)
2022-10-03 20:42:04 -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 e4a18a7d04 Core/Commands: Fixed not being able to use command: .levelup 2022-10-03 17:32:27 -04:00
hondacrx 10302a3ceb Some misc fixes 2022-10-03 10:22:04 -04:00
hondacrx 43ea6fbaa1 Core/Commands: Fixes a few crashes with commands 2022-10-02 21:50:21 -04:00
hondacrx 86e03cee1b Core/Spells: fixed up block mechanics
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f084718277b01936435c66696084fc049f8f8cf)
2022-10-01 17:10:57 -04:00
hondacrx e8ff7bfa67 Core/Units: Set UNIT_FLAG2_*_AOI dynamically according to the VisibilityDistanceType set on the creature
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b06b8ec1e3ccc153a44b3eb2e8487641cfae98d)
2022-10-01 17:00:55 -04:00
hondacrx 5b41cb0646 Core/Players: Added error message for death knights attempting to leave their starting zone early
Port From (https://github.com/TrinityCore/TrinityCore/commit/a515443a598e4934bc4493b1858c76cb631d5b8a)
2022-10-01 16:57:44 -04:00
hondacrx 879451f799 Fix build 2022-10-01 16:56:56 -04:00
hondacrx 906e885631 Core/Spawns: Added startup error for incorrect map assignments in instance_spawn_groups
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ff3d888688fd382d317de0c2dbf26af6a6e7da5)
2022-10-01 16:54:27 -04:00
hondacrx e9ad8c63f8 Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffbde7cccc6b0d697f915345c48e2b70dc110f38)
2022-10-01 16:39:06 -04:00
hondacrx fa4a96769e Core/Players: Fixed pvp talents being removed and immediately readded from players when entering/leaving Orgrimmar and Stormwind
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c90378cec45c94c846bb86d30022e2ded31d9cd)
2022-10-01 16:35:47 -04:00
hondacrx ca55d131ac Core/Spells: Fix glyph of stars (druid)
Port From (https://github.com/TrinityCore/TrinityCore/commit/56ef6c06eb165e9410a1f0af8b54492ad99eeced)
2022-09-24 13:57:38 -04:00
hondacrx 53689df7fa Core/Items: Added correct context and bonus calculation for character loadout items
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4d2166f0c7a61f5a9b159da80e478c5ae7aaa16)
2022-09-24 13:53:55 -04:00
hondacrx 91e844e9dc Core/Player: Extend action button value to uint64 to be able to hold battle pet guids
Port From (https://github.com/TrinityCore/TrinityCore/commit/f67cd38312014b13624dcb5fe1d117dac4892b7d)
2022-09-24 13:50:39 -04:00
hondacrx 1bd88829f2 Core/Player: Allow companion action buttons to be saved
Port From (https://github.com/TrinityCore/TrinityCore/commit/e15898bf560fc8159777a2a29a29d6a91ffdb590)
2022-09-24 13:36:51 -04:00
hondacrx 431a06fe24 Core/Commands: Fixes commands that use boolean as a argument. ex: .gm fly on 2022-09-19 19:12:44 -04:00
hondacrx 40f06a3fb0 Core/Loot: Refactored Player::SendLoot to accept Loot object directly
Port From (https://github.com/TrinityCore/TrinityCore/commit/cbf2064c62137d9f0c0397956592f3ab9700480c)
2022-09-18 22:22:44 -04:00
hondacrx 6c7991c28f Core/Loot: Move loot generation out of Player::SendLoot
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c20f620d7b070b13b40803095e5fa97f9349512)
2022-09-18 22:13:40 -04:00
hondacrx aa88c5bb2f Core/Loot: Simplify loot containers
Port From (https://github.com/TrinityCore/TrinityCore/commit/c00e2e4851498aa04ac1d8ff13a0759b245df72b)
2022-09-18 20:32:52 -04:00
hondacrx b76c9571d2 Core/Loot: Move loot rolls from Group to Loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ef5079feeedfdafc9d3c1d9f865e96dbc77ecc8)
2022-09-18 17:57:08 -04:00