TEASER SharedData and Multiplayer!

Discussion in 'News & Announcements' started by Taelyn, May 7, 2024.

  1. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    858
    Likes Received:
    1,361
    Hello Galactic Survivalists!

    The way clients download a SharedData folder is changing!
    We will be introducing a better way to handle SharedData downloads that doesn't use any dedicated server bandwidth on log in.
    Code:
    SharedDataURL: https://drive.google.com/file/d/1xxxxxxxxxxK/view?usp=sharing
    If you don't provide the new URL field then the old way is used.

    Yours,
    Eleon Game Studios team.
     
    #1
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,271
    Likes Received:
    11,932
    This is an excellent new feature that will help some servers out a lot!
     
    #2
    Vollinger and Monroe like this.
  3. Monroe

    Monroe Commander

    Joined:
    Nov 20, 2017
    Messages:
    201
    Likes Received:
    184
    Can we use this parameter now? Where is it set? gameoptions.yaml?
     
    #3
  4. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    858
    Likes Received:
    1,361
    No you cant use it till we release the next major update.
    How it works will be explained then
     
    #4
  5. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,063
    Likes Received:
    727
    It would be great if you could also remove the IP address of the server from the name of the cache directory and only use the ID of the savegame.
    Because if you run an empyrion server behind a (daily) changing IP address of a private internet connection, the directory does not have to be transferred to the clients every day.
     
    #5
    Vollinger and Monroe like this.
  6. Vollinger

    Vollinger Lieutenant

    Joined:
    Jan 16, 2022
    Messages:
    39
    Likes Received:
    68
    This is indeed something that will help against the disconnect issues on season starts or when there are bigger game/scenario updates. We already implemented something like this on Anvil and it solved the disconnect issues in those occasions completely.

    If its not too late though, i'd like to suggest a few additions/extensions to this, unless something like this was already considered or implemented.

    A few assumptions:
    * shared data can have ~1000 files, of which most are pretty small, and just a few ones have several MB (assets)
    * downloading 1000 files from a http server takes way longer and consumes way more resources than a single zip file
    * most of the files in the shared data folder change very seldom in game or scenario updates
    * servers running scenarios (RE for instance), do update their scenario pretty often per season.

    On season starts or for new players that have to download everything from the server, having the client download a full zip from a different location is a good idea. For players that have already done that though, it would be amazing if the client only downloads the changed files (as before), without the server owners having to deactivate that feature - also optionally from a separate location where the shared data files can be downloaded separately (like the old way, but not from the game server itself).
    This would enable server owners to set the urls up once and forget about the issues completely, and the players would only download whats needed or what has changed, minimizing the resource efforts on server and client.

    E.g. like this:
    Code:
    SharedDataUrlZip: http://myserver.com/shareddata.zip  # A
    SharedDataUrl: http://myserver.com/uncompressed_shareddata/  # B
    
    If the http client supports HTTP E-Tags, it should be pretty easy to add that to the implementation of the "old way".
     
    #6
    Monroe and ravien_ff like this.
  7. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    858
    Likes Received:
    1,361
    It will not work that way.

    You will only be able to provide a zip file. If the SharedData changes then you have to set a new download URL to the server with a new zip link
    The full zip will be re-downloaded. We tried it with our own server shared data what is way larger then RE's shared data and it took 30 seconds to download, unzip and connect

    So for players its not a problem when the data has to be re-downloaded due to changes.

    If you want the way like you descripe then you will need the current (old) way as the system works now.
    They dont set a link and it will be downloaded from the server side.
     
    #7
  8. Groza

    Groza Commander

    Joined:
    Apr 20, 2015
    Messages:
    47
    Likes Received:
    67
    It would be great if you could add chat messages broadcasting to discord server for your admin tool
    please, this is sorely missed
     
    #8
  9. Patwar

    Patwar Commander

    Joined:
    Dec 6, 2015
    Messages:
    161
    Likes Received:
    25
    Hello,
    If i don't use it, i do nothing with this on config ?
    I start server with emp admin helper with success.

    I ask this because my server is not working anymore since 1.11.7 update...
    I recently install 1.11.8 and it is same. No acces from other machine on my network and not appearing on server game list...

    EDIT : Logs seems say it is missing dll's with initialization of server on port 30000.

    Going to see it.
     
    #9
    Last edited: Sep 13, 2024
  10. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    858
    Likes Received:
    1,361
    If you dont want to use the SharedData over Cloud Download then you dont need this config no

    If you provide your dedicated log file in a private message we might be able to tell you whats wrong
     
    #10
  11. Patwar

    Patwar Commander

    Joined:
    Dec 6, 2015
    Messages:
    161
    Likes Received:
    25
    Taelyn,
    Thank you for your answer.
    I am trying something else and will send you logfile.

    Just this for now because i must go away in minutes :
    I found on log "-ERR- Could not initialize steam gameserver (port 30000) - maybe mising dll's"
     
    #11
  12. Patwar

    Patwar Commander

    Joined:
    Dec 6, 2015
    Messages:
    161
    Likes Received:
    25
    For information, i found my problem.

    There was missing a parameter on dedicated.yaml : Srv_Public: true .
    I don't know what happened, how and why i suppressed it...
    So thank you for your help and guidance in PV.

    So when this param is disabled, we know now what is happening lol !
     
    #12

Share This Page