Skip to content

Dedicated Server Development Notes

Meru edited this page Nov 29, 2019 · 1 revision

Introduction

As of 0.4.4 the mod only allows the server to be started from inside the game. The goal is to split this out so that it can be run from a separate process.

The server code and client code are somewhat entangled

  • Several classes harbor code for both client and server. In many cases these classes are operating on both the client and the server in the same method; these will need to be split apart from one another.
  • Much of the application code is scoped in unusual places (for example the code that starts the server is found in the ClientUtil file). Much of this ought to be rearranged sometime to simplify the code.
  • The Standalone Server can't call any methods that are a part of the RimWorld assemblies. That means that any methods/packages in the RimWorld or Verse namespaces are off-limits.
Clone this wiki locally