I think I'm going insane LOL

Discussion in 'The Hangar Bay' started by Our Grid, Mar 26, 2017.

  1. Our Grid

    Our Grid Captain

    Joined:
    Nov 2, 2016
    Messages:
    100
    Likes Received:
    59
    Has anyone edited a playfield, deleted to old template and playfield folders spec'd in sectors, and then teleported to the playfield again to find Zero changes?

    I mean breathable, O2%, difficulty, skycolor - everything the way it was, and when I open the file in motepad++ all the changes I had made are there.

    What the heck? LOL Thx.
     
    #1
  2. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,110
    Likes Received:
    1,753
    If it's running on a dedicated server, did you restart the server after editing and replacing the template?
     
    #2
  3. Our Grid

    Our Grid Captain

    Joined:
    Nov 2, 2016
    Messages:
    100
    Likes Received:
    59
    I didn't - are those in RAM or something? aka it requires a full restart to see the changes?

    (thx for the reply and nice job on your app, I checked it out this last weekend!)
     
    #3
  4. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,110
    Likes Received:
    1,753
    I think it keeps it stored and loaded in the playfieldserver.exe, just in caase, if another user was still in the game and wanted to switch playfields to the one you edited/deleted.

    There's no physical restart (aka pc restart) necessary, but shutting down and restarting of the EmpyrionDedicated Server program.

    (Thx for the feedback)

    /jmc
     
    #4
  5. Berowe

    Berowe Ensign

    Joined:
    Aug 5, 2015
    Messages:
    3
    Likes Received:
    0
    I may be having a similar problem... I tried a custom playfield for Akua Orbit but it doesn't seem to load-- I'm just adding some extra freighters and another asteroid. No luck though.

    Does it matter that I had already visited the playfield before trying to edit it? I've tried the suggestions above...
    Thanks!
     
    #5
  6. LiftPizzas

    LiftPizzas Rear Admiral

    Joined:
    Sep 28, 2015
    Messages:
    1,434
    Likes Received:
    2,573
    You have to regenerate the playfield after editing things that only generate once (POIs, ore deposits, terrain) but not for stuff like sky color.

    For an already existing game, if there is a playfield.yaml file inside the savegame/templates folder it will use that one to generate, otherwise it will default to the one in the empyrion/content folder. (Or now in the scenarios if you're using one.)
     
    #6
  7. Berowe

    Berowe Ensign

    Joined:
    Aug 5, 2015
    Messages:
    3
    Likes Received:
    0
    By regenerate you mean...?
     
    #7
  8. LiftPizzas

    LiftPizzas Rear Admiral

    Joined:
    Sep 28, 2015
    Messages:
    1,434
    Likes Received:
    2,573
    I mean you will need to delete the folder for that playfield, erasing it from the savegame as if nobody had ever been there.
     
    #8
  9. Berowe

    Berowe Ensign

    Joined:
    Aug 5, 2015
    Messages:
    3
    Likes Received:
    0
    Thank you, that's what I thought. I think part of my problem was an issue with the Template playfield. I recreated it and used EPD to make sure I didn't screw up the formatting again. Sorry for the thread hijack :D
     
    #9
  10. stimdealer0001

    stimdealer0001 Captain

    Joined:
    Sep 14, 2015
    Messages:
    159
    Likes Received:
    149
    Make sure you delete the files in SaveGame>Playfields>PlanetName>

    There should be 4 files there, either wipe the whole folder (planet name e.g. Akua) or delete world.dat, deco.dat and ents.dat in the folder while the playfield is unloaded (no players on that playfield for at least 30sec for it to unload)

    With those deleted, when you reload the playfield, the dedi will pull the template's playfield.yaml and generate the new planet with your changes.

    ((So I looked at the files of a 6.0exp save game, and they added a bunch of new ones, I'd just delete the whole folder to be safe.))
     
    #10
  11. Our Grid

    Our Grid Captain

    Joined:
    Nov 2, 2016
    Messages:
    100
    Likes Received:
    59
    Hey LiftPizzas!

    Thanks for making the videos on sector and playfield editing, those were very useful when I was a noob; they helped me get off the ground man! :cool:
     
    #11
  12. joemorin73

    joemorin73 Captain

    Joined:
    Aug 24, 2016
    Messages:
    319
    Likes Received:
    170
    From all personal experience, jmc is 100% correct. If you change the playfield.yaml or sector.yaml, you must restart the server. EmpyrionDedicated and EmpyrionPlayfield appear to cache copies of the YAML files.
     
    #12

Share This Page