diff --git a/src/ARKServerManager/ARKServerManager.csproj b/src/ARKServerManager/ARKServerManager.csproj
index 5c2be6f8..d17c1431 100644
--- a/src/ARKServerManager/ARKServerManager.csproj
+++ b/src/ARKServerManager/ARKServerManager.csproj
@@ -252,6 +252,8 @@
+
+
diff --git a/src/ARKServerManager/Globalization/zh-CN/zh-CN.xaml b/src/ARKServerManager/Globalization/zh-CN/zh-CN.xaml
index b53076cb..96bd3989 100644
--- a/src/ARKServerManager/Globalization/zh-CN/zh-CN.xaml
+++ b/src/ARKServerManager/Globalization/zh-CN/zh-CN.xaml
@@ -1098,7 +1098,7 @@
标准地图名称 (例如. TheIsland,TheCenter,ScorchedEarth_P,Ragnarok).或本地MOD地图 例如:(/Game/Mods/504122600/Valhalla) 数字是MOD ID 后面是MOD地图名字,记得更新你的服务器下载MOD地图。
总转换MOD ID:
总转换MOD ID,是方舟里的一个模式转换!.
- 读取总转换MOD ID找到地图名称
+ 读取总转换MOD ID找到地图名称
查找总转换地图名称
地图名称已更新。
查找总转换地图名称错误
@@ -1107,6 +1107,8 @@
每个Mod ID编号之间请使用“,”小写逗号来分开,以及以启动顺序来排列.
查看MOD详细信息.
升级/下载 MOD到目前可用的最新版本。
+ 重置
+ 删除所有的服务器、玩家和部落文件,并将你的服务器重新设置为新的。
保存
自动保存时间:
@@ -1180,7 +1182,7 @@
如果启用,服务器可以通过将人工智能保存在静态生物的内存中来获得性能。 注意:你的服务器必须有大量的内存,否则你的服务器会有很大的内存开销。
无挂起检测
如果启用,可防止因挂起而导致的某些类型的崩溃(服务器挂起时,可能会出现服务器滞后的情况)。
- 没有恐龙
+ 没有恐龙
如果启用,则不会在地图上产生恐龙。
服务器允许NVIDIA Ansel技术
如果启用,在单个玩家中激活NVIDIA Ansel支持。 连接到服务器时,即使通电和点亮,这也会导致大多数灯(灯)不再起作用。
@@ -1519,6 +1521,10 @@
设置六角币获得倍数.
六角币消耗倍数
设置六角币消耗倍数.
+
+ 维京岛Fjordur
+ 启用维京生物群落的传送装置
+ 如果启用,将允许在维京地图上进行生物群落传送。
物品品质设置
注意:这将永久改变现有物品的品质.
diff --git a/src/ARKServerManager/Lib/GameData.cs b/src/ARKServerManager/Lib/GameData.cs
index 3e7c01d9..252bcb08 100644
--- a/src/ARKServerManager/Lib/GameData.cs
+++ b/src/ARKServerManager/Lib/GameData.cs
@@ -17,6 +17,8 @@ namespace ServerManagerTool.Lib
public const string RCONINPUTMODE_COMMAND = "Command";
+ public static event EventHandler GameDataLoaded;
+
public static string MainDataFolder = Path.Combine(Environment.CurrentDirectory, Config.Default.GameDataDir);
public static string UserDataFolder = Path.Combine(Config.Default.DataDir, Config.Default.GameDataDir);
@@ -26,6 +28,12 @@ namespace ServerManagerTool.Lib
private static MainGameData gameData = null;
public static void Initialize()
+ {
+ Load();
+ OnGameDataLoaded();
+ }
+
+ private static void Load()
{
// read static game data
GameDataUtils.ReadAllData(out gameData, MainDataFolder, Config.Default.GameDataExtension, Config.Default.GameDataApplication);
@@ -174,6 +182,19 @@ namespace ServerManagerTool.Lib
}
}
+ private static void OnGameDataLoaded()
+ {
+ GameDataLoaded?.Invoke(null, EventArgs.Empty);
+ }
+
+ public static void Reload()
+ {
+ gameData = null;
+
+ Load();
+ OnGameDataLoaded();
+ }
+
public static string FriendlyNameForClass(string className, bool returnNullIfNotFound = false) => string.IsNullOrWhiteSpace(className) ? (returnNullIfNotFound ? null : string.Empty) : GlobalizedApplication.Instance.GetResourceString(className) ?? (returnNullIfNotFound ? null : className);
#region Creatures
diff --git a/src/ARKServerManager/Lib/Model/CraftingOverride.cs b/src/ARKServerManager/Lib/Model/CraftingOverride.cs
index a24daf7c..82438fa2 100644
--- a/src/ARKServerManager/Lib/Model/CraftingOverride.cs
+++ b/src/ARKServerManager/Lib/Model/CraftingOverride.cs
@@ -26,10 +26,6 @@ namespace ServerManagerTool.Lib
{
}
- public void UpdateForLocalization()
- {
- }
-
public void Update(bool recursive = true)
{
IsEnabled = this.Count > 0;
@@ -118,7 +114,15 @@ namespace ServerManagerTool.Lib
resource.Update();
}
- ValidStatus = IsValid ? (BaseCraftingResourceRequirements.Any(i => i.ValidStatus == "N") ? "N" : (BaseCraftingResourceRequirements.Any(i => i.ValidStatus == "W") ? "W" : "Y")) : "N";
+ ValidStatus = IsValid
+ ? (BaseCraftingResourceRequirements.Any(i => i.ValidStatus == "N")
+ ? "N"
+ : (BaseCraftingResourceRequirements.Any(i => i.ValidStatus == "W")
+ ? "W"
+ : (GameData.HasItemForClass(ItemClassString)
+ ? "Y"
+ : "W")))
+ : "N";
}
}
@@ -186,7 +190,11 @@ namespace ServerManagerTool.Lib
public void Update()
{
- ValidStatus = IsValid ? (GameData.HasItemForClass(ResourceItemTypeString) ? "Y" : "W") : "N";
+ ValidStatus = IsValid
+ ? (GameData.HasItemForClass(ResourceItemTypeString)
+ ? "Y"
+ : "W")
+ : "N";
}
}
}
diff --git a/src/ARKServerManager/Lib/Model/PreventTransferOverride.cs b/src/ARKServerManager/Lib/Model/PreventTransferOverride.cs
index c24d416f..72d3d03b 100644
--- a/src/ARKServerManager/Lib/Model/PreventTransferOverride.cs
+++ b/src/ARKServerManager/Lib/Model/PreventTransferOverride.cs
@@ -25,10 +25,6 @@ namespace ServerManagerTool.Lib
{
}
- public void UpdateForLocalization()
- {
- }
-
public void Update()
{
IsEnabled = this.Count > 0;
@@ -98,7 +94,11 @@ namespace ServerManagerTool.Lib
public void Update()
{
- ValidStatus = IsValid ? (GameData.HasCreatureForClass(DinoClassString) ? "Y" : "W") : "N";
+ ValidStatus = IsValid
+ ? (GameData.HasCreatureForClass(DinoClassString)
+ ? "Y"
+ : "W")
+ : "N";
}
}
}
diff --git a/src/ARKServerManager/Lib/Model/StackSizeOverride.cs b/src/ARKServerManager/Lib/Model/StackSizeOverride.cs
index bea75121..f3fb3566 100644
--- a/src/ARKServerManager/Lib/Model/StackSizeOverride.cs
+++ b/src/ARKServerManager/Lib/Model/StackSizeOverride.cs
@@ -44,10 +44,6 @@ namespace ServerManagerTool.Lib
}
}
- public void UpdateForLocalization()
- {
- }
-
public void Update()
{
IsEnabled = this.Count > 0;
@@ -160,7 +156,11 @@ namespace ServerManagerTool.Lib
public void Update()
{
- ValidStatus = IsValid ? (GameData.HasItemForClass(ItemClassString) ? "Y" : "W") : "N";
+ ValidStatus = IsValid
+ ? (GameData.HasItemForClass(ItemClassString)
+ ? "Y"
+ : "W")
+ : "N";
}
}
diff --git a/src/ARKServerManager/Lib/Model/SupplyCrateOverride.cs b/src/ARKServerManager/Lib/Model/SupplyCrateOverride.cs
index 82104834..80761f31 100644
--- a/src/ARKServerManager/Lib/Model/SupplyCrateOverride.cs
+++ b/src/ARKServerManager/Lib/Model/SupplyCrateOverride.cs
@@ -72,10 +72,6 @@ namespace ServerManagerTool.Lib
}
}
- public void UpdateForLocalization()
- {
- }
-
public void Update(bool recursive = true)
{
IsEnabled = this.Count > 0;
@@ -226,7 +222,15 @@ namespace ServerManagerTool.Lib
itemSet.Update(recursive);
}
- ValidStatus = IsViewValid ? (ItemSets.Any(i => i.ValidStatus == "N") ? "N" : (ItemSets.Any(i => i.ValidStatus == "W") ? "W" : "Y")) : "N";
+ ValidStatus = IsViewValid
+ ? (ItemSets.Any(i => i.ValidStatus == "N")
+ ? "N"
+ : (ItemSets.Any(i => i.ValidStatus == "W")
+ ? "W"
+ : (GameData.HasSupplyCrateForClass(SupplyCrateClassString)
+ ? "Y"
+ : "W")))
+ : "N";
}
}
@@ -340,7 +344,13 @@ namespace ServerManagerTool.Lib
itemEntry.Update(recursive);
}
- ValidStatus = IsViewValid ? (ItemEntries.Any(i => i.ValidStatus == "N") ? "N" : (ItemEntries.Any(i => i.ValidStatus == "W") ? "W" : "Y")) : "N";
+ ValidStatus = IsViewValid
+ ? (ItemEntries.Any(i => i.ValidStatus == "N")
+ ? "N"
+ : (ItemEntries.Any(i => i.ValidStatus == "W")
+ ? "W"
+ : "Y"))
+ : "N";
}
}
@@ -495,7 +505,13 @@ namespace ServerManagerTool.Lib
item.Update();
}
- ValidStatus = IsViewValid ? (Items.Any(i => i.ValidStatus == "N") ? "N" : (Items.Any(i => i.ValidStatus == "W") ? "W" : "Y")) : "N";
+ ValidStatus = IsViewValid
+ ? (Items.Any(i => i.ValidStatus == "N")
+ ? "N"
+ : (Items.Any(i => i.ValidStatus == "W")
+ ? "W"
+ : "Y"))
+ : "N";
}
}
}
diff --git a/src/ARKServerManager/Lib/ViewModel/DinoSettingsList.cs b/src/ARKServerManager/Lib/ViewModel/DinoSettingsList.cs
index 668dad8f..f6fb884d 100644
--- a/src/ARKServerManager/Lib/ViewModel/DinoSettingsList.cs
+++ b/src/ARKServerManager/Lib/ViewModel/DinoSettingsList.cs
@@ -317,13 +317,5 @@ namespace ServerManagerTool.Lib.ViewModel
}
}
}
-
- public void UpdateForLocalization()
- {
- //foreach (var dinoSetting in this)
- //{
- // dinoSetting.FriendlyName = GameData.FriendlyNameForClass(dinoSetting.ClassName);
- //}
- }
}
}
diff --git a/src/ARKServerManager/Lib/ViewModel/EngramSettings.cs b/src/ARKServerManager/Lib/ViewModel/EngramSettings.cs
index 56eca10d..2e8c7dfe 100644
--- a/src/ARKServerManager/Lib/ViewModel/EngramSettings.cs
+++ b/src/ARKServerManager/Lib/ViewModel/EngramSettings.cs
@@ -174,10 +174,6 @@ namespace ServerManagerTool.Lib.ViewModel
}
}
- public void UpdateForLocalization()
- {
- }
-
#region INotifyPropertyChanged
private Dictionary _properties = new Dictionary();
diff --git a/src/ARKServerManager/Lib/ViewModel/GameDataFile.cs b/src/ARKServerManager/Lib/ViewModel/GameDataFile.cs
new file mode 100644
index 00000000..29951370
--- /dev/null
+++ b/src/ARKServerManager/Lib/ViewModel/GameDataFile.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Windows;
+
+namespace ServerManagerTool.Lib.ViewModel
+{
+ public class GameDataFile : DependencyObject
+ {
+ public static readonly DependencyProperty CreatedDateProperty = DependencyProperty.Register(nameof(CreatedDate), typeof(DateTime), typeof(GameDataFile), new PropertyMetadata(DateTime.MinValue));
+ public static readonly DependencyProperty FileProperty = DependencyProperty.Register(nameof(File), typeof(string), typeof(GameDataFile), new PropertyMetadata(string.Empty));
+ public static readonly DependencyProperty FileNameProperty = DependencyProperty.Register(nameof(FileName), typeof(string), typeof(GameDataFile), new PropertyMetadata(string.Empty));
+ public static readonly DependencyProperty IsUserDataProperty = DependencyProperty.Register(nameof(IsUserData), typeof(bool), typeof(GameDataFile), new PropertyMetadata(true));
+ public static readonly DependencyProperty VersionProperty = DependencyProperty.Register(nameof(Version), typeof(string), typeof(GameDataFile), new PropertyMetadata(string.Empty));
+ public static readonly DependencyProperty HasErrorProperty = DependencyProperty.Register(nameof(HasError), typeof(bool), typeof(GameDataFile), new PropertyMetadata(false));
+
+ public DateTime CreatedDate
+ {
+ get { return (DateTime)GetValue(CreatedDateProperty); }
+ set { SetValue(CreatedDateProperty, value); }
+ }
+
+ public string File
+ {
+ get { return (string)GetValue(FileProperty); }
+ set { SetValue(FileProperty, value); }
+ }
+
+ public string FileName
+ {
+ get { return (string)GetValue(FileNameProperty); }
+ set { SetValue(FileNameProperty, value); }
+ }
+
+ public bool IsUserData
+ {
+ get { return (bool)GetValue(IsUserDataProperty); }
+ set { SetValue(IsUserDataProperty, value); }
+ }
+
+ public string Version
+ {
+ get { return (string)GetValue(VersionProperty); }
+ set { SetValue(VersionProperty, value); }
+ }
+
+ public bool HasError
+ {
+ get { return (bool)GetValue(HasErrorProperty); }
+ set { SetValue(HasErrorProperty, value); }
+ }
+ }
+}
diff --git a/src/ARKServerManager/Lib/ViewModel/GameDataFileList.cs b/src/ARKServerManager/Lib/ViewModel/GameDataFileList.cs
new file mode 100644
index 00000000..13c68573
--- /dev/null
+++ b/src/ARKServerManager/Lib/ViewModel/GameDataFileList.cs
@@ -0,0 +1,12 @@
+using ServerManagerTool.Common.Model;
+
+namespace ServerManagerTool.Lib.ViewModel
+{
+ public class GameDataFileList : SortableObservableCollection
+ {
+ public override string ToString()
+ {
+ return $"{nameof(GameDataFile)} - {Count}";
+ }
+ }
+}
diff --git a/src/ARKServerManager/Lib/ViewModel/NPCSpawnSettings.cs b/src/ARKServerManager/Lib/ViewModel/NPCSpawnSettings.cs
index acdadecc..17525cc0 100644
--- a/src/ARKServerManager/Lib/ViewModel/NPCSpawnSettings.cs
+++ b/src/ARKServerManager/Lib/ViewModel/NPCSpawnSettings.cs
@@ -195,10 +195,6 @@ namespace ServerManagerTool.Lib.ViewModel
}
}
- public void UpdateForLocalization()
- {
- }
-
public void Update(bool recursive = true)
{
foreach (var npcSpawn in this)
@@ -307,7 +303,15 @@ namespace ServerManagerTool.Lib.ViewModel
itemSet.Update();
}
- ValidStatus = IsViewValid ? (NPCSpawnEntrySettings.Any(i => i.ValidStatus == "N") ? "N" : (NPCSpawnEntrySettings.Any(i => i.ValidStatus == "W") ? "W" : "Y")) : "N";
+ ValidStatus = IsViewValid
+ ? (NPCSpawnEntrySettings.Any(i => i.ValidStatus == "N")
+ ? "N"
+ : (NPCSpawnEntrySettings.Any(i => i.ValidStatus == "W")
+ ? "W"
+ : (GameData.HasMapSpawnerForClass(NPCSpawnEntriesContainerClassString)
+ ? "Y"
+ : "W")))
+ : "N";
}
}
@@ -354,7 +358,11 @@ namespace ServerManagerTool.Lib.ViewModel
public void Update()
{
- ValidStatus = IsValid ? (GameData.HasCreatureForClass(NPCClassString) ? "Y" : "W") : "N";
+ ValidStatus = IsValid
+ ? (GameData.HasCreatureForClass(NPCClassString)
+ ? "Y"
+ : "W")
+ : "N";
}
}
}
diff --git a/src/ARKServerManager/Lib/ViewModel/SupplyCrateSettings.cs b/src/ARKServerManager/Lib/ViewModel/SupplyCrateSettings.cs
index 07d81387..33508496 100644
--- a/src/ARKServerManager/Lib/ViewModel/SupplyCrateSettings.cs
+++ b/src/ARKServerManager/Lib/ViewModel/SupplyCrateSettings.cs
@@ -40,7 +40,11 @@ namespace ServerManagerTool.Lib.ViewModel
public void Update()
{
- ValidStatus = IsViewValid ? (GameData.HasItemForClass(ItemClassString) ? "Y" : "W") : "N";
+ ValidStatus = IsViewValid
+ ? (GameData.HasItemForClass(ItemClassString)
+ ? "Y"
+ : "W")
+ : "N";
}
}
}
diff --git a/src/ARKServerManager/Styles/Default.xaml b/src/ARKServerManager/Styles/Default.xaml
index f501fbdf..761bb608 100644
--- a/src/ARKServerManager/Styles/Default.xaml
+++ b/src/ARKServerManager/Styles/Default.xaml
@@ -128,7 +128,14 @@
-
+
+
+
+
+
+
+
+
+
diff --git a/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml.cs b/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml.cs
index 07409575..bbab1442 100644
--- a/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml.cs
+++ b/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml.cs
@@ -65,6 +65,8 @@ namespace ServerManagerTool
}
this.DataContext = this;
+
+ GameData.GameDataLoaded += GameData_GameDataLoaded;
}
public App AppInstance
@@ -396,15 +398,21 @@ namespace ServerManagerTool
e.Handled = true;
}
+ private void GameData_GameDataLoaded(object sender, EventArgs e)
+ {
+ PopulateRconMessageModesComboBox();
+ }
+
private void LanguageSelectionComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
Config.CultureName = AvailableLanguages.Instance.SelectedLanguage;
PopulateWindowsStatesMainWindowComboBox();
PopulateWindowsStatesServerMonitorWindowComboBox();
- PopulateRconMessageModesComboBox();
PopulateTaskPrioritiesComboBox();
+ GameData_GameDataLoaded(sender, e);
+
App.Instance.OnResourceDictionaryChanged(Config.CultureName);
}
@@ -490,6 +498,11 @@ namespace ServerManagerTool
}
}
+ public void CloseControl()
+ {
+ GameData.GameDataLoaded -= GameData_GameDataLoaded;
+ }
+
private void PopulateWindowsStatesMainWindowComboBox()
{
var selectedValue = this.WindowStateMainWindowComboBox?.SelectedValue ?? Config.MainWindow_WindowState;
diff --git a/src/ARKServerManager/UserControls/ServerSettingsControl.xaml.cs b/src/ARKServerManager/UserControls/ServerSettingsControl.xaml.cs
index 7a79815a..8127bbcc 100644
--- a/src/ARKServerManager/UserControls/ServerSettingsControl.xaml.cs
+++ b/src/ARKServerManager/UserControls/ServerSettingsControl.xaml.cs
@@ -342,9 +342,36 @@ namespace ServerManagerTool
// hook into the language change event
GlobalizedApplication.Instance.GlobalizationManager.ResourceDictionaryChangedEvent += ResourceDictionaryChangedEvent;
+ GameData.GameDataLoaded += GameData_GameDataLoaded;
}
#region Event Methods
+ private void GameData_GameDataLoaded(object sender, EventArgs e)
+ {
+ this.RefreshBaseDinoModList();
+ this.RefreshBaseEngramModList();
+ this.RefreshBaseResourceModList();
+
+ this.RefreshBaseDinoList();
+ this.RefreshBaseMapSpawnerList();
+ this.RefreshBasePrimalItemList();
+ this.RefreshBaseSupplyCrateList();
+ this.RefreshBaseGameMapsList();
+ this.RefreshBaseTotalConversionsList();
+ this.RefreshBaseBranchesList();
+ this.RefreshBaseEventsList();
+ this.RefreshProcessPrioritiesList();
+ this.RefreshCustomLevelProgressionsInformation();
+
+ this.HarvestResourceItemAmountClassMultipliersListBox.Items.Refresh();
+
+ this.Settings.ConfigOverrideItemCraftingCosts.Update();
+ this.Settings.ConfigOverrideItemMaxQuantity.Update();
+ this.Settings.ConfigOverrideSupplyCrateItems.Update();
+ this.Settings.NPCSpawnSettings.Update();
+ this.Settings.PreventTransferForClassNames.Update();
+ }
+
private static void ServerPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var ssc = (ServerSettingsControl)d;
@@ -378,30 +405,8 @@ namespace ServerManagerTool
{
this.CurrentCulture = Thread.CurrentThread.CurrentCulture;
- this.Settings.DinoSettings.UpdateForLocalization();
- this.Settings.EngramSettings.UpdateForLocalization();
- this.Settings.NPCSpawnSettings.UpdateForLocalization();
- this.Settings.ConfigOverrideSupplyCrateItems.UpdateForLocalization();
- this.Settings.ConfigOverrideItemMaxQuantity.UpdateForLocalization();
-
- this.RefreshBaseDinoModList();
- this.RefreshBaseEngramModList();
- this.RefreshBaseResourceModList();
-
- this.RefreshBaseDinoList();
- this.RefreshBaseMapSpawnerList();
- this.RefreshBasePrimalItemList();
- this.RefreshBaseSupplyCrateList();
- this.RefreshBaseGameMapsList();
- this.RefreshBaseTotalConversionsList();
- this.RefreshBaseBranchesList();
- this.RefreshBaseEventsList();
- this.RefreshProcessPrioritiesList();
-
- this.HarvestResourceItemAmountClassMultipliersListBox.Items.Refresh();
-
- this.RefreshCustomLevelProgressionsInformation();
this.UpdateLastStartedDetails(false);
+ GameData_GameDataLoaded(source, e);
Runtime.UpdateServerStatusString();
}
@@ -3487,6 +3492,12 @@ namespace ServerManagerTool
#endregion
#region Methods
+ public void CloseControl()
+ {
+ GameData.GameDataLoaded -= GameData_GameDataLoaded;
+ GlobalizedApplication.Instance.GlobalizationManager.ResourceDictionaryChangedEvent -= ResourceDictionaryChangedEvent;
+ }
+
public void RefreshBaseDinoModList()
{
var selectedValue = SelectedModDino;
diff --git a/src/ARKServerManager/VersionFeed.xml b/src/ARKServerManager/VersionFeed.xml
index 293bbdbe..0bec593b 100644
--- a/src/ARKServerManager/VersionFeed.xml
+++ b/src/ARKServerManager/VersionFeed.xml
@@ -5,7 +5,31 @@
Ark Server Manager Version Feed
This is the Ark Server Manager release version feed.
- 2022-06-16T00:00:00Z
+ 2022-06-17T00:00:00Z
+
+
+ urn:uuid:1AE0925B-64EB-4177-B834-7A75FA46E807
+ 1.1.433 (1.1.433.2)
+ 1.1.433.2
+
+ 2022-06-17T00:00:00Z
+
+
+
+ CHANGE
+
+
+ Gamedata Files - when adding, deleteing or reloading the gamedata files via the gamedata window, the server manager will reload them and update the settings window.
+ zh-CN Translation file updated.
+
+
+
+
+
+ bletch
+ bletch1971@hotmail.com
+
+
urn:uuid:93A04A12-C632-4C2B-AC76-42D9E476431C
diff --git a/src/ARKServerManager/VersionFeedBeta.xml b/src/ARKServerManager/VersionFeedBeta.xml
index d81948c4..038af8e9 100644
--- a/src/ARKServerManager/VersionFeedBeta.xml
+++ b/src/ARKServerManager/VersionFeedBeta.xml
@@ -5,48 +5,21 @@
Ark Server Manager Version Feed
This is the Ark Server Manager beta version feed.
- 2022-06-16T00:00:00Z
+ 2022-06-17T00:00:00Z
- urn:uuid:DB240E90-17B0-4DE1-B60B-0D5E4753810F
- 1.1.432 (1.1.432.4)
- 1.1.432.4
+ urn:uuid:1AE0925B-64EB-4177-B834-7A75FA46E807
+ 1.1.433 (1.1.433.2)
+ 1.1.433.2
- 2022-06-16T00:00:00Z
-
-
-
- NEW
-
-
- Profile Settings - Rules Section - Added UseFjordurTraversalBuff setting. Located in the Fjordur group at the bottom of the Rules section.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:EB7309A6-5E1F-4F97-A813-CDCFC51A9A7C
- 1.1.432 (1.1.432.3)
- 1.1.432.3
-
- 2022-06-16T00:00:00Z
+ 2022-06-17T00:00:00Z
CHANGE
- Crafting Override Grids - Added new icons to show Good (green), Warning (orange) or Bad (red). Warnings will show for items not familiar with (raw class names, not loaded via gamedata files), Errors will show for missing items.
- Prevent Transfer Grids - Added new icons to show Good (green), Warning (orange) or Bad (red). Warnings will show for creatures not familiar with (raw class names, not loaded via gamedata files), Errors will show for missing creatures.
- Map Spawner Grids - Added new icons to show Good (green), Warning (orange) or Bad (red). Warnings will show for spawners/creatures not familiar with (raw class names, not loaded via gamedata files), Errors will show for missing spawners/creatures.
- Stack Size Grid - Added new icons to show Good (green), Warning (orange) or Bad (red). Warnings will show for items not familiar with (raw class names, not loaded via gamedata files), Errors will show for missing items.
- Server Monitor - added shutdown reason.
+ zh-CN Translation file updated.
@@ -58,41 +31,18 @@
- urn:uuid:93A04A12-C632-4C2B-AC76-42D9E476431C
- 1.1.432 (1.1.432.2)
- 1.1.432.2
+ urn:uuid:1AE0925B-64EB-4177-B834-7A75FA46E807
+ 1.1.433 (1.1.433.1)
+ 1.1.433.1
- 2022-06-16T00:00:00Z
+ 2022-06-17T00:00:00Z
CHANGE
- Gamedata Files - changed the Fjordur official mod to the correct mod id.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:93A04A12-C632-4C2B-AC76-42D9E476431C
- 1.1.432 (1.1.432.1)
- 1.1.432.1
-
- 2022-06-16T00:00:00Z
-
-
-
- NEW
-
-
- Reset Server - added new button to reset your server. This will delete all server, player and tribe files and reset your server back to new.
+ Gamedata Files - when adding, deleteing or reloading the gamedata files via the gamedata window, the server manager will reload them and update the settings window.
diff --git a/src/ARKServerManager/Windows/GameDataWindow.xaml.cs b/src/ARKServerManager/Windows/GameDataWindow.xaml.cs
index f0f46328..a27ecd85 100644
--- a/src/ARKServerManager/Windows/GameDataWindow.xaml.cs
+++ b/src/ARKServerManager/Windows/GameDataWindow.xaml.cs
@@ -1,7 +1,7 @@
using Microsoft.WindowsAPICodePack.Dialogs;
-using ServerManagerTool.Common.Model;
using ServerManagerTool.Common.Utils;
using ServerManagerTool.Lib;
+using ServerManagerTool.Lib.ViewModel;
using ServerManagerTool.Utils;
using System;
using System.Collections.Generic;
@@ -19,60 +19,6 @@ namespace ServerManagerTool
///
public partial class GameDataWindow : Window
{
- public class GameDataFileList : SortableObservableCollection
- {
- public override string ToString()
- {
- return $"{nameof(GameDataFile)} - {Count}";
- }
- }
-
- public class GameDataFile : DependencyObject
- {
- public static readonly DependencyProperty CreatedDateProperty = DependencyProperty.Register(nameof(CreatedDate), typeof(DateTime), typeof(GameDataFile), new PropertyMetadata(DateTime.MinValue));
- public static readonly DependencyProperty FileProperty = DependencyProperty.Register(nameof(File), typeof(string), typeof(GameDataFile), new PropertyMetadata(string.Empty));
- public static readonly DependencyProperty FileNameProperty = DependencyProperty.Register(nameof(FileName), typeof(string), typeof(GameDataFile), new PropertyMetadata(string.Empty));
- public static readonly DependencyProperty IsUserDataProperty = DependencyProperty.Register(nameof(IsUserData), typeof(bool), typeof(GameDataFile), new PropertyMetadata(true));
- public static readonly DependencyProperty VersionProperty = DependencyProperty.Register(nameof(Version), typeof(string), typeof(GameDataFile), new PropertyMetadata(string.Empty));
- public static readonly DependencyProperty HasErrorProperty = DependencyProperty.Register(nameof(HasError), typeof(bool), typeof(GameDataFile), new PropertyMetadata(false));
-
- public DateTime CreatedDate
- {
- get { return (DateTime)GetValue(CreatedDateProperty); }
- set { SetValue(CreatedDateProperty, value); }
- }
-
- public string File
- {
- get { return (string)GetValue(FileProperty); }
- set { SetValue(FileProperty, value); }
- }
-
- public string FileName
- {
- get { return (string)GetValue(FileNameProperty); }
- set { SetValue(FileNameProperty, value); }
- }
-
- public bool IsUserData
- {
- get { return (bool)GetValue(IsUserDataProperty); }
- set { SetValue(IsUserDataProperty, value); }
- }
-
- public string Version
- {
- get { return (string)GetValue(VersionProperty); }
- set { SetValue(VersionProperty, value); }
- }
-
- public bool HasError
- {
- get { return (bool)GetValue(HasErrorProperty); }
- set { SetValue(HasErrorProperty, value); }
- }
- }
-
private readonly GlobalizedApplication _globalizer = GlobalizedApplication.Instance;
public static readonly DependencyProperty GameDataFilesProperty = DependencyProperty.Register(nameof(GameDataFiles), typeof(GameDataFileList), typeof(GameDataWindow), new PropertyMetadata(null));
@@ -117,6 +63,7 @@ namespace ServerManagerTool
try
{
AddGameDataFile(GameData.UserDataFolder, dialog.FileName);
+ GameData.Reload();
}
catch (Exception ex)
{
@@ -135,6 +82,7 @@ namespace ServerManagerTool
{
DeleteAllGameDataFiles(GameData.UserDataFolder);
}
+ GameData.Reload();
}
catch (Exception ex)
{
@@ -166,6 +114,7 @@ namespace ServerManagerTool
try
{
ReloadGameDataFiles();
+ GameData.Reload();
}
catch (Exception ex)
{
@@ -182,6 +131,7 @@ namespace ServerManagerTool
{
var gameDataItem = ((GameDataFile)((Button)e.Source).DataContext);
DeleteGameDataFile(gameDataItem.File, true);
+ GameData.Reload();
}
catch (Exception ex)
{
diff --git a/src/ARKServerManager/Windows/MainWindow.xaml b/src/ARKServerManager/Windows/MainWindow.xaml
index a5312ad5..87cc0b37 100644
--- a/src/ARKServerManager/Windows/MainWindow.xaml
+++ b/src/ARKServerManager/Windows/MainWindow.xaml
@@ -94,38 +94,35 @@
-
-
-
+
-
-
-
+
+
-
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
-
-
@@ -353,11 +350,11 @@
-
+
-
-
+
+
-
+
+
-
+