FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    1. Home
    2. IamFromRussia
    I
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 0

    IamFromRussia

    @IamFromRussia

    2
    Reputation
    2
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    IamFromRussia Unfollow Follow

    Best posts made by IamFromRussia

    • Private coturn server for my games.

      Hello, hello everyone!
      I don't know the FAF ecosystem very well. But why can't a central server be used for games? Why is the concept of "Coturn Servers" used with connections to each player instead of a single game server?
      I am experienced Java Developer with 6+ years of Java-based enterprise application. I'm interested to know what problems prevent us from moving to a client-server architecture.

      Please take a look at the diagram below and indicate the problems with this implementation:
      alt text

      The diagram is in better quality: https://drive.google.com/file/d/17jnYO3a58oMZonGRF6Q7PKkCtLwqhsxq/view?usp=drive_link

      posted in General Discussion
      I
      IamFromRussia

    Latest posts made by IamFromRussia

    • RE: Private coturn server for my games.

      @surfer said in Private coturn server for my games.:

      As for single game server, that should improve connectivity, theoretically.
      For example in 8v8 the total connection count is 49 (7 per player), with single server its only 7 (1 per player).

      I still can't understand, does it make sense to combine binary traffic? If it's such a difficult task, is it worth spending time on? I'm not an expert in network programming, but isn't UDP a connectionless protocol https://docs.oracle.com/cd/E19620-01/805-4041/6j3r8iu2f/index.html ?
      Is there a difference whether the client will receive information on one port, on 16 or on 16,000 ports that the server listens on in case of UDP connection?

      posted in General Discussion
      I
      IamFromRussia
    • RE: Private coturn server for my games.

      @surfer said in Private coturn server for my games.:

      Please, state cleary what is the point?

      We usually play in a small group of 4-5 people. When I say: "Let's try to play 8vs8." I usually get the answer: "We'll wait a long time for the game, and then we'll still leave because of the lags."
      If I could say something like: "I have my own private server and there will be no lag" That would be a strong argument.

      If FAF has the ability to register your own server in the client through which traffic would pass instead of a P2P connection.

      If a person who has registered his own relay server creates a game, then everyone who connects to this game will redirect their traffic to the relay server.

      If this is a high-quality VPS with a static IP, then the connection will be more stable.

      As an option, you can send an excessive number of UDP packets to the server, for example, send two duplicates for each packet, which will increase the probability of reception on the player's side and remove duplicates in ICE. But here I am not sure about the possibility of implementing this. https://gafferongames.com/post/deterministic_lockstep/ (Yes, this is much more complicated than a simple Relay server)

      This is a very brief description of the feature, so please don't beat me up XD

      posted in General Discussion
      I
      IamFromRussia
    • RE: Private coturn server for my games.

      @brutus5000 said in Private coturn server for my games.:

      In theory you could try to reverse engineer the binary network protocol and remux the streams that some intermediate software merges outgoing traffic into 1 connection and splits up incoming traffic into "per player" traffic.

      @Surfer @Brutus5000 Why do we need to reverse engineer the binary protocol? Do we need to know what's inside the binary data stream? Why can't we work with binary stream packets like black boxes? Just passing them on without understanding what's inside.

      posted in General Discussion
      I
      IamFromRussia
    • RE: Private coturn server for my games.

      @brutus5000 If we know so little about the data protocol, how do you get information about the game starting/ending? How do you get messages from the chat?

      If it's not too much trouble, send the discord of the modder who is trying to do this )

      posted in General Discussion
      I
      IamFromRussia
    • Private coturn server for my games.

      Hello, hello everyone!
      I don't know the FAF ecosystem very well. But why can't a central server be used for games? Why is the concept of "Coturn Servers" used with connections to each player instead of a single game server?
      I am experienced Java Developer with 6+ years of Java-based enterprise application. I'm interested to know what problems prevent us from moving to a client-server architecture.

      Please take a look at the diagram below and indicate the problems with this implementation:
      alt text

      The diagram is in better quality: https://drive.google.com/file/d/17jnYO3a58oMZonGRF6Q7PKkCtLwqhsxq/view?usp=drive_link

      posted in General Discussion
      I
      IamFromRussia