Treeston
2319a99d87
[3.3.5] Scripts/Commands: .learn adjustments (PR #25454 )
...
(cherry picked from commit cc8287927b )
2022-03-01 22:48:06 +01:00
Gildor
503ac5556d
Script/Commands: .character changeaccount now disconnects player before transferring (PR #25560 )
...
(cherry picked from commit b70314b075 )
2022-02-28 21:34:39 +01:00
jackpoz
e7fc68d74b
Core/Commands: Enable .debug loadcells on console and allow to load a specific tile
...
Specify the tile as XY. Note that this is not Grid XY
(cherry picked from commit 6f6cec89e5 )
2022-02-28 12:18:19 +01:00
jackpoz
f3787c6559
Core/Commands: Fix typo in .mmap loc command
...
The displayed "tileloc" value is a "swapped" Tile XY, not to be confused with Grid XY.
(cherry picked from commit 34af088c9b )
2022-02-28 12:09:19 +01:00
Treeston
525dabc377
whitespace to make CI happy, 7bf9a06 follow-up
...
(cherry picked from commit 837e32fe11 )
2022-02-27 23:53:33 +01:00
Treeston
150f108174
Scripts/Commands: Fix a potential crash in cs_account.cpp
...
(cherry picked from commit 7bf9a0640e )
2022-02-27 23:53:16 +01:00
Treeston
167a2c5da9
Scripts/ChatCommands: Rename 'lookup itemset' to 'lookup item set' to remove ambiguity.
...
(cherry picked from commit f45600fb2e )
2022-02-27 23:41:55 +01:00
Treeston
6439aefa42
Scripts/Commands: Move .account to trinity_string
...
(cherry picked from commit 899932a275 )
2022-02-27 23:15:02 +01:00
Treeston
5e013a9996
Core/ChatCommands: Add trinity_string support for chat command help
...
(cherry picked from commit 26c510775c )
2022-02-27 21:23:11 +01:00
Treeston
106c9b7541
Scripts/Commands: Rename .additemset to .additem set to avoid ambiguity
...
(cherry picked from commit e11b466897 )
2022-02-27 21:03:20 +01:00
Treeston
46d4e2fa83
1eca51b follow-up, nuke command.permission from orbit; it was only duplicating data already stored in the core.
...
(cherry picked from commit 991dc8e050 )
2022-02-27 20:59:19 +01:00
Treeston
3fd2eb126c
[3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463 )
...
(cherry picked from commit 1eca51b417 )
2022-02-27 20:08:41 +01:00
Giacomo Pozzoni
d02ee9de37
Script/Commands: Add ".pdump copy" command ( #25455 )
...
* Script/Commands: Add ".pdump copy" command
Syntax: .pdump copy $playerNameOrGUID $account [$newname] [$newguid]
Copy character with name/guid $playerNameOrGUID into character list of $account with $newname, with first free or $newguid guid.
* Add missing return
* Restore eof check
* Fix sql
* Use forward declaration header
Co-authored-by: Shauren <shauren.trinity@gmail.com >
* Remove buffer when reading a line
* Rename sql files
Co-authored-by: Shauren <shauren.trinity@gmail.com >
(cherry picked from commit 6215da0d64 )
2022-02-27 00:28:25 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +01:00
Shauren
d057e057d3
Core/Misc: Optimize ChatCommand includes (include only where neccessary)
2022-02-11 21:57:45 +01:00
Shauren
cbcd149ce5
Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers
2022-02-11 14:33:35 +01:00
Seyden
79c6054369
Core/Objects: Use player as summoner for personal clones ( #27716 )
...
* This allows clones to properly inherit phases
2022-02-08 00:03:02 +01:00
Treeston
2aa9d9a67a
Scripts/Commands: Correct some unexpected behavior in .level
...
(cherry picked from commit d2f51569d1 )
2022-02-06 01:15:37 +01:00
Treeston
378691aaa2
[3.3.5] Core/ChatCommands: Show error messages from argument parsers (PR #25443 )
...
(cherry picked from commit 75f9e7396e )
2022-02-05 23:42:15 +01:00
Treeston
7d0586812a
Core/Misc: Fix some static analysis warnings exposed after 6b8f3d0.
...
(cherry picked from commit 59be657ca2 )
2022-02-05 23:05:14 +01:00
jackpoz
0441f3ea5e
Core/LFG: Restore ".lfg queue" command argument handling
...
(cherry picked from commit a46c835ed1 )
2022-02-05 22:59:46 +01:00
Treeston
013c9b2cb7
Core/ChatCommands: make ExactSequence more readable
...
(cherry picked from commit feaaa595ca )
2022-02-05 21:29:53 +01:00
Peter Keresztes Schmidt
bdd4ccbd78
Core/ChatCommands: Drop PlayerIdentifier's cast operators which could return nullptr (PR #25431 )
...
(cherry picked from commit 8985fc4046 )
2022-02-05 21:25:23 +01:00
Peter Keresztes Schmidt
fd41de7ce3
Scripts/Commands: Convert argument parsing of lfg commands to new system (PR #25430 )
...
(cherry picked from commit 0769d77269 )
2022-02-05 20:59:38 +01:00
Peter Keresztes Schmidt
26f3c25dae
Scripts/Commands: Convert remaining debug commands (PR #25429 )
...
(cherry picked from commit 062c55f1ab )
2022-02-05 20:50:33 +01:00
Treeston
42be7836df
Chat/Commands: Eradicate ChatHandler::extractOptFirstArg
...
(cherry picked from commit 4f636b80e4 )
2022-02-05 16:21:54 +01:00
Treeston
1e9d60b4ac
Scripts/Commands: .character command conversion
...
(cherry picked from commit 00dd337b5d )
2022-02-05 14:44:01 +01:00
Treeston
706163743d
[3.3.5] Scripts/Commands: .arena command conversion (PR #25407 )
...
(cherry picked from commit b63d655e20 )
2022-02-05 13:57:50 +01:00
Treeston
4d62cc70d6
Scripts/Commands: Convert argument parsing of .npc commands
...
(And I snuck some chat command cleanup in there, more de-cluttering!)
(cherry picked from commit 88d446dadf )
2022-02-05 00:43:55 +01:00
Treeston
6fded37e86
Scripts/Commands: Convert argument parsing of gameobject commands
...
(cherry picked from commit 35b3ba90b0 )
2022-02-05 00:24:39 +01:00
Treeston
a65e7e0213
Scripts/Commands: Fix a crash in .help - closes #25360
...
(cherry picked from commit 944f49d613 )
2022-02-04 21:21:40 +01:00
Treeston
45e9e94311
Core/ChatCommands: C++17 cleanup (again) (PR #25323 )
...
(cherry picked from commit 2f7d2ef3e9 )
2022-02-04 21:21:17 +01:00
Giacomo Pozzoni
99ee958e0a
Core/Misc: Fix issues reported by static analysis ( #25351 )
...
* Core/Misc: Fix issues reported by static analysis
* Core/Vmaps: Code cleanup after e777161888
(cherry picked from commit cfc8f7b442 )
2022-02-04 12:18:15 +01:00
Treeston
9f97fdd31a
Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327 )
...
(cherry picked from commit 534a2388b7 )
2022-02-04 00:27:14 +01:00
Treeston
be9dadc189
Common/Utilities: Centralize string -> T conversion in StringConvert.h (PR #25335 )
...
(cherry picked from commit cd30e0b86c )
2022-02-04 00:27:13 +01:00
Treeston
0473beff2b
Core/Misc: std::string -> std::string_view in a bunch of places, notably chat commands and Util.h
...
(cherry picked from commit a41bbd9ad9 )
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
1a6564f42f
Scripts/Commands: Convert argument parsing of some misc commands to new system ( #25308 )
...
* Core/Shared: Make WeatherType smart
* Scripts/Commands: Convert argument parsing of some misc commands to new system
(cherry picked from commit 5bab0e43c6 )
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
53b28572bf
Scripts/Commands: Convert argument parsing of cast commands to new system ( #25309 )
...
(cherry picked from commit cefac75a7d )
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
582b8458ea
Scripts/Commands: Fix two unreachable code issues found by PVS-studio ( #25311 )
...
(cherry picked from commit 3262ef447a )
2022-02-04 00:27:12 +01:00
Peter Keresztes Schmidt
5675d62159
Scripts/Commands: Convert argument parsing of message commands to new system ( #25305 )
...
(cherry picked from commit f17b9b20f1 )
2022-02-04 00:27:11 +01:00
Peter Keresztes Schmidt
e9209c3131
Scripts/Commands: Convert argument parsing of most list commands to new system ( #25303 )
...
(cherry picked from commit 522a4cb1a6 )
2022-02-04 00:27:11 +01:00
Peter Keresztes Schmidt
86bfde389a
Scripts/Commands: Convert argument parsing of event commands to new system (PR #25275 )
...
(cherry picked from commit 7bfeb03c13 )
2022-02-03 00:19:14 +01:00
Peter Keresztes Schmidt
3c82863c52
Core/ChatCommands: Check whether a passed numeric enum value is valid ( #25285 )
...
(cherry picked from commit 4286e7aa02 )
2022-02-03 00:18:48 +01:00
Peter Keresztes Schmidt
3ba767c438
Scripts/Commands: Convert argument parsing of gm commands to new system ( #25279 )
...
(cherry picked from commit 9c9e8c7d58 )
2022-02-03 00:10:31 +01:00
Peter Keresztes Schmidt
888d217c16
Scripts/Commands: Convert argument parsing of remaining go command to new system ( #25284 )
...
(cherry picked from commit 1aadf6c6d1 )
2022-02-03 00:08:21 +01:00
Carbenium
a773039211
Scripts/Commands: Convert argument parsing of honor commands to new system
...
(cherry picked from commit 515a34f64f )
2022-02-02 23:02:41 +01:00
Treeston
eaa3c7e5a0
Core/Warden: Add .debug warden force, allowing you to force specific warden checks to be sent
...
(cherry picked from commit f04f4e91ff )
2022-02-02 22:47:55 +01:00
Peter Keresztes Schmidt
dc5f7ee5fc
Scripts/Commands: Convert argument parsing of deserter commands to new system (PR #25276 )
...
(cherry picked from commit c952cb7f71 )
2022-02-02 22:32:46 +01:00
Peter Keresztes Schmidt
4aa1c74232
Scripts/Commands: Convert argument parsing of cheat commands to new system (PR #25277 )
...
(cherry picked from commit 4707e05938 )
2022-02-02 22:21:51 +01:00