Highly Performant & Scalable Ultima Online Server Emulator https://www.modernuo.com
Find a file
Kamron Batman d070efeab3
fix(houses): Converts house packets (1 of 2) (#502)
- [X] Adds `ToSpan()` for SpanWriter.
- [X] Moves house files to UOContent/Multis/Houses
- [X] Adds house packets

### SpanWriter.ToSpan()
`ToSpan()` returns an `SpanOwner` struct which allows access to the buffer as a Span by calling `Span`.

Example:
```cs
public SpanOwner CreatePacket()
{
  var writer = new SpanWriter(0x400);
  // write some stuff
  return writer.ToSpan();
}
```
In this example, we are creating a packet and returning the `SpanOwner` for caching. This means in the future we can do something like this:
```cs
ns.Send(_cachedPacket.Span);
```
Where `_cachedPacket` is the `SpanOwner`

Notes:
Do not use a SpanWriter, or attempt to dispose of it after calling `ToSpan()`. Doing so will probably cause an NPE.
2021-02-13 09:18:12 -08:00
.github fix(workflow): Fixes wrong branch (#505) 2021-02-09 10:32:39 -08:00
Distribution/Data fix(shrink): Changes shrink table to use json (#446) 2021-02-03 16:58:50 -08:00
docs docs: Fixes embed images for modernuo.com (#334) 2020-12-07 09:52:03 -08:00
Projects fix(houses): Converts house packets (1 of 2) (#502) 2021-02-13 09:18:12 -08:00
.editorconfig Adds ModernUO docs skeleton (#243) 2020-09-13 15:21:28 -07:00
.gitattributes fix(git): Updates git attributes (#477) 2021-02-06 21:15:29 -08:00
.gitignore fix(core): Adds IPv6 support (#348) 2020-12-19 00:27:39 -08:00
azure-pipelines.yml fix(releases): Updates releases (#478) 2021-02-07 09:09:50 -08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2020-05-05 08:51:39 -07:00
CONTRIBUTING.md chore: Updates discord links (#394) 2021-01-07 01:04:05 -08:00
Directory.Build.props fix: Reverts GitVersioning (#435) 2021-01-29 01:42:37 -08:00
FAQ.md Fixes more line ending issues (#267) 2020-09-27 13:54:56 -07:00
GOALS.md Updates to .NET Core 3.1 & Cleanup (#79) 2020-01-19 12:47:34 -08:00
LICENSE Fixes more line ending issues (#267) 2020-09-27 13:54:56 -07:00
mkdocs.yml Creates quick start (#254) 2020-09-15 19:46:10 -07:00
ModernUO.sln Adds back in old benchmarks. Cleans up tests. (#270) 2020-10-04 11:45:07 -07:00
publish.cmd fix(releases): Updates release flow. Fixes windows builds (#482) 2021-02-07 23:30:11 -08:00
publish.sh Release Version 0.6.1 (#205) 2020-08-30 23:15:47 -07:00
README.md fix(docs): Adds sponsor page (#420) 2021-01-18 14:54:58 -08:00
rider-settings.zip Cleanup/Housekeeping (#242) 2020-09-12 15:31:21 -07:00
Rules.ruleset Cleanup & Fixes for .NET 5 (#309) 2020-11-15 10:03:50 -08:00
RUNUO_MIGRATIONS.md Fixes more line ending issues (#267) 2020-09-27 13:54:56 -07:00
SPONSORS.md fix(docs): Adds sponsor page (#420) 2021-01-18 14:54:58 -08:00
stylecop.json Updates formatting rules (#199) 2020-08-25 18:00:51 -07:00
THIRD-PARTY-NOTICES chore: Updates 3rd party notices (#393) 2021-01-07 00:58:34 -08:00
version.json Fixes NBGV & Adds Big Sur to CI/CD (#317) 2020-11-17 13:02:51 -08:00

ModernUO Discord Subreddit subscribers Twitter Follow Gitter

Ultima Online Server Emulator for the modern era!

.NET
Windows OSX Debian Ubuntu CentOS
GitHub license GitHub stars GitHub issues
GitHub build AzurePipelines build

Building the server

Requirements

Publishing Builds

  • Using terminal or powershell: ./publish.cmd [release|debug (default: release)] [os]
    • os - Supported operating systems
      • win - Windows 8.1/10/2016/2019
      • osx - MacOS 10.13+/11.0 (High Sierra, Mojave, Catalina, & Big Sur)
      • ubuntu.16.04, ubuntu.18.04 ubuntu.20.04 - Ubuntu LTS
      • debian.9, debian.10 - Debian
      • centos.7, centos.8 - CentOS
      • If blank, the operating system running the build is used

Deploying / Running Server

  • Follow the publish instructions
  • Copy Distribution directory to the production server

Requirements

Running

  • dotnet ModernUO.dll

Cleaning

  • dotnet clean

Thanks

  • RunUO Team & Community
  • ServUO Team & Community
  • Karasho, Jaedan and the ClassicUO Community

Troubleshooting / FAQ

Want to sponsor?

Thank you for supporting us! You can find out how by visiting the sponsors page.



Development Tools provided with ♥ by