Opened 9 years ago

Last modified 3 years ago

#3556 new enhancement

Dedicated server — at Initial Version

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Network Keywords: patch, beta
Cc: andy011973@…, Victor ADASCALITEI Patch:

Description

It would be awesome if we could run dedicated hosts for lobby games, i.e.

  • from command line
  • without a graphical interface running
  • without a local player/observer client joining the game (thus not needing to simulate the game)

Thus

=> no performance requirements => regular servers might be used to autohost => many games could be hosted on a single machine (using multiple UDP ports), thus ssentially solving the lack of hosts (#2305) => will be the non-graphical alternative to #3419 => servers might be patched to prevent developer-overlay cheats and automatically kick or ban hackers from the game and lobby (see #3241 and #3552)

The first client to join will be the "host" of the match, i.e. the player to setup the game. This could instead reuse the same gamesetup-communication that scythewhirlers autohost uses (players can send commands to set the civs, teams etc.).

See implodedok and Philipp`s comments about dedicated hosts in IRC on october 24th.

Only authorized lobby accounts should be able to advertize more than one game simultanously.

Change History (3)

by elexis, 9 years ago

Proof of concept. Server running and chat working. Still opens an unused window and has no features besides chat yet.

by elexis, 9 years ago

No more useless windows, only command line. Takes a fraction of a second to start. Changed to class structure.

Note: See TracTickets for help on using tickets.