Skip to content
dol-leodagan edited this page Sep 28, 2015 · 3 revisions

Gamer Server Scripts (with Super Powers)

Game Server Scripts is the mechanism we use in DOL Server for Dynamically Compiled Modules, relying on C# compiler to gather source files in server's script directory and build a binary DLL without using a Development tool chain.

You should find the base ./scripts directory at root path of your DOL Server Setup, already containing some dynamically loaded C# scripts that extends "Core" capabilities with Startup Behavior or other Database Migration if needed.

DOL Server can rely on Attribute Searching to automatically load external resources from Game Server Scripts and add in-game features without any changes to Server "Core" classes.

Any time you want to modify or add some features to your own Game Server you should try to build your changes into a Game Server Scripts module, to allow easier distribution and keep in sync with DOL Revision Repository for easier update merges.

Attributes

To prevent modifying "Core" classes, each time a new Module is imported to Game Server Scripts, DOL Server use Attributes to discover and reference new classes or methods in external resources.

List of Attributes Handlers