relayhosts & spring-dedicated

relayhosts & spring-dedicated

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
ThinkSome
Posts: 288
Joined: 14 Jun 2015, 13:36

relayhosts & spring-dedicated

Post by ThinkSome » 26 Sep 2019, 01:12

There is a major usability problem in that newbies are, for various reasons, unable to host a game themselves (or rather, they technically can host, but no-one can connect to them).

Relayhost was supposed to be a solution for this, but its usability was severely diminished by the migration to a multi-engine-version lobby with the final, and fatal, punch delivered by the lobby/server changes a year ago.


Questions:
- Does spring-dedicated really depend on having the map present locally to be able to host? (and why)
- Does spring-dedicated really depend on having the game present locally to be able to host? (and why)
- Does spring-dedicated really have to match the version of spring used by the battle participants? (and why)

Ideally, we could have a generic, engine-independent, relay server. What would be necessary to make this happen?
2 x

Kloot
Spring Developer
Posts: 1865
Joined: 08 Oct 2006, 16:58

Re: relayhosts & spring-dedicated

Post by Kloot » 28 Sep 2019, 12:20

- no
- no
- no, it has to match the network protocol version which changes once in a blue moon

Full engine-independence will never be possible.
0 x

User avatar
ThinkSome
Posts: 288
Joined: 14 Jun 2015, 13:36

Re: relayhosts & spring-dedicated

Post by ThinkSome » 28 Sep 2019, 13:24

Never say never.

Is this network protocol documented somewhere?
0 x

User avatar
Silentwings
Moderator
Posts: 3586
Joined: 25 Oct 2008, 00:23

Re: relayhosts & spring-dedicated

Post by Silentwings » 28 Sep 2019, 20:54

I'm confident on never. Afaik no documentation of the engine network stuff exists outside of the source. If you actually intend doing anything, seems clear that you can just start with a fork of spring and try to remove stuff from spring-dedicated.
0 x

MasterBel
Posts: 159
Joined: 18 Mar 2018, 07:48

Re: relayhosts & spring-dedicated

Post by MasterBel » 29 Sep 2019, 11:10

From what I gather, the only reason you can't is because the current setup doesn't allow for it? Or, well, never being "I think no one's silly enough to try"? (Spoiler: I quite possibly am).

Why do you say never, what am I missing? What would be necessary (however difficult?)

Positives are always better than negatives :)

Could the component that handles the network stuff be extracted to a library which Spring could import, and also the autohosts, to make handling this simpler? Could mean that engine version would no longer be tied to protocol version… which may bring some benefits (even if most/all of those benefits may be negligible)
0 x

User avatar
ThinkSome
Posts: 288
Joined: 14 Jun 2015, 13:36

Re: relayhosts & spring-dedicated

Post by ThinkSome » 02 Oct 2019, 01:17

For now the option to use relayhosts will be hidden by default.

Since whatever happens would probably be new development, I think we can return back to the drawing board and ask ourselves what we want from it. I think that building it to be Spring-specific will again land us into the same situation we have now, just postponed for 5-10 years.

All game engines are similar in many ways and this protocol, along with the lobby client, can certainly be generalised for >>95% of them.
0 x

Post Reply

Return to “Engine”