Project Eden (WIP massive random scenario)

Discussion in 'Scenarios' started by ravien_ff, Jun 18, 2018.

  1. Quarior

    Quarior Commander

    Joined:
    Sep 30, 2016
    Messages:
    72
    Likes Received:
    28
    Ok, thanks for information. I waiting to test the new update :) .
    Good continuation.
     
    #81
    ravien_ff likes this.
  2. Kalizaar

    Kalizaar Lieutenant

    Joined:
    Jul 1, 2018
    Messages:
    32
    Likes Received:
    18
    Hi there. First, this looks incredible! Second, any tips on getting it to run as a dedicated server? I'm able to run other workshop scenarios just fine on my server PC, but it just seems to hang forever with the EmpyrionDedicated.exe prcoess using 0% CPU, only 62.4 MB RAM, and 1.5% GPU.

    Taking a look I see this in the log file. Did I miss copying some files or something?

    17-20:58:29.140 15_58 -LOG- Started a new game
    17-20:58:29.205 15_58 -ERR- Unable to find data for Arid!
    17-20:58:29.205 15_58 -ERR- PlanetTypeData Arid for neighbor Tull not found!
    17-20:58:29.207 15_58 -ERR- Unable to find data for EdenLava!
    17-20:58:29.207 15_58 -ERR- PlanetTypeData EdenLava for neighbor Hiiold not found!
    17-20:58:29.207 15_58 -ERR- Unable to find data for EdenLava!
    17-20:58:29.207 15_58 -ERR- PlanetTypeData EdenLava for neighbor Keden not found!
    17-20:58:29.532 15_58 -ERR- No dynamic or static playfield template to generate space playfield!
    17-20:58:29.559 15_58 -ERR- No dynamic or static playfield template to generate space playfield!
    17-20:58:29.579 15_58 -ERR- [RandomizeMoonPlayfield] No dynamic or static playfield template to generate moon playfield!
    ArgumentNullException: Value cannot be null.
    Parameter name: String
    at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00003] in <f826c2584fc94ec19a48a6576640bdc5>:0
    at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in <f826c2584fc94ec19a48a6576640bdc5>:0
    at System.Int32.Parse (System.String s) [0x00007] in <f826c2584fc94ec19a48a6576640bdc5>:0
    at Assembly-CSharp.FileEditor.RebuildDomain (Assembly-CSharp.DialogProvider , Assembly-CSharp.SelectionLoader+QueueList , System.String , System.Boolean , System.Int32 ) [0x00193] in <4be1063b2b8b46fd87f2f519e17d7e36>:0
    at Assembly-CSharp.FileEditor.ClearSelection (System.Int32 , System.String , System.Boolean , System.Int32 , System.Boolean , System.String , System.String ) [0x0004b] in <4be1063b2b8b46fd87f2f519e17d7e36>:0
    at Assembly-CSharp.ProjectCollection.UpdateAssistant (System.String ) [0x0001b] in <4be1063b2b8b46fd87f2f519e17d7e36>:0
    at Assembly-CSharp.ProjectCollection.HideContext () [0x00091] in <4be1063b2b8b46fd87f2f519e17d7e36>:0
    at Assembly-CSharp.AssistantTable.AddAssembly () [0x001e2] in <4be1063b2b8b46fd87f2f519e17d7e36>:0
    at MBS_S.set_ClearSelection (MBS_S+ConnectionEventArgs ) [0x00014] in <4be1063b2b8b46fd87f2f519e17d7e36>:0
    at GameStartup.Awake () [0x00342] in <4be1063b2b8b46fd87f2f519e17d7e36>:0
    (Filename: <f826c2584fc94ec19a48a6576640bdc5> Line: 0)
    Setting up 16 worker threads for Enlighten.
    Thread -> id: 70c -> priority: 1
    Thread -> id: 3f7c -> priority: 1
    Thread -> id: 1290 -> priority: 1
    Thread -> id: 2b14 -> priority: 1
    Thread -> id: 13a8 -> priority: 1
    Thread -> id: 4330 -> priority: 1
    Thread -> id: 2e04 -> priority: 1
    Thread -> id: 30ec -> priority: 1
    Thread -> id: cc4 -> priority: 1
    Thread -> id: 23ec -> priority: 1
    Thread -> id: d38 -> priority: 1
    Thread -> id: 33b4 -> priority: 1
    Thread -> id: 178 -> priority: 1
    Thread -> id: 934 -> priority: 1
    Thread -> id: 29d4 -> priority: 1
    Thread -> id: 23b8 -> priority: 1
     
    #82
    ravien_ff likes this.
  3. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    It should work just like any other scenario on a dedicated server. I might have some errors in my solarsystemconfig.yaml that is causing those errors but I've got those fixed already on my internal copy. I'll try to get an update out the next few days that you can try.

    Does it work for you single player?
     
    #83
  4. Kalizaar

    Kalizaar Lieutenant

    Joined:
    Jul 1, 2018
    Messages:
    32
    Likes Received:
    18
    Sounds great! No rush of course. We're still putzing around in a small scenario, but we're starting to realize we'd like something larger. Yours looks perfect for the 3 or 4 of us to never run out of things to do! lol

    Single player does work, so I was thinking of trying to fiddle around a bit but I have no idea if single player games can be converted to dedicated servers or not.
     
    #84
    ravien_ff likes this.
  5. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    Just double check that you copied everything in the scenario folder okay. If you did, then it might be an error in my solar system config.

    The next update is finishing up the jungle planet and adding some more space content so might be worth waiting for it anyway. :)
     
    #85
  6. Kalizaar

    Kalizaar Lieutenant

    Joined:
    Jul 1, 2018
    Messages:
    32
    Likes Received:
    18
    Ohh, yeah one thing we were disappointed in with our current scenario is that space is so boring. Can't find anything without cheating the map, and then to only see there's a friendly station in the middle of nowhere and often times no hostile ship even. You spend so much time trying to build cool ships only to not be able to use them. :/
     
    #86
    ravien_ff likes this.
  7. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    Yes I know the feeling! There's still a ton of space content I want to add but I'm slowly getting there. The default space playfields are pretty empty.

    Right now there are *tons* of debris and wrecks to find that don't show up on the map at all so you have to find them by looking around you and there are a few small pirate and smuggler bases as well. Some of the stuff is trapped.

    I'm currently working on a Polaris Mining fleet that you'll rarely find in asteroid fields (and shows on the map automatically). If you're friendly with Polaris, you can buy ore from them or sell them mining equipment. If you're an enemy (or don't mind becoming one), you can defeat their ships and mine their asteroids and salvage their ships. But they'll be tough, they might be miners but they'll have a good defense fleet with them and be heavily armed.

    20190418041313_1.jpg
     
    #87
    SGP Corp, ion_storm, Kalizaar and 2 others like this.
  8. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    I might have discovered a game bug that is causing the COOP/Dedi server issues. I'm going to do more testing and then file a proper bug report. It seems the game isn't pulling the playfields from the scenario properly.
     
    #88
  9. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    #89
  10. [BB]Drifter

    [BB]Drifter Commander

    Joined:
    Jul 30, 2017
    Messages:
    107
    Likes Received:
    83
    #90
  11. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    That one looks fine because it doesn't use any custom playfields.
     
    #91
  12. Monroe

    Monroe Commander

    Joined:
    Nov 20, 2017
    Messages:
    201
    Likes Received:
    184
    Ravien, I am also having trouble getting a scenario to pull custom playfields using a 'RandomPresets' solarsystemconfig.yaml. I will let you know if I discover anything that might be helpful. Please let us know what you find out.
     
    #92
    ravien_ff likes this.
  13. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    #93
  14. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    I'm sorry about the coop/dedi issues but it really does look like a game bug. The devs are aware of it so hopefully they can get it fixed soon.

    There should be an easy one-step workaround for both COOP and dedicated servers in the meantime:

    COOP:
    First start a new game in single player mode. Select your chosen starter planet and let it load into the game completely then quit back to the main menu. Go to the resume game window and load up your new save game as "COOP" by hitting the little arrow next to the load button. It may take your server a few minutes to start, it's a large scenario. That should work.

    DEDICATED (would also work for COOP):
    After copying the scenario to your dedicated server, you'll also need to copy all the Eden playfields from the scenario folder into the default playfields folder of your server. (do servers have a default playfields folder?). Then you should be able to start the server, but I've only tested this in COOP mode.

    The scenario update I was planning on doing got set back a bit from trying to troubleshoot this bug and also because I have a cold which makes working on stuff not so fun. :) I'm still going to try to release the update tonight or this weekend though.

    Please let me know if these workarounds work.
     
    #94
  15. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    I've checked and this issue affects even the Default Multiplayer scenario. Hopefully they now have enough info to work on a fix. :D
     
    #95
  16. Monroe

    Monroe Commander

    Joined:
    Nov 20, 2017
    Messages:
    201
    Likes Received:
    184
    I included this information as an edit to my first Planet Pack, which I published just minutes ago. Thanks for all your help. The issue for me was just tracking down some .yaml formatting issues, - and I have to say that the error logs and bug reporting in this game has much to be desired. BUT, I did mange to track down my last few bugs.

    In the end: 'cannot be null' error was related to the fact that the 'water' parameter was missing entirely from my playfield_dynamics. I exported those from playfield.yamls that were opened in the EPD. Maybe I should mention to jmcburn that the Water parameter gets missed sometimes. Also - in a playfield_dynamic.yaml, everything must be included in brackets, even if there is no variable. So WaterBrown, for instance, MUST be [WaterBrown]. And lastly, - indentation. I had no errors in MS Visual Studio Code, but nevertheless there were indentation errors. With that being said, if you have the time you might check out the Planet Pack I. (I hope I can do more in the future).

    https://steamcommunity.com/sharedfiles/filedetails/?id=1717457072

    - Monroe
     
    #96
    ravien_ff likes this.
  17. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    Major Update

    New Planets:

    - Added new planets from @Monroe's Planet Pack I
    Pummeled Desert, Brooding Temperate, and Odd Temperate will sometimes be found in the middle or inner solar system.
    Frozen Inferno and Elder Barren will be found in the outer solar system.
    Uses mostly default POIs for now.

    - Added Gas Giants to outer solar system. Designed by @Needleship.
    Non-landable, but has an orbit with extra asteroid fields.


    Updated Planets:

    - Jungle:
    POIs, Biomes, and traders.
    Hidden treasures and ruins, some with custom loot, can be found in the jungle. Very hard to find, hidden from detector and only shows on HUD within 50 meters.
    Profitable trade route added: Talon Beekeepers > Talon Brewery > Zirax Karana Trade Station.

    - Lava:
    Added traders to Foundry. Trader who buys iron ingots and sells steel and hardened steel plates.
    Renamed lava POIs to remove reference to Rados.


    Space Content

    - Added a chance for small lightly defended Polaris Mining Fleets to appear in orbits in middle solar system.
    - Added rare heavily defended Polaris Mining Fleets to outer Asteroid Fields.
    Polaris Mining Fleets have ownership over nearby asteroids and will attack you if you mine them. They have a custom trader who sells large quantities of ore but not at the best price. Sometimes has a hauler on site you can raid.
    Shows up on map at 25,000 meters.

    - Added Refinery. Buys large quantities of ore and sells large quantities of ingots, but not at the best price. Randomly appears in orbits.
    Shows up on map at 25,000 meters as "Factory".
    Will add more bulk traders and create profitable trade routes in the future.

    - Added a new Smuggler and Syndicate outpost to orbits.
    - Misc updates to pirate POIs and space playfields.

    - Tweaked solar system generation to account for the new planets.


    Known Issues:

    - Standing next to a trader can cause error spam in the log (alpha 9.7). Doesn't seem to actually affect anything. Game bug, filed a bug report.
    - Multiplayer servers cannot start a new game. See main description for workaround. Game bug, filed a bug report.
     
    #97
    Monroe, Supay and Needleship like this.
  18. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    Try copying the Eden playfields from the scenario's playfields folder into your dedicated server's main playfield folder. See if that lets the server start as a workaround.
     
    #98
  19. Monroe

    Monroe Commander

    Joined:
    Nov 20, 2017
    Messages:
    201
    Likes Received:
    184
    That's pretty awesome Ravien. I didn't know the "Shows up on map at 25,000 meters" thing would work. One of our big frustrations is how hard it is to find things in an Orbit. I'm gonna incorporate that. Thanks!
     
    #99
    ravien_ff likes this.
  20. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,275
    Likes Received:
    11,936
    Yup! It's the MapDistance property. You can set it at 0 and it will never show up on the map (or on detectors if on a planet).

    Sadly values over 500 only work in space. Planet POIs are still limited to a 500m reveal range. The one exception is Admin faction POIs with an Admin Core will show up on a planet at any distance.
     
    #100
    Monroe likes this.

Share This Page