* Bump Harmony version
* Add command category support
* Switch usage to unpatch all, split register commands from patch with Harmony
* Move instantiation of command handler dictionary to declaration
* Remove deferred command registration
* Revert build output changes
* Move mod listing to end of startup
* Add mod support
* Change .NET Core 3.1 to .NET 6 for DatLoader.Tests to remove dependency.
* Add default mod path
* Attempt to create missing mod folder
* Update Source/ACE.Server/Mods/ModManager.cs
Co-authored-by: gmriggs <gmriggs@gmail.com>
* Use pre-release Harmony
---------
Co-authored-by: gmriggs <gmriggs@gmail.com>
* Fix for sentinel/envoy access level
* Update PropertyBool.cs
* enable IsSentinel flag for Envoy users, because IsEnvoy is not recognized by the client
Co-authored-by: Ty Conner <tyconner@itcproductions.com>
Allowed console commands to start with "/" or "@". Would previously respond with "Invalid Command" if the command started with a "/" or "@". Also allows commands to be used consistent with the "acecommands" output.
improved session termination and logging
improved command parameter parsing
session termination due to network problems should not be sending anything
refactor session termination terminology
moved textual session termination reasons to the same file as the termination reasons enum
added optional reason to boot command
boot axe man, char, griefing and spamming chat
boot 0x5000000C, iid
boot 1342177292, iid
* Add Shard biota count to serverstatus
* Remove unneeded null check in Session.cs
* Progress
Remove Player.InWorld. This was only used for command manager, instead, we can check if CurrentLanblock != null
Improve Player.SaveToDatabase() processes
Add PlayerManager.ProcessDeletedPlayer stub
Reduce Player.EnqueueLogout code
* More Player Logout, Save and Session Drop progress
* fix admin boot command
* More cleanup
* Player_Inventory GetPickupItem() should not return error when item not found. Changed to debug
There were a ton of commands that worked both on the console, and from a player session.
These commands had conditions like the following to determine if the output should be sent to the console or to the sesion:
if (session != null)
sendToSession()
else
SendToConsole()
CommandHandlerHelper cleans up this.
In addition, there were places in the code that were doing Console.WriteLine that should have been using the logger instead.
* Update the 'accountcreate' command from Console only to Console and Game.
* Fixed an issue where if the command had parameters and spaces were passed in it could crash the server. @setvital with three spaces and then a number would crash the server. @accountcreate with five spaces and then a 5 would create an admin account with <space> as the user and the PW.
* Removed unused using statements
* Removed redudnant ToString()'s
* Removed some redundant type casts
* Removed redundant bool comparisons
* remove redundant initializers
* xml summary in invalid place switched to comments
* Use string interpolation
* use format separators
* Removed redundant parenths
* remove redundant else
* direct cast when safe
* redundant string interpolation
* xml summary fixes
* removed empty ctors
* fix modifier order
* Convert to auto property
* Convert some getters to method bodies
* use format separators
* changelog
* Auto-properties that can made to get-only
* fixed some references in XML comments
* remove redundant base()
* Revert "Auto-properties that can made to get-only"
This reverts commit 32a1225ce8.
* fix starter gear json
* Use collections count property
* simplify conditional ternary expression
* remove redundant return statements
* Constructors for abstract classes changed to protected
* Moved declarations to inner scopes
* Join declaration and assignments
* inline out variables
* Use enum extension methods instead of static methods
* inline out more variables
* more unused usings
* Remove specifying enums as ints