Code Monkey home page Code Monkey logo

ows's Introduction


SabreDartStudios

Open World Server (OWS)

Join Discord

Open World Server (OWS) is a server instance manager designed to create large worlds in UE4. Either by stitching together multiple UE4 maps or by splitting a single large map into multiple zones, OWS will spin up and shut down server instances as needed based on your world population. OWS can load balance your world across multiple hardware devices. OWS can support thousands of players in the same world by instancing up and out. A single zone can be instanced multiple times to support a large population in one area. Areas of a map can also be split up into multiple zones to support a larger population. In addition to server instance management, OWS also handles persistence for Accounts, Characters, Abilities, Inventory and more.

Projects

  • OWS Benchmarks - This project will allow us to configure and run performance testing on the OWS API. This will be important for comparing the impact of certain changes.
  • OWS Character Persistence - The Character Persistence API will be responsible for storing our player characters and all related data.
  • OWS Data - This is a shared project that houses our data repository access code.
  • OWS External Login Providers - This project contains code for integrating with external login providers such as Xsolla, Google, Facebook, etc.
  • OWS Instance Launcher - This project builds our Instance Launcher that replaces the RPG World Server in OWS 1.
  • OWS Instance Management - This API manages Zone Instances and the OWS Instance Launchers.
  • OWS Public API - This API handles all API calls that come directly from player clients such as registration, login, and connecting to the game.
  • OWS Shared - This project houses various miscellaneous code that multiple other projects require.

Additional Files Needed (not required for the Docker version of OWS)

Contributing

Windows Server Setup Instructions (These instructions are not complete)

  • Install Erlang (https://www.erlang.org/downloads) - must be a version your RabbitMQ version supports
  • Install RabbitMQ (https://www.rabbitmq.com/install-windows.html)
  • Enable the RabbitMQ Admin Web Console - rabbitmq-plugins enable rabbitmq_management
  • Open the RabbitMQ Admin Web Console - http://localhost:15672/ - Login as guest / guest
  • Create a new RabbitMQ User and give the user access to /
  • Put those credentials in appsettings.json for the OWSInstanceLauncher
  • Install IIS (from your Windows media)
  • Install the .NET Core 3.1 Web Hosting Bundle - https://dotnet.microsoft.com/download/dotnet/3.1 - Windows Hosting Bundle link
  • Create the folder in C:\inetpub\sites\OWSPublicAPI
  • Create the folder in C:\inetpub\sites\OWSInstanceManagement

Docker Setup Instructions (Beta)

Requirements

Windows

  1. Download and Install Docker Desktop For Windows

  2. Open OWS Project in Visual Studio 2019 Community

  3. Select Docker Compose startup project and Launch Docker Compose.

    docker-compose-windows

  4. (Optional) Running Docker Compose without Visual Studio Debugger, Enter the following Command Prompt from the OWS root directory.

    docker-compose -f docker-compose.yml -f docker-compose.override.windows.yml up -d
    
  5. Open SQL Server Management Studio and connect to localhost with sa / yourStrong(!)Password

  6. Run the following SQL statment against the Open World Server database. Be sure to replace the values CustomerName, FirstName, LastName, Email, and Password.

    EXEC [dbo].[AddNewCustomer] 'CustomerName', 'FirstName', 'LastName', 'Email', 'Password'
    
  7. Run the following SQL statment against the Open World Server database to get your API key. Save this for later.

    SELECT TOP 1 CustomerGUID FROM Customers
    
  8. Run the following SQL statment against the Open World Server database to add your local PC as a World Server. Replace [CustomerGUID] with the API key from the previous step.

    INSERT INTO WorldServers (CustomerGUID, ServerIP, MaxNumberOfInstances, ActiveStartTime, Port, ServerStatus, InternalServerIP, StartingMapInstancePort)
    VALUES ([CustomerGUID], '127.0.0.1', 10, NULL, '8081', 0, '127.0.0.1', '7778')
    

OSX

  1. Download and Install Docker Desktop For Mac

  2. Open OWS Project in Visual Studio For Mac

  3. Run the following command in an terminal to install the Development Certificates

    dotnet dev-certs https --trust
    
  4. Select Docker Compose startup project and Launch Docker Compose.

    docker-compose-osx

  5. (Optional) Running Docker Compose without Visual Studio Debugger, Run the following command in an terminal from the OWS root directory.

    docker-compose -f docker-compose.yml -f docker-compose.override.osx.yml up -d
    

Linux

  1. Download and Install Docker Engine For Linux
  2. Close all Web Browsers
  3. Download and Run dotnet-dev-certificate-linux to install Development HTTPS Certificate.
  4. Run the following command in an terminal from the OWS root directory.
    sudo docker-compose -f docker-compose.yml -f docker-compose.override.linux.yml up -d
    

ows's People

Contributors

sloppyshovel avatar dartanlla avatar laythros avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.