asm update default options

This commit is contained in:
Lacoi 2023-08-02 17:19:22 +02:00
parent 8cb856b915
commit 0d1aff213b
3 changed files with 8 additions and 8 deletions

View file

@ -573,7 +573,7 @@ namespace ServerManagerTool.Lib
set { SetValue(NotifyAdminCommandsInChatProperty, value); }
}
public static readonly DependencyProperty MaxTribeLogsProperty = DependencyProperty.Register(nameof(MaxTribeLogs), typeof(int), typeof(ServerProfile), new PropertyMetadata(100));
public static readonly DependencyProperty MaxTribeLogsProperty = DependencyProperty.Register(nameof(MaxTribeLogs), typeof(int), typeof(ServerProfile), new PropertyMetadata(400));
[IniFileEntry(IniFiles.Game, IniSections.Game_ShooterGameMode, ServerProfileCategory.Administration)]
public int MaxTribeLogs
{
@ -1309,7 +1309,7 @@ namespace ServerManagerTool.Lib
set { SetValue(PreventUploadDinosProperty, value); }
}
public static readonly DependencyProperty MaxTributeDinosProperty = DependencyProperty.Register(nameof(MaxTributeDinos), typeof(NullableValue<int>), typeof(ServerProfile), new PropertyMetadata(new NullableValue<int>(false, 50)));
public static readonly DependencyProperty MaxTributeDinosProperty = DependencyProperty.Register(nameof(MaxTributeDinos), typeof(NullableValue<int>), typeof(ServerProfile), new PropertyMetadata(new NullableValue<int>(false, 20)));
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules)]
public NullableValue<int> MaxTributeDinos
{
@ -1748,7 +1748,7 @@ namespace ServerManagerTool.Lib
set { SetValue(UseCorpseLifeSpanMultiplierProperty, value); }
}
public static readonly DependencyProperty GlobalPoweredBatteryDurabilityDecreasePerSecondProperty = DependencyProperty.Register(nameof(GlobalPoweredBatteryDurabilityDecreasePerSecond), typeof(float), typeof(ServerProfile), new PropertyMetadata(4.0f));
public static readonly DependencyProperty GlobalPoweredBatteryDurabilityDecreasePerSecondProperty = DependencyProperty.Register(nameof(GlobalPoweredBatteryDurabilityDecreasePerSecond), typeof(float), typeof(ServerProfile), new PropertyMetadata(3.0f));
[IniFileEntry(IniFiles.Game, IniSections.Game_ShooterGameMode, ServerProfileCategory.Rules, WriteIfNotValue = 4.0f)]
public float GlobalPoweredBatteryDurabilityDecreasePerSecond
{
@ -1876,7 +1876,7 @@ namespace ServerManagerTool.Lib
set { SetValue(EnableCryoSicknessPVEProperty, value); }
}
public static readonly DependencyProperty MaxHexagonsPerCharacterProperty = DependencyProperty.Register(nameof(MaxHexagonsPerCharacter), typeof(int), typeof(ServerProfile), new PropertyMetadata(2500000));
public static readonly DependencyProperty MaxHexagonsPerCharacterProperty = DependencyProperty.Register(nameof(MaxHexagonsPerCharacter), typeof(int), typeof(ServerProfile), new PropertyMetadata(2000000000));
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules)]
public int MaxHexagonsPerCharacter
{
@ -2444,7 +2444,7 @@ namespace ServerManagerTool.Lib
set { SetValue(DisableDinoTamingProperty, value); }
}
public static readonly DependencyProperty MaxTamedDinosProperty = DependencyProperty.Register(nameof(MaxTamedDinos), typeof(int), typeof(ServerProfile), new PropertyMetadata(4000));
public static readonly DependencyProperty MaxTamedDinosProperty = DependencyProperty.Register(nameof(MaxTamedDinos), typeof(int), typeof(ServerProfile), new PropertyMetadata(5000));
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Dinos)]
public int MaxTamedDinos
{

View file

@ -6,8 +6,8 @@ namespace ServerManagerTool.Lib.ViewModel
{
public class TributeExpirationConverter : IValueConverter
{
public const int MIN_VALUE = 1;
public const int MAX_VALUE = 20000;
public const int MIN_VALUE = 0;
public const int MAX_VALUE = 525600;
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{

View file

@ -2206,7 +2206,7 @@
<cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding DisableHexagonStore, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableHexagonStoreLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableHexagonStoreTooltip}"/>
<cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding HexStoreAllowOnlyEngramTradeOption, Mode=TwoWay}" Text="{DynamicResource ServerSettings_HexStoreAllowOnlyEngramTradeOptionLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_HexStoreAllowOnlyEngramTradeOptionTooltip}"/>
<cctl:AnnotatedSlider Grid.Row="1" Grid.ColumnSpan="3" Margin="5,5,5,0" Label="{DynamicResource ServerSettings_MaxHexagonsPerCharacterLabel}" Value="{Binding MaxHexagonsPerCharacter}" Suffix="" Minimum="0" Maximum="100000000" SmallChange="100" LargeChange="1000" TickFrequency="5000" ToolTip="{DynamicResource ServerSettings_MaxHexagonsPerCharacterTooltip}"/>
<cctl:AnnotatedSlider Grid.Row="1" Grid.ColumnSpan="3" Margin="5,5,5,0" Label="{DynamicResource ServerSettings_MaxHexagonsPerCharacterLabel}" Value="{Binding MaxHexagonsPerCharacter}" Suffix="" Minimum="0" Maximum="2000000000" SmallChange="100" LargeChange="1000" TickFrequency="5000" ToolTip="{DynamicResource ServerSettings_MaxHexagonsPerCharacterTooltip}"/>
<cctl:AnnotatedSlider Grid.Row="2" Grid.ColumnSpan="3" Margin="5,5,5,0" Label="{DynamicResource ServerSettings_HexagonRewardMultiplierLabel}" Value="{Binding HexagonRewardMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HexagonRewardMultiplierTooltip}"/>
<cctl:AnnotatedSlider Grid.Row="3" Grid.ColumnSpan="3" Margin="5,5,5,0" Label="{DynamicResource ServerSettings_HexagonCostMultiplierLabel}" Value="{Binding HexagonCostMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HexagonCostMultiplierTooltip}"/>
</Grid>