Commit graph

10 commits

Author SHA1 Message Date
Rawaho
a1537fa846
Fixed an issue where invoking commands from the console appended line seperation characters.
This fixes being able to create an account via console.
2021-10-31 21:54:48 +13:00
Rawaho
80988f05f7
Updated servers to use .NET hosting with service (Windows and Systemd) support.
Servers now support graceful shutdown.
Reworked how console commands are parsed to allow for graceful world server shutdown.
Moved WebHost into generic host in world server.
Added some additional logging and comments to various managers.
2021-10-25 20:56:57 +13:00
Rawaho
26c68113c8 Fixed emails with upper case characters failing to authenticate. 2021-02-27 17:23:17 +13:00
MaxtorCoder
b534cef4ff
C#9 - Target Typing Improvements (#345)
* Update target typing (new type to new())

https://medium.com/swlh/an-introduction-to-the-new-features-in-c-9-305dc8fb74d2

4. Target Typing Improvements

* Remove new line

* Remove more new lines.

* Updated type targed new to var for method variables to be consistent with the rest of the code base.

Co-authored-by: Rawaho <rawahodev@gmail.com>
2021-01-30 22:41:52 +13:00
Rawaho
82944b900b
Changed the help command so that when no additional parameters are supplied a list of root commands will be shown.
Fixed formatting for command help text.
2020-05-23 17:08:29 +12:00
Rawaho
501d3c15ff Reworked command system and added RBAC based access permissions. 2020-05-22 03:11:42 +12:00
Rawaho
5e5f3584fa Replaced static managers with classes that follow the singleton pattern. 2019-11-09 22:15:14 +13:00
Jason Couture
a6d6359a28 Feature implementations and performance improvements (#52)
* Feature implementations and performance improvements
Game table speedup.
Langauge file loading suppport
Go teleport command (Requires language file, rename to lang.bin)
Added resharper style file.
Removed DI Leakage outside of ASP.NET Core. Web server startup returns IDisposable to prevent any temptation to leak it by making it more challenging to leak.
WorldSessionCommandContext updated to send command output on System channel.
Web socket command console implementation. The web page is crappy I know.
Improved command constructor to use params string[] instead of having aliases first.
Changed command logging to NLog, instead of ASP.NET Core abstractions.
Added parallel loading of game tables.
Added JSON cache to lang.bin.
Added buffered stream to improve performance when loading game tables.
Changed random implementation to use RNGCryptoService provider to generate cryptographically acceptable random data, instead of using the PRNG.

* Style cleanup.

* Build fix

* Removed performace session trash VS added.

* Style cleanup and small reworks to game tables.
2018-12-07 02:54:46 +13:00
Jason Couture
d647b92dc7 ASP.NET Core support (#34)
* Added ASP.NET Core to world server
Reworked commands in preparation for a web UI

* Added cheats, and fixed some CR/LF issues.

* Implemented help
Moved classes to namespaces based on their purpose.
Moved DI Registration of commands to CommandHandler.

* Added item module to DI (woops)
Updated help command to support help <command> instead of <command> help

* Added websocket lib reference, and WebSocket command context.

* Fixed a bug where commands requiring a session would not display help when not in game.
CommandCategories that are invoked without a sub command will display help automatically.

* Removed unncessary .NET Framework reference from world server. Project still builds with it removed.

* Style changes.
2018-12-02 16:10:58 +13:00
Rawaho
9d5c149934 Hello World. 2018-10-09 12:03:35 +13:00