402 Commits

Author SHA1 Message Date
hondacrx 712dd7b9de Core/Common: Merge TimeTrackerSmall with TimeTracker
Port From (https://github.com/TrinityCore/TrinityCore/commit/8809d54ca2daa230b1439f012c8b10ee88d6beae)
2022-03-02 14:06:04 -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 30a5bcdb4d Misc fixes 2022-03-02 10:04:24 -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 8126e7c6e1 Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT
Port From (https://github.com/TrinityCore/TrinityCore/commit/db825c3221de16cdb757711781318d76b414213f)
2022-02-18 13:35:32 -05:00
hondacrx a604bbd7f9 Core/Gameobjects: Improve stealth detection
Port From (https://github.com/TrinityCore/TrinityCore/commit/60e66621dae44cb832ebb0bdb5e168f9ab114ecb)
2022-02-18 12:51:16 -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 860bf84280 Core/ZoneScript: Add "invoker" param to ProcessEvent
Port From (https://github.com/TrinityCore/TrinityCore/commit/15b91836351a61f471865a751d4ff9ab0b5775a0)
2022-01-09 14:12:34 -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 50038d5ab2 Core/GameObject: Fix wrong calculation of the spellfous distance
Port From (https://github.com/TrinityCore/TrinityCore/commit/2de20560fe7caccd57fbfd1b17856fac43d5f921)
2022-01-07 09:41:56 -05:00
hondacrx 63fa8636f4 [WIP] Core/AI: Pets musn't attack civilian NPC in aggressive mode
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e932109996a0ce2117f3d5268064ee882267e84)
2022-01-07 09:36:23 -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 e7ab9031ac Core/AI: No longer do strange things when told to enter evade mode while there's no need to do so, typically by terrible legacy code.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3269c4278933d65ef0df619a50cbd0b851cab4fc)
2022-01-01 17:58:34 -05:00
hondacrx 9b3fe829d6 Core/Misc: Handle timezones for hour-specific events specifieds in worldserver.conf
Port From (https://github.com/TrinityCore/TrinityCore/commit/493fe066f6b107a9f356d693c5d37d878d3a63eb)
2022-01-01 16:35:15 -05:00
hondacrx 8766de8286 Fixes loading server and loggin in. 2021-12-27 22:37:53 -05:00
hondacrx 74133edce1 Misc fixes/missed stuff 2021-12-27 18:11:38 -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 b7f85e9e43 Entities/GO: FindNearestGameObject no longer incorrectly returns despawned gameobjects.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6de4c3cd72de1c7ae6e467b09ec181445b397338)
2021-12-27 16:56:27 -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 5ba1f34108 Core/Instance: add new method
Port From (https://github.com/TrinityCore/TrinityCore/commit/934b72262d390f4e2cb87f07a4c1512a24a3b0d0)
2021-12-26 19:27:28 -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 f624076063 Core/Instances: improve DoRemoveAurasDueToSpellOnPlayers & DoCastSpellOnPlayers handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/70fd6e7398040dc197c3470c6db8aa82f4e42ab1)
2021-12-26 19:21:16 -05:00
hondacrx 3cf7f6b831 Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/38d7c1530a65a7ff1bd10775c4a35269b2416538)
2021-12-24 20:15:10 -05:00
hondacrx 79e33b6a4a Core/Misc: don't allow FindNearestCreature() and FindNearestGameObject() searches to return the entity that called them.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2bcfc6680c899ac4e94d71c7b864379ce69f9654)
2021-12-22 20:16:49 -05:00
hondacrx c37e1c9f7d gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
2021-12-07 20:42:47 -05:00
hondacrx f5695f0cf2 MMaps Updates, Needs tested.
Port From (https://github.com/TrinityCore/TrinityCore)
2021-12-02 14:50:55 -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 bc17b34ab7 Check player conditions to enter instance
Port From (https://github.com/TrinityCore/TrinityCore/commit/70cd58765e2e78a691de6b2adf82418bd1e208f8)
2021-11-29 14:50:15 -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 d76e1918aa Core/Maps: Properly re-create map on login for ephemeral player saves. Because it bugged me to no end when testing anything ever.
Port From (https://github.com/TrinityCore/TrinityCore/commit/fd930d4c830c36bddc9b2a5fd3650b41a914ed38)
2021-11-02 14:21:20 -04:00
hondacrx 0e1eeba55a Misc fixes 2021-11-02 13:24:16 -04:00