Commit Graph

67 Commits

Author SHA1 Message Date
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 7bba4bdd79 Core/Loot: Allocate Loot separately from objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/7957e2d380e08fa831765f610c0e29d2f3e11a04)
2022-09-02 14:14:04 -04:00
hondacrx 6b54a6384d Core/Commands: More work on commands. 2022-08-25 12:04:58 -04:00
hondacrx e0025794a5 Fixes most commands. 2022-06-11 21:09:48 -04:00
hondacrx ed79f93c7b 1eca51b follow-up, nuke command.permission from orbit; it was only duplicating data already stored in the core.
Port From (https://github.com/TrinityCore/TrinityCore/commit/46d4e2fa8378eed414c07eb161a19b772c474735)
2022-06-09 16:27:15 -04:00
hondacrx 3e0f40be0c Some cleanups to commands. 2022-06-07 17:49:43 -04:00
hondacrx 5473f9b82e Scripts/Commands: Convert argument parsing of .npc commands
Port From (https://github.com/TrinityCore/TrinityCore/commit/4d62cc70d6a7726d6619ba5c722fcb74d1123396)
2022-06-04 18:24:49 -04:00
hondacrx 40444525b2 Core/GameObjects: Transport (type 11) improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431)
2022-06-03 16:20:41 -04:00
hondacrx f53c4cb009 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e)
2022-05-30 15:57:56 -04:00
hondacrx 0116a7efa5 Core/ChatCommands: Add support for enum type arguments
Port From (https://github.com/TrinityCore/TrinityCore/commit/3923650aeb75611023aa1d46a4328838c8e0a33c)
2022-03-03 13:51:22 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx f21809a608 Core/Commands: Fixed .npc add overwriting existing spawns when used on transports
Port From (https://github.com/TrinityCore/TrinityCore/commit/98272944eef1d710665223df4e16978876e8f9f3)
2022-02-22 18:38:29 -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 e9eed31d90 Ok really add the new command stuff. 2022-01-20 10:02:10 -05:00
hondacrx 5f8744fa69 Core/Server: correct timestamp format for shutdown/restart notification broadcasts
Port From (https://github.com/TrinityCore/TrinityCore/commit/69f768605082222a3ca573c623d3fc019106be3b)
2022-01-07 10:03:32 -05:00
hondacrx c6186f17bd Core/Creature: Use proper name for wander distance.
Port From (https://github.com/TrinityCore/TrinityCore/commit/72093e98e1bdbd3b83d8030d1cb50306bb04b028)
2022-01-07 09:33:54 -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 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 4226f7e498 Core/Commands: Fixed creature/gameobject move commands not updating which cell they belong to
Port From (https://github.com/TrinityCore/TrinityCore/commit/dcd69240b6a57e4e4687febd9422069c184a4cae)
2021-11-23 21:31:59 -05:00
hondacrx a31eb8647b Scripts/Commands: Fix crash caused by .set npc model
Port From (https://github.com/TrinityCore/TrinityCore/commit/ff2cd4a0322fc2942323702a37844b0cfa963ce4)
2021-11-18 17:18:02 -05:00
hondacrx aebbc968eb Scripts/Commands: .npc info now includes react state info
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd239e8b0f945a70c9d738024bdc2d75d54575f4)
2021-11-02 14:03:25 -04:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -04:00
hondacrx be1afd7949 Scripts/Commands: .npc info and .gobj info now show runtime AI typenames in addition to AIName/ScriptName.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c4458dd08ebe442461c711d01b014c6ff268fde6)
2021-10-14 19:44:58 -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 e747de7608 Core/Transports: Force transport passengers into legacy spawn group
Port From (https://github.com/TrinityCore/TrinityCore/commit/068b340b6988c3edd8db2b9d62a99baebe1b031e)
2021-09-26 11:51:57 -04:00
hondacrx ad1975b277 Core/Movement: Replace old TargetedMovementGenerator into ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both.
Port From (https://github.com/TrinityCore/TrinityCore/commit/14939204955d1a24fe465cdfcbf307daf3ce4f09)
2021-09-26 10:29:27 -04:00
hondacrx 4a61a40fb8 Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc89e1cdb0da10e53cc9fa4a97565c05bb4c052e)
2021-09-23 22:46:22 -04:00
hondacrx e4240fcd94 Core/Creatures: Reworked setting move types in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8c03a90661610e289029c78d2055d7b73a5ad98)
2021-08-24 12:23:39 -04:00
hondacrx 50fcbd3aaf Some cleanups 2021-07-08 13:01:46 -04:00
hondacrx 61e9d9f964 Scripts/Commands: add AI/ScriptName to .gobject info.
Port From (https://github.com/TrinityCore/TrinityCore/commit/493be0c888717ea963e078364abca5cead7eae10)
2021-06-23 23:40:15 -04:00
hondacrx 44cfe32b50 Misc fixes 2021-06-23 15:09:41 -04:00
hondacrx ad2d0f912e Core/Formations: update codestyle and fix crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/861cf261c5dfc29d6980908ec36ebe7aad68a462)
2021-06-23 14:05:41 -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 6e896c8829 Fix some crashes 2021-05-11 15:27:28 -04:00
hondacrx ba064327b0 Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object. 2021-04-21 18:06:46 -04:00
hondacrx 63f0f919e2 Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
2021-04-17 19:28:50 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx b0f951729f Core/Command: Fix displaying npcflags. 2021-03-06 21:40:30 -05:00
hondacrx b503b842d6 Core/Commands: Fixes npc delete command not working. Also addes missing TeleCommands. 2021-01-14 18:12:17 -05:00
hondacrx 2820d45a0d Misc fixes 2020-09-03 11:25:42 -04:00
hondacrx 6fcb0b4e72 Fixes missing commands 2020-08-25 13:11:02 -04:00
hondacrx 18d7144ca6 Core/Spawn: Move spawn group state management from sObjectMgr to the Map object, which makes it actually function as intended with instances.
Port From (https://github.com/TrinityCore/TrinityCore/commit/27806eeac9d2588d2f7a3b8a0852d45b15a6a241)
2020-08-24 21:21:27 -04:00
hondacrx a27c86a385 Scripts/Commands: .npc delete and .gobj delete now work while the specified guid is despawned.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2924ae08038314e3c935a132cc56a4135d9f103c)
2020-08-24 19:09:32 -04:00
hondacrx c2ae405346 Core/Commands: Cleanups 2020-08-24 17:38:22 -04:00
hondacrx 08ef556a36 Core/Scripts: dynamic_spawning follow-up, I had forgotten JustRespawned existed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/129dd7c9091d3fafc0f5e10b795224bc9418d006)
2020-08-24 11:26:27 -04:00
hondacrx 15ae7a7c66 Dynamic Creature/Go spawning
Port From (https://github.com/TrinityCore/TrinityCore/commit/03b125e6d1947258316c931499746696a95aded2)
2020-08-23 21:52:32 -04:00
hondacrx 9533ebdd98 Add new command 'npc showloot'.
Port From (https://github.com/TrinityCore/TrinityCore/commit/64d8b183de9c56e1350b7323167b509fe2c43805)
2020-07-24 14:39:24 -04:00
hondacrx 4fb3805d8a Core/Creature: drop method SetPosition
Port From (https://github.com/TrinityCore/TrinityCore/commit/55576d20d837a9b4575c11a73940c29c0e8e605b)
2020-06-19 19:51:09 -04:00
hondacrx c9a91fa62f Core/Movement: MotionMaster & MovementGenerators cleaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/14c6a4d8238e4f383557359436b5f73cb730d4ea)
2020-05-07 14:16:30 -04:00
hondacrx ba885908b7 Core/Spells: fix wrong distance calculations in AoE spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59)
2020-05-06 14:34:20 -04:00