Commit graph

19 commits

Author SHA1 Message Date
aquafir
918aa66d9b
Command categories and Harmony bump (#4144)
* 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
2024-04-05 13:03:49 -04:00
aquafir
23a7a41a04
Add mod support (#3948)
* 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>
2023-05-25 22:15:41 -04:00
FlaggAC
ec9b698b71
Fix for sentinel/envoy access level [#3034] (#3035)
* 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>
2020-06-23 14:48:54 -04:00
OptimShi
7661da0a93
Made console commands consistent with in-game (#2993)
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.
2020-05-23 10:33:39 -07:00
Ty Conner
3e30c33540
Minor docker related changes (#2887)
* Update docker-compose.arm64

* Update .dockerignore

* Updates
2020-04-05 22:03:45 -04:00
Ty Conner
3c5a7d18d2
Support ARM64 (RPI4 4gb - Ubuntu x64) (#2853)
* Support ARM64 (RPI4 4gb - Ubuntu x64)

* Update appveyor.yml
2020-03-24 00:58:12 -04:00
Ty Conner
7756bbb291
Dockerize ACE (#2751)
* Prep repo for v1.1 release

* Create Dockerfile

* Create .dockerignore

* Create docker.env

* Create docker-compose.yml

* Create Config.js.docker

* Create log4net.config.docker

* Docker support

* Update Dockerfile

* Update docker-compose.yml

* Update .gitignore

* Support config persistence across docker containers

* Update .gitignore

* Update Dockerfile

* Update Dockerfile

* appveyor changes

* Update AppVeyorBeforePackage.bat

* .

* Update docker.env

* Update Program.cs

* Update appveyor.yml
2020-03-02 04:24:47 -05:00
Mag-nus
56d1cdfc2e
Convert Envoy use to Sentinel (#2063)
This is just the first pass. More orgnization and work needs to be done to the entire AccessLevel and CommandManager system in the future.
2019-06-30 19:50:06 -05:00
Mag-nus
123b0dae20
Fix CommandParser for Multiple Encapsulated Arguments (#2048)
Fixes for things like
/command "Param1" "Param 2"
2019-06-26 06:40:10 -05:00
fartwhif
ce2b010e69
session termination and boot command enhancement (#1653)
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
2019-04-12 18:07:45 -04:00
OptimShi
2dd510ca05 Dat update (#1509)
* WIP

* Updated changelog

* Update changelog.md
2019-03-09 19:51:03 -06:00
fartwhif
1a7ee85e74 various fixes (#1155)
* fixed blank commands crashing server

* command parser and invoke resiliency

* revert log change
2018-12-19 12:07:18 -06:00
Mag-nus
17ac4db713
Fix player logout, save, and session drop flows (#1119)
* 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
2018-12-08 21:24:55 -06:00
Mag-nus
3232074f90
CommandHandlerHelper (Yum!) Added (#1027)
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.
2018-09-24 07:04:58 -05:00
Riaf
68daf80dbc Update the 'accountcreate' command from Console only to Console and G… (#963)
* 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.
2018-08-21 05:39:34 -04:00
Mag-nus
8e0ee768f0 Give the Thread()'s actual names. This helps with debugging. 2018-03-22 09:00:54 -05:00
Ty Conner
dc84ece4d4 Adding AdvocateFane + AdvocateItem, supporting changes in other classes. 2018-03-18 04:10:33 -04:00
Mag-nus
99fb8bcc55
All this does is cleanup a bunch of style issues that Resharper complains about (#629)
* 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
2018-02-09 06:46:49 -06:00
Mag-nus
7e256a7fb3
ACE prj to ACE.Server rename (#628)
* ACE.DatLoader renames PositionNew to Position

* Remove comment

* ACE.DatLoader DatDatabase I prefer this type instead.

* Unused references removed

* namespace fixes

* ACE prj to ACE.Server rename

* Appveyor fix I think

* Changelog

* appveyor fixes

* Update AccountTests.cs

* Update ConstructedStatementTests.cs

* Update WeenieSearchTests.cs

* ACE.Tests -> ACE.Server.Tests

* Appvyeor
2018-02-08 17:05:02 -06:00
Renamed from Source/ACE/Command/CommandManager.cs (Browse further)