Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

How to load most-recently-saved world

Discussion in 'Technical Help' started by lgrant, Oct 27, 2015.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. lgrant Trainee Engineer

    Messages:
    3
    We are running a hosted dedicates server. We do not have access to the GUI-based configuration utility, and I have been unable to find any documentation on setting up the XML file.

    Using the output of the GUI-based configuration on a local dedicated server as an example, I managed to get ME to load our world. But it does not retain any changes across server restarts. How do we do this?

    Here is what our configuration looks like:
    Code:
    <?xml version="1.0"?>
        <MyConfigDedicated xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SessionSettings>
        <GameMode>Creative</GameMode>
        <InventorySizeMultiplier>1</InventorySizeMultiplier>
        <AssemblerSpeedMultiplier>1</AssemblerSpeedMultiplier>
        <AssemblerEfficiencyMultiplier>1</AssemblerEfficiencyMultiplier>
        <RefinerySpeedMultiplier>1</RefinerySpeedMultiplier>
        <OnlineMode>PUBLIC</OnlineMode>
        <MaxPlayers>30</MaxPlayers>
        <MaxFloatingObjects>256</MaxFloatingObjects>
        <EnvironmentHostility>SAFE</EnvironmentHostility>
        <AutoHealing>true</AutoHealing>
        <EnableCopyPaste>true</EnableCopyPaste>
        <WeaponsEnabled>true</WeaponsEnabled>
        <ShowPlayerNamesOnHud>true</ShowPlayerNamesOnHud>
        <ThrusterDamage>true</ThrusterDamage>
        <CargoShipsEnabled>true</CargoShipsEnabled>
        <EnableSpectator>true</EnableSpectator>
        <RemoveTrash>false</RemoveTrash>
        <WorldSizeKm>0</WorldSizeKm>
        <RespawnShipDelete>true</RespawnShipDelete>
        <ResetOwnership>false</ResetOwnership>
        <WelderSpeedMultiplier>1</WelderSpeedMultiplier>
        <GrinderSpeedMultiplier>1</GrinderSpeedMultiplier>
        <RealisticSound>true</RealisticSound>
        <ClientCanSave>true</ClientCanSave>
        <HackSpeedMultiplier>0.33</HackSpeedMultiplier>
        <PermanentDeath>true</PermanentDeath>
        <AutoSaveInMinutes>5</AutoSaveInMinutes>
        <SpawnShipTimeMultiplier>1</SpawnShipTimeMultiplier>
        <DestructibleBlocks>true</DestructibleBlocks>
        <EnableIngameScripts>true</EnableIngameScripts>
        <ViewDistance>20000</ViewDistance>
        <EnableToolShake>true</EnableToolShake>
        <VoxelGeneratorVersion>0</VoxelGeneratorVersion>
        <EnableOxygen>false</EnableOxygen>
        <Enable3rdPersonView>true</Enable3rdPersonView>
        <EnableEncounters>true</EnableEncounters>
        <EnableStructuralSimulation>true</EnableStructuralSimulation>
        <EnableBarbarians>false</EnableBarbarians>
        <MaxActiveFracturePieces>400</MaxActiveFracturePieces>
        <GameDayInRealMinutes>20</GameDayInRealMinutes>
        <DayNightRatio>0.6666667</DayNightRatio>
        <EnableAnimals>true</EnableAnimals>
        <MaximumBots>10</MaximumBots>
      </SessionSettings>
      <Scenario>
        <TypeId>MyObjectBuilder_ScenarioDefinition</TypeId>
        <SubtypeId>Quickstart</SubtypeId>
      </Scenario>
      <LoadWorld>C:\games\68_232_181_52_29015\1244280\medievalengi\Saves\Steel Cross Guild</LoadWorld>
      <IP>_SERvERIP_</IP>
      <SteamPort>29016</SteamPort>
      <ServerPort>29015</ServerPort>
      <AsteroidAmount>0</AsteroidAmount>
      <Administrators>lgrant</Administrators>
      <Banned />
      <Mods />
      <GroupID>0</GroupID>
      <ServerName>Steel Cross Guild</ServerName>
      <WorldName />
      <PauseGameWhenEmpty>false</PauseGameWhenEmpty>
      <IgnoreLastSession>false</IgnoreLastSession>
    </MyConfigDedicated>
    
    In LastLoaded.sbl, "Steel Cross Guild" shows up twice:
    Code:
    <?xml version="1.0"?>
    <MyObjectBuilder_LastLoadedTimes xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <LastLoaded>
        <dictionary>
          <item>
            <Key xsi:type="xsd:string">c:\games\68_232_181_52_29015\1244280\medievalengi\Saves\Steel Cross Guild</Key>
            <Value xsi:type="xsd:DateTime">2015-10-04T00:32:54.3733046-05:00</Value>
          </item>
    
          <!-- Bunch of other saves -->
    
          <item>
            <Key xsi:type="xsd:string">C:\games\68_232_181_52_29015\1244280\medievalengi\Saves\Steel Cross Guild</Key>
            <Value xsi:type="xsd:DateTime">2015-10-26T22:55:46.4894584-05:00</Value>
          </item>
        </dictionary>
      </LastLoaded>
    </MyObjectBuilder_LastLoadedTimes>
    
    In spite of the second entry, the files in the "Steel Cross Guild" directory do not appear to have been updated since the world was installed on 2015-10-04.

    And I have verified that if I change the world and restart the server, the changes go away.

    Can someone give me some insight into how I should be setting this up so that changes survive server restarts?

    Thanks,

    Lynn

    Lynn Grant
    Steel Cross Guild
    TRP Games
    Cross Design Group LTD
     
    Last edited by a moderator: Jul 24, 2017
Thread Status:
This last post in this thread was made more than 31 days old.