222 Commits

Author SHA1 Message Date
hondacrx 717ed6e36a Core/Pooling: Remove respawn times from the database when despawning a pool
Port From (https://github.com/TrinityCore/TrinityCore/commit/97c1d01cbbc3ea828a2edfdc3a0b221e31d89f28)
2022-02-17 17:15:59 -05:00
hondacrx 7531735669 Core/Phasing: Implemented db spawns in personal phases
Port From (https://github.com/TrinityCore/TrinityCore/commit/8fabe5a3aacf7797f03d074ab8434f445be64955)
2022-01-27 14:01:49 -05:00
hondacrx f87f58e35f Core/Commands: Add .debug guidlimits <optional map id> chat command
Port From (https://github.com/TrinityCore/TrinityCore/commit/e7b94603f256386eae8a9724c830d37593c0f0e1)
2022-01-20 12:31:56 -05:00
hondacrx 883a3bb990 First try at updating command system to be like TC. Still needs alot of testing/work 2022-01-20 09:57:15 -05:00
hondacrx 595338284c Misc fixes. 2022-01-09 14:33:39 -05:00
hondacrx 6ece3e2b66 Core/Maps: Citizens of Dalaran! Raise your eyes to the skies and observe! Any non-map-default light can now be overriden!
Port From (https://github.com/TrinityCore/TrinityCore/commit/e8d1f37ee098db01872d8861a0b48d5d4cb9d172)
2022-01-07 11:34:15 -05:00
hondacrx 131e2c7815 Core/DynamicInfo: rename some parameters according packet definitions
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e178b30fab3506ee028554c116785a55e26a740)
2022-01-07 10:50:34 -05:00
hondacrx d2ba807c20 Core/Misc: Some refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/94a79bac7a06aa0f931e9d651928de7eea0a8b5c)
2022-01-06 20:07:26 -05:00
hondacrx e3cff2c419 Core/DynamicObjects: Restore the ability of DynamicObjects to be world objects which was accidentally removed in f0f4a620fbeef9cc450d1294c1964fe98e45645d breaking Far Sight
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b79d1b410de03cd74fee90d952dcb37b82e257b)
2022-01-06 00:04:53 -05:00
hondacrx 13f73adf73 Core/Map: Load the grid of TempSummons owned by Players
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6ac3316b73d68d1ce776e5c740cafd3b7b0bad6)
2022-01-05 20:27:45 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx 673d2fff40 Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f3904f8fd4e7536d1e7ba8e701f4774519fd867)
2022-01-04 18:46:40 -05:00
hondacrx 4c0eb3f2e2 Scripts/FollowerAI: Some cleanup:
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c3eb07889f72955879c8a0e0881b51befb60067)
2022-01-02 13:06:01 -05:00
hondacrx 55c298be9f Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
Port From (https://github.com/TrinityCore/TrinityCore/commit/eee950cdd7bcbe9443a53ea5c4cce35444a503f7)
2021-12-27 18:09:58 -05:00
hondacrx 9b2d1e67b6 Core/Spawns: Exterminate CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY with extreme prejudice. (It didn't work anyway.)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5e58cef694d3db65f0a27b93099ae4e517685a4)
2021-12-27 17:39:42 -05:00
hondacrx 0f98aec1cd Core/DB: Unify creature_respawn and gameobject_respawn into a single respawn table
Port From (https://github.com/TrinityCore/TrinityCore/commit/be05590a12607cbf6c7f8e5436cfac0fb3625128)
2021-12-27 17:32:36 -05:00
hondacrx 828fafbcc8 Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
Port From (https://github.com/TrinityCore/TrinityCore/commit/2532de6acb7d73957a8fca44e7fc26160f47cc47)
2021-12-27 16:29:29 -05:00
hondacrx a693bed211 Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2225cb120100da741814dec7515b191cc68f07be)
2021-12-27 15:51:24 -05:00
hondacrx b456a0403f Core/Instance: add new hook & method
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a63200e40d286dd49cc90135a519b0680a6f435)
2021-12-26 19:25:32 -05:00
hondacrx c37e1c9f7d gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
2021-12-07 20:42:47 -05:00
hondacrx 334720dafe Core/Movement: Fix some undermap issues with random movement/fear/blink
Port From (https://github.com/TrinityCore/TrinityCore/commit/4fcc4a330044e84baa1f58ff13e1b4ea7775eb66)
2021-11-29 17:46:46 -05:00
hondacrx 387c101475 Core/MapScripts: Add support to GameObjects to SCRIPT_COMMAND_DESPAWN_SELF
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8396f682cebfcbd9ecc15a42194119a74185627)
2021-11-23 22:54:42 -05:00
hondacrx dab1702214 Core/MapScripts: Allow GameObjects to be caster of SCRIPT_COMMAND_CAST_SPELL
Port From (https://github.com/TrinityCore/TrinityCore/commit/3acb4204440f5dcbbc0f17816de24a3244e53771)
2021-11-23 21:36:51 -05:00
hondacrx 3ab092a655 Core/Spells: Implemented SummonPropertiesFlags: UseSummonerFaction & IgnoreSummonerPhase
Port From (https://github.com/TrinityCore/TrinityCore/commit/a832435b9787c1997da87a124ff99bf06251aa07)
2021-11-16 13:23:42 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx 7a6670c61c Core/Maps: Fix a crash when spawning a spawn group
Port From (https://github.com/TrinityCore/TrinityCore/commit/19f24b3e40c5dd56939824a50846fcb437f4a8cd)
2021-11-02 14:25:36 -04:00
hondacrx 0e1eeba55a Misc fixes 2021-11-02 13:24:16 -04:00
hondacrx dbbfee4ab0 Core/Maps: Continue updating creatures that own auras applied to players.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7e5931b4947d2b0590b073381a4acb10056366c)
2021-10-17 09:27:41 -04:00
hondacrx 2d976d7421 Core/Characters: Made homebind location a WorldLocation (this implicitly adds orientation)
Port From (https://github.com/TrinityCore/TrinityCore/commit/68c2fc8ff58d9ad272e8e17391a6bb6c3743923b)
2021-10-16 17:59:01 -04:00
hondacrx 5994c4e5fb Fixed wrong area flags, Fixes resting in city. 2021-10-15 18:05:40 -04:00
hondacrx d2bcc321f5 Core/Scenes: Implemented spell created SceneObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7302ffd1499433fef2cc4e824ae9443c3d2c79f)
2021-10-11 17:21:33 -04:00
hondacrx a968772bad Core/Movement: MotionMaster reimplementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/426f9f2f92b26fbb68e7cda9290ccbd586c6af4e)
2021-09-29 18:24:37 -04:00
hondacrx 7befdbd11b Core/Maps: Adjusted logic in GetFullTerrainStatusForPosition to closer match what the client does regarding being inside WMOs
Port From (https://github.com/TrinityCore/TrinityCore/commit/453b59de57b3502163adc99a6fc9cbeec0645dcf)
2021-09-26 11:32:01 -04:00
hondacrx 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -04:00
hondacrx e97ffa304d Core/Spells: rework part 4: iterate over effects first
Port From (https://github.com/TrinityCore/TrinityCore/commit/65dca120d34febdaa84a63e17f638ab0fa59b3df)
2021-08-28 22:35:39 -04:00
hondacrx 89058fec83 Core/Movement: Fixed creature hover
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e2b29861878fda2d27156c71a1d8ed7dbe0b4fe)
2021-08-24 11:10:59 -04:00
hondacrx 2b261a03d3 Core/Maps: Fixed outdoors check
Port From (https://github.com/TrinityCore/TrinityCore/commit/43b944bf92e9851bbebb6c2bb0169b9b2018cfcd)
2021-08-22 23:14:19 -04:00
hondacrx 06fe13fbab Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add WorldObject::IsOutdoors, basic member access.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e47e95b6dc89a7332ae4d5d833639e4f30f3d8c5)
2021-08-09 11:33:30 -04:00
hondacrx 85ffed189f Core/Spawning: Actually check spawn group state before processing a respawn. It feels like that is something that should've been noticed at some point.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c80f5073493a3d31fd4b463891727beb6fe7eb1)
2021-08-09 09:37:36 -04:00
hondacrx 50fcbd3aaf Some cleanups 2021-07-08 13:01:46 -04:00
hondacrx 44cfe32b50 Misc fixes 2021-06-23 15:09:41 -04:00
hondacrx 302a1f293c Some Cleanups 2021-06-07 18:06:16 -04:00
hondacrx 9c58042e07 Core/Player: Add helper function to determine if war mode can be enabled in area
Port From (https://github.com/TrinityCore/TrinityCore/commit/626c8f5de12daac6b88989807eba65d3d7a061dd)
2021-06-07 11:06:13 -04:00
hondacrx c1409e4787 Core/Conditions: Implemented missing PlayerCondition columns - time and weather
Port From (https://github.com/TrinityCore/TrinityCore/commit/8aaf750be1ee16a299016cf038bd84bd9b387544)
2021-06-04 16:49:44 -04:00
hondacrx 90508f7689 Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ecfe58cae6d9cfa7a3aef21a4a96aa00c513ba2)
2021-06-02 22:09:53 -04:00
hondacrx 5cc1dd1a61 Core/Map: New Map::ForceRespawn to override objections and force a respawn (equivalent to force = true). Use this to fix various GM commands.
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b7728f82e6e7c326b7945efd719218179e9767a)
2021-05-18 12:45:55 -04:00
hondacrx 8b8337034f Core/Map: Fix a crash that could happen if a player moved very far away from a creature they were in combat with.
Port From (https://github.com/TrinityCore/TrinityCore/commit/b00d3812ab1b40636c79889e705042d8198b0c17)
2021-05-18 12:33:20 -04:00
hondacrx 66ba3fe724 Core/Misc: A variety of clean-up changes:
Port From (https://github.com/TrinityCore/TrinityCore/commit/5aee452943e5c76f54f58eea9e6880b54a61ec9c)
2021-05-18 12:31:45 -04:00
hondacrx 9851142796 Core: Combat/threat system rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/34c7810fe507eca1b8b9389630db5d5d26d92e77)
2021-05-18 12:25:40 -04:00
hondacrx 6e896c8829 Fix some crashes 2021-05-11 15:27:28 -04:00