mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
Server Setting Changes
- tribe alliance checkbox fixed. - custom harvest multiplier checkbox fixed.
This commit is contained in:
parent
2391ab61d8
commit
3e25077cc7
5 changed files with 47 additions and 5 deletions
|
|
@ -30,10 +30,21 @@ namespace ServerManagerTool.Lib
|
||||||
this.FirstOrDefault(r => r.IsEquivalent(item)).Multiplier = item.Multiplier;
|
this.FirstOrDefault(r => r.IsEquivalent(item)).Multiplier = item.Multiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
IsEnabled = (Count > 0);
|
IsEnabled = this.Any(d => d.ShouldSave());
|
||||||
|
|
||||||
Sort(AggregateIniValue.SortKeySelector);
|
Sort(AggregateIniValue.SortKeySelector);
|
||||||
}
|
}
|
||||||
|
public override void Reset()
|
||||||
|
{
|
||||||
|
Clear();
|
||||||
|
|
||||||
|
if (this._resetFunc != null)
|
||||||
|
this.AddRange(this._resetFunc());
|
||||||
|
|
||||||
|
IsEnabled = this.Any(d => d.ShouldSave());
|
||||||
|
|
||||||
|
this.Sort(AggregateIniValue.SortKeySelector);
|
||||||
|
}
|
||||||
|
|
||||||
public override IEnumerable<string> ToIniValues()
|
public override IEnumerable<string> ToIniValues()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2005,7 +2005,7 @@
|
||||||
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_TribeNameChangeCooldownLabel}" Value="{Binding TribeNameChangeCooldown}" Minimum="1" Maximum="300" SmallChange="1" LargeChange="5" TickFrequency="10" Suffix="{DynamicResource SliderUnits_Minutes}" ToolTip="{DynamicResource ServerSettings_TribeNameChangeCooldownTooltip}" />
|
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_TribeNameChangeCooldownLabel}" Value="{Binding TribeNameChangeCooldown}" Minimum="1" Maximum="300" SmallChange="1" LargeChange="5" TickFrequency="10" Suffix="{DynamicResource SliderUnits_Minutes}" ToolTip="{DynamicResource ServerSettings_TribeNameChangeCooldownTooltip}" />
|
||||||
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_TribeSlotReuseCooldownLabel}" Value="{Binding TribeSlotReuseCooldown, Converter={StaticResource SecondsToMinutesConverter}}" Minimum="0" Maximum="300" SmallChange="1" LargeChange="5" TickFrequency="10" Suffix="{DynamicResource SliderUnits_Minutes}" ToolTip="{DynamicResource ServerSettings_TribeSlotReuseCooldownTooltip}" />
|
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_TribeSlotReuseCooldownLabel}" Value="{Binding TribeSlotReuseCooldown, Converter={StaticResource SecondsToMinutesConverter}}" Minimum="0" Maximum="300" SmallChange="1" LargeChange="5" TickFrequency="10" Suffix="{DynamicResource SliderUnits_Minutes}" ToolTip="{DynamicResource ServerSettings_TribeSlotReuseCooldownTooltip}" />
|
||||||
|
|
||||||
<cctl:CheckBoxAndTextBlock Margin="5" IsChecked="{Binding AllowTribeAlliances}" Text="{DynamicResource ServerSettings_AllowTribeAlliancesLabel}" ToolTip="{DynamicResource ServerSettings_AllowTribeAlliancesTooltip}" HorizontalAlignment="Left"/>
|
<cctl:CheckBoxAndTextBlock Margin="5" IsChecked="{Binding AllowTribeAlliances, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowTribeAlliancesLabel}" ToolTip="{DynamicResource ServerSettings_AllowTribeAlliancesTooltip}" HorizontalAlignment="Left"/>
|
||||||
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxAlliancesPerTribeLabel}" Value="{Binding MaxAlliancesPerTribe}" IsEnabled="{Binding AllowTribeAlliances, FallbackValue=False}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_MaxAlliancesPerTribeTooltip}" />
|
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxAlliancesPerTribeLabel}" Value="{Binding MaxAlliancesPerTribe}" IsEnabled="{Binding AllowTribeAlliances, FallbackValue=False}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_MaxAlliancesPerTribeTooltip}" />
|
||||||
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxTribesPerAllianceLabel}" Value="{Binding MaxTribesPerAlliance}" IsEnabled="{Binding AllowTribeAlliances, FallbackValue=False}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_MaxTribesPerAllianceTooltip}" />
|
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxTribesPerAllianceLabel}" Value="{Binding MaxTribesPerAlliance}" IsEnabled="{Binding AllowTribeAlliances, FallbackValue=False}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_MaxTribesPerAllianceTooltip}" />
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,19 @@
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:7E95E486-1977-42F0-9AD6-8DB89A81A877</id>
|
<id>urn:uuid:7E95E486-1977-42F0-9AD6-8DB89A81A877</id>
|
||||||
<title>1.1.435 (1.1.435.2)</title>
|
<title>1.1.435 (1.1.435.3)</title>
|
||||||
<summary>1.1.435.2</summary>
|
<summary>1.1.435.3</summary>
|
||||||
<link href="" />
|
<link href="" />
|
||||||
<updated>2022-07-08T00:00:00Z</updated>
|
<updated>2022-07-08T00:00:00Z</updated>
|
||||||
<content type="xhtml">
|
<content type="xhtml">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
<p>
|
<p>
|
||||||
|
<u style="font-size: .9em;">BUGFIX</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>Server Settings - Rules Section - Enable Tribe Alliance - fixed the checkbox, so that it enables/disables per profile.</li>
|
||||||
|
<li>Server Settings - Environment Section - Custom Harvest Amount Multiplier - fixed the checkbox, so that it enables/disables when there are changes or unknown resources.</li>
|
||||||
|
</ul>
|
||||||
<u style="font-size: .9em;">CHANGE</u>
|
<u style="font-size: .9em;">CHANGE</u>
|
||||||
<br/>
|
<br/>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,30 @@
|
||||||
<link href="http://arkservermanager.freeforums.net/" />
|
<link href="http://arkservermanager.freeforums.net/" />
|
||||||
<updated>2022-07-08T00:00:00Z</updated>
|
<updated>2022-07-08T00:00:00Z</updated>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<id>urn:uuid:7E95E486-1977-42F0-9AD6-8DB89A81A877</id>
|
||||||
|
<title>1.1.435 (1.1.435.3)</title>
|
||||||
|
<summary>1.1.435.3</summary>
|
||||||
|
<link href="" />
|
||||||
|
<updated>2022-07-08T00:00:00Z</updated>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
|
<p>
|
||||||
|
<u style="font-size: .9em;">BUGFIX</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>Server Settings - Rules Section - Enable Tribe Alliance - fixed the checkbox, so that it enables/disables per profile.</li>
|
||||||
|
<li>Server Settings - Environment Section - Custom Harvest Amount Multiplier - fixed the checkbox, so that it enables/disables when there are changes or unknown resources.</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
|
<author>
|
||||||
|
<name>bletch</name>
|
||||||
|
<email>bletch1971@hotmail.com</email>
|
||||||
|
</author>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:7E95E486-1977-42F0-9AD6-8DB89A81A877</id>
|
<id>urn:uuid:7E95E486-1977-42F0-9AD6-8DB89A81A877</id>
|
||||||
<title>1.1.435 (1.1.435.2)</title>
|
<title>1.1.435 (1.1.435.2)</title>
|
||||||
|
|
|
||||||
|
|
@ -48,11 +48,12 @@ namespace ServerManagerTool.Common.Model
|
||||||
this.Sort(AggregateIniValue.SortKeySelector);
|
this.Sort(AggregateIniValue.SortKeySelector);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Reset()
|
public virtual void Reset()
|
||||||
{
|
{
|
||||||
this.Clear();
|
this.Clear();
|
||||||
if (this._resetFunc != null)
|
if (this._resetFunc != null)
|
||||||
this.AddRange(this._resetFunc());
|
this.AddRange(this._resetFunc());
|
||||||
|
IsEnabled = (Count > 0);
|
||||||
|
|
||||||
this.Sort(AggregateIniValue.SortKeySelector);
|
this.Sort(AggregateIniValue.SortKeySelector);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue