Commit Graph

242 Commits

Author SHA1 Message Date
hondacrx bfd3cd9731 Core/Unit: Make HandleEmoteCommand typesafe
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e3c612c808bca7601b32ce5dca28b204e652773)
2022-03-03 13:44:00 -05:00
hondacrx 47bea619f7 Scripts/Comamnds: Improve ".debug objectcount" command
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffd85f9139119ec56a8a6f3add4ef4c0f047b838)
2022-03-02 18:00:52 -05:00
hondacrx e839f2234c Misc cleanups 2022-03-02 17:34:33 -05:00
hondacrx 30a5bcdb4d Misc fixes 2022-03-02 10:04:24 -05:00
hondacrx 150b09205b Core/Mail: Load mails at login instead of on demand when queried by packets (logging in always sends one of the packets that cause mail loading anyway)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9b4f9aca0d0b90e59e0ed26e9bb4cce7d0ceeab)
2022-03-02 09:52:35 -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 d4a339f29a Core/Commands: Fixed wrong field being used to determine instance type in .lookup map id
Port From (https://github.com/TrinityCore/TrinityCore/commit/279744efcd48394edeab2b3ac03fd2dd9a4175ab)
2022-02-27 15:01:18 -05:00
hondacrx 2c03f9d1be Core/Items: Reagent bank
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3b2e4d9873874e29291f0c9851ae154029b1b3b)
2022-02-26 23:32:00 -05:00
hondacrx 91c2fedb6e Core/Guilds: Separate guild rank id from guild rank order
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d3235f56969a6e414071edbb669ac63b4398958)
2022-02-25 10:40:47 -05:00
hondacrx 67a79c3777 Fixes build. 2022-02-24 20:35:06 -05:00
hondacrx eb5d4a4e7d DB/Account: update account_access table cherry-pick take 2 (with refactors)
Port From (https://github.com/TrinityCore/TrinityCore/commit/69cadae38ae7196703ea10908860a6973dbdcddf)
2022-02-23 16:34:06 -05:00
hondacrx 4c883cbc47 Scripts/Commands: Add .debug objectcount <optional map id> chat command
Port From (https://github.com/TrinityCore/TrinityCore/commit/5886bf7484f26deb0e26d3a14791041cc14266be)
2022-02-23 16:11:23 -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 c27475ae46 Core/MMAPs: Adjust walkable climb and fix a lot of mmap raycast issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/89afeed41b4f040e4852b35183f30291588662d7)
2022-02-22 14:24:29 -05:00
hondacrx 67b7d1203c Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d38eeec7e222edfe74740efd8e7af16103b0221)
2022-02-18 17:00:01 -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 6c0e21b4de Misc updates/fixes 2022-01-27 12:36:56 -05:00
hondacrx 13386aab0f Scripts/Commands: Add .go boss, and do a usability pass over .go instance to match it.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7704d8fc7a93cdcebdf4c677ba727e47b87fcc37)
2022-01-20 16:51:16 -05:00
hondacrx 62e4f1a7c5 Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f6cf975e4e0bef621b9465f364476ec6731ae0d)
2022-01-20 12:39:18 -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 fa12cf63bc Core/Commands: implement commands to look up a map/item/quest name for a given id
Port From (https://github.com/TrinityCore/TrinityCore/commit/ae43820ca0db692d1ff176b216ab641cc4760d49)
2022-01-20 10:37:57 -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 f1a0e55cb5 additional output for additem command
Port From (https://github.com/TrinityCore/TrinityCore/commit/72e61625bca5a8420fc76666db3481673b180a69)
2022-01-05 23:29:15 -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 964542023c Core/Channels: Fix a bug that would cause channel settings to disappear in certain settings. Fix a bug that would cause channels to not be saved on .server shutdown without delay.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f434241305089942e7df5579e81137624c3ae0ef)
2022-01-04 17:51:57 -05:00
hondacrx 96e750cdfb Scripts/Commands: Cleanup some output from .go instance
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7e7c52c1a4ae79e049354d6ab406dfaad80d309)
2022-01-04 17:43:31 -05:00
hondacrx 97ce4d6db7 Misc fixes and missed stuff. 2022-01-04 17:37:55 -05:00
hondacrx 75d3497d38 Core/Chat: Custom channel preservation rewrite. Channel data is now loaded at startup, and written to the DB periodically, instead of both things happening in real time.
Port From (https://github.com/TrinityCore/TrinityCore/commit/8839fa3fe24e72e4506e94389663b82ab2292649)
2022-01-02 13:44:00 -05:00
hondacrx 278cac8bec Scripts/Commands: Adjust .list respawns to use enum iteration. Add enum iteration capability to SpawnObjectTypes.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e270351a16702fabedc8651afe6030d12792fdbe)
2022-01-01 15:49:43 -05:00
hondacrx 14af911702 Core/Chat: Properly reload saved channel settings from DB
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd7aae928e699adba63c0a14661cffeb5fdf8b3b)
2022-01-01 15:21:17 -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 12f472cee1 Core/Chat: Rewrite some custom channel handling. Channel creation now properly saves passwords.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea753efb9370455979c8af8ebaafa734b77d6052)
2021-12-27 17:23:39 -05:00
hondacrx cba0f64c2d Scripts/Commands: .account ban no longer fails if an account containing the specified account name is already banned (f.ex. attempting to ban 'test' if 'test2' is already banned)
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4b581de1b9d2fd6afef02d1734e69b3ce6a8e63)
2021-12-27 16:59:14 -05:00
hondacrx 30d198cfbd Scripts/Commands: update .wp commands to use orientation field from DB
Port From (https://github.com/TrinityCore/TrinityCore/commit/61cc88731c8941289352a1aaa6410bc3dce83faa)
2021-12-27 16:41:32 -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 6d73a59f63 Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender
Port From (https://github.com/TrinityCore/TrinityCore/commit/27886c7f5d6cfc221ea67aab210f96859d725e05)
2021-12-26 19:51:26 -05:00
hondacrx 8694a2ae24 Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list).
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e55f10899712435102764671241b94a2026599)
2021-12-23 20:00:45 -05:00
hondacrx b4febb11c8 Core/Object: Range check, Needs tested.
Port From (https://github.com/TrinityCore/TrinityCore/commit/b717603a9b3a676e800fc401f4544735287791a9)
2021-12-01 22:57:42 -05:00
hondacrx 36f037db38 Scripts/Commands: add some missing checks for .guild create command
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2c0f6d32113c8ff42760c389826bad80ce77815)
2021-12-01 20:50:03 -05:00
hondacrx 0160ab92a5 Misc fixes 2021-11-23 22:58:50 -05:00
hondacrx 3e31601ba5 Core/Commands: Don't re-add active quests with ".quest add" command
Port From (https://github.com/TrinityCore/TrinityCore/commit/97401a29972bc2a4313c78a2cfdb2bac9becc5cd)
2021-11-23 22:55:20 -05:00
hondacrx ba72792783 Commands: lookup player shows which character is online
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-11-23 22:39:20 -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