Commit Graph

142 Commits

Author SHA1 Message Date
hondacrx df7218cae5 Core/Spawns: prevent spawn groups from bypassing spawnMask restrictions
Port From (https://github.com/TrinityCore/TrinityCore/commit/21177487ea9476cb4db3f498353c340181d87e14)
2022-05-29 16:06:09 -04:00
hondacrx 504da24dd0 Core/Pools: Fix pools with 1 member never spawning anything anymore
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c3dc31a3764681ae641e24ab61cd5256cc3331e)
2022-05-28 17:49:41 -04:00
hondacrx a5619334ae Core/Map: Added Map::SetZoneOverrideLight TimeSpan overload
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2022-05-26 16:57:15 -04:00
hondacrx dd7ffa89dc Core/Maps: Use a fixed offset instead of full collision height when retrieving floor Z
Port From (https://github.com/TrinityCore/TrinityCore/commit/9bcff210f90d57689557b7b8cc20cd336b8ab035)
2022-05-25 13:55:04 -04:00
hondacrx b3eec19d55 Fix build. 2022-05-24 18:21:45 -04:00
hondacrx 271c3fd945 Core/Maps: move pooling hand-off outside of Map::CheckRespawn
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8d00ddd69f3ff0f197b31d407e8c5112f229b4b)
2022-05-24 14:27:27 -04:00
hondacrx f10f1e4000 Core/Visibility: Split BG/Arena visibility settings
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b681ebc8aaaf79c1865c8c01f78c736a72e6e7d)
2022-05-24 13:35:17 -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
hondacrx 8abb8679db Misc fixes 2022-05-05 10:03:40 -04:00
hondacrx 6730879069 Core/Creatures: Add summoned creatures to summoners transport
Port From (https://github.com/TrinityCore/TrinityCore/commit/20af35fd1393e24c747fdfa30760f52bd6ee04e6)
2022-05-04 11:01:33 -04:00
hondacrx 532293034b Core/Maps: Always update the grid of player summons even if far away
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca498ffab23e9be7a4ffc6ea6adbfa3c01d5e6f6)
2022-04-28 10:44:04 -04:00
hondacrx 84de4826e4 Scripts/InstanceScript: Fix an issue where LoadAllGrids would load creatures before TeamInInstance was properly set
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a20f14a9920a16545d913fc8e444c161c2a92bb)
2022-03-11 18:01:21 -05:00
hondacrx ffd0f4280b Core/Objects: Cleanup SmoothPhasing code - move to separate files and better integrate it with visibility system
Port From (https://github.com/TrinityCore/TrinityCore/commit/70442041300bb0a1146717497fd5f771d874befa)
2022-03-09 14:51:55 -05:00
hondacrx f0d1a632ff Core/Objects: Implement SmoothPhasing part of CreateObject and replacing visible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5c713eaf21ce086074cf5934d1ee105c2c86922)
2022-03-09 14:09:03 -05:00
hondacrx e65a1e95cf Core/Objects: Properly choose between "Destroyed" or "OutOfRange" during visibility update
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a82a0381d704e4b4b9976daf04d541d1130e541)
2022-03-09 12:33:25 -05:00
hondacrx 510a1a0208 Core/Objects: Add overridable function UpdateObjectVisibilityOnDestroy
Port From (https://github.com/TrinityCore/TrinityCore/commit/472384e75781ce362af9721fc16928da9eea82dd)
2022-03-09 12:26:16 -05:00
hondacrx 0576cc0a07 Core/DBLayer: Add nicer api for SQLQueryHolders
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5dcf02196e30c932c7a25c3975a91a0fe1ccd50)
2022-03-02 13:27:52 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx 99b4a7ea8b Misc fixes 2022-02-23 16:28:45 -05:00
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