Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Dedicated Server/Session #19

Open
tindolt-zz opened this issue Apr 5, 2019 · 4 comments
Open

Dedicated Server/Session #19

tindolt-zz opened this issue Apr 5, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@tindolt-zz
Copy link
Contributor

Can we get some dedicated stuff that will be hopefully better on desyncs?

@mattthewaz
Copy link
Collaborator

I'm interested in researching this, but I encourage others who are interested to do so as well.

@MilanDierick MilanDierick added the enhancement New feature or request label Apr 5, 2019
@MilanDierick
Copy link
Contributor

This won't be included in the next release, we are going to focus on fixing up the vanilla experience first. This will be added on the road map though, since dedicated software should really help with larger player counts.

@MilanDierick MilanDierick added this to the Backlog milestone Apr 5, 2019
@mattthewaz
Copy link
Collaborator

I have started a branch on my fork for this project. At this point this project is for research purposes. I'm hoping to learn what limitations will get in our way by putting in an appropriate framework for running the server in a standalone application.

I'll be handling this in steps:

  • Read in ServerSettings from ini file. This will cover all the options a Host can select on the HostWindow. It will try to be be useful to the person running it by informing them if there were issues reading in the file (missing file, missing property, etc.)
  • Create and display a listing of Replays, Saves and Autosaves, and allow user to select a file (or quit)
  • Take the information accumulated so far (ServerSettings and SaveFile) and start the MultiplayerServer on a new thread.
  • Enter a loop on the main thread that listens for console commands. For simplicity's sake, this will behave exactly like when a user types a command into chat. Will add additional commands if need be to support saving full replays or quitting.

So far I've completed the initial implementation of the first step. See https://github.com/mattthewaz/Multiplayer-1/tree/dedicatedServer

@tindolt-zz tindolt-zz self-assigned this Apr 13, 2019
@tindolt-zz tindolt-zz added the help wanted Extra attention is needed label Apr 13, 2019
@rmgr
Copy link

rmgr commented Jun 13, 2019

I've been thinking about how this could work. I'm sure there are terrible repercussions I haven't thought about but what about instead of reverse engineering the entire game to run the simulation, the server acts as a gateway which uses the first person to join as the "host". Otherwise wouldn't you basically need a working copy of the game to host a dedicated server?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants