Skip to content

Question: Is synchronous play (Mode.PLAYER) possible in netgames? #417

@mhe500

Description

@mhe500

Is it possible to play multiplayer games in fully synchronous mode?

The examples imply that Mode.ASYNC_PLAYER is necessary. In my experience the game will lock up and end up eating 100% CPU in d_net.cpp:TryRunTics() (at "wait for new tics if needed"). From the code it appears there was an attempt to make this work ("if(*viz_controlled && !*viz_async && netgame){...").

My question is whether or not this is possible or anyone has made it work? I've worked through my own code and believe I am stepping/resetting all my environments in lockstep and this does work for some number of tics, but then freezes.

Thank you!
mhe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions