Changes between Version 17 and Version 24 of Ticket #3556


Ignore:
Timestamp:
May 9, 2021, 3:05:13 PM (3 years ago)
Author:
wraitii
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3556 – Description

    v17 v24  
    1616----
    1717== '''Roadmap:''' ==
    18  ~~ 1. Implement & commit '''basic functions'''~~
    19  ~~   * Only '''one host per instance'''~~
    20  ~~   * Use '''chat commands''' instead of gui (similar to scythewirlers autohost implementation #3419)~~
    21  ~~   * '''No client-side changes''' required (bugs can't affect regular hosting/joining)~~
    22   (Skipped to avoid adding code which would have to be removed later)
    2318
    24  2. Implement '''gamesetup UI changes'''
    25    * Allow either the first or everyone to '''control the gamesettings''' (#3806)
    26    * If there are serious bugs, we could revert to 1
     19Done:
     20 - the 'Controller' of a game is determined by a secret, so it could be assigned dynamically (r24952)
     21 - hosting can be done on different ports (#3575)
     22 - can host with one account under multiple JIDs (r25407), so a single 'wfg' account can provide the games.
    2723
    28  3. Implement '''hosting on different ports''' (done in #3575)
    29    * '''Requirement''' for Wildfire Games being able to host multiple games simultaneously on a single machine
    30    * To '''prevent abuse''' (in case of attacks on users IP-addresses), hosting games by unauthorized users could be prohibited.
    31    * Optional: '''Trusted hosts''' (authorized lobby accounts) could be able to advertize more than one game at a time.
    32 
    33  4. '''Lobby changes'''
    34    * New button "Wildfire-Games Host"
    35     * XPartaMupp will spawn (at most) 1 gameserver per user
    36     * The user will join this game and become a moderator of it
     24TODO:
     25- The whole "spin a 0 A.D. instance, get the access, send the game report, close the 0 A.D. instance" needs to be implemented.
     26  - Starting a new dedicated game could probably be done via an external bot that starts a pyrogenesis executable with appropriate CLI arguments, auto connecting to lobby with a given secret (that the requester knows) so the requester can join-as-host. This would advertise the lobby game.
     27  - How to send the game report & finish the game needs to be determined.
     28  - that bot needs coding.