Skip to content

Commit 73a7551

Browse files
committed
Main form updates, about updates, core updates - small re-structure - Screenshots
1 parent da97994 commit 73a7551

13 files changed

Lines changed: 202 additions & 55 deletions

File tree

File renamed without changes.

Steam Server Creation Tool V2/Core/Core.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ public static class Core
1515
{
1616
public static bool debug = false;
1717

18-
public static string softwareName = "Steam Server Creation Tool";
19-
public static string softwareNameShort = "SSCT";
18+
public static string softwareName = "Steam Server Creation Tool V2";
19+
public static string softwareNameShort = "SSCTV2";
2020

2121
public static string authorRealName = "Victor";
2222
public static string authorName = "N0tiC";
23-
public static string authorContact = "contact@bytevaultstudio.se";
23+
public static string discordCommunity = "https://discord.gg/WypdXXJ34p";
2424

2525
public static string projectURL = "https://github.com/n0tic/Steam-Server-Creation-Tool-V2";
2626
public static string reposURL = "https://api.github.com/repos/n0tic/Steam-Server-Creation-Tool-V2/releases";
@@ -35,7 +35,7 @@ public static class Core
3535
public static BuildTypes buildType = BuildTypes.Alpha;
3636
public static int majorVersion = 0;
3737
public static int minorVersion = 0;
38-
public static int buildVersion = 1;
38+
public static int buildVersion = 2;
3939

4040
private static bool checkingUpdate = false;
4141
public static bool updateAvailable = false;

Steam Server Creation Tool V2/Forms/AboutForm.Designer.cs

Lines changed: 127 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Steam Server Creation Tool V2/Forms/AboutForm.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,16 @@ public AboutForm()
2020
InitializeComponent();
2121

2222
Version_Label.Text = $"Version {Core.GetVersion()}";
23+
AppName_Label.Text = $"Application: {Core.softwareName} ({Core.softwareNameShort})";
24+
Author_Label.Text = $"Author: {Core.authorName} ({Core.authorRealName})";
25+
Discord_Label.Text = $"Discord: {Core.discordCommunity}";
26+
ProjectURL_Label.Text = $"Project URL: {Core.projectURL}";
2327
}
2428

2529
private void Close_Button_Click(object sender, EventArgs e) => Close();
2630
private void MovePanel_MouseDown(object sender, MouseEventArgs e) => Core.MoveWindow(this, e);
2731
private void Donate_Button_Click(object sender, EventArgs e) => Process.Start(Core.donateURL);
32+
private void Discord_Label_Click(object sender, EventArgs e) => Process.Start(Core.discordCommunity);
33+
private void ProjectURL_Label_Click(object sender, EventArgs e) => Process.Start(Core.projectURL);
2834
}
2935
}

Steam Server Creation Tool V2/Forms/MainForm.Designer.cs

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Steam Server Creation Tool V2/Forms/MainForm.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private async Task InitializeAsyncStart()
8787
//Load settings
8888
settings = Core.LoadSettings();
8989

90-
if (settings == null) settings = new Settings() { userData = new UserData() };
90+
if (settings == null) settings = new Settings();
9191

9292
InstallFound();
9393

@@ -134,8 +134,8 @@ private void ApplyLoadedSettings()
134134
if (settings.userData != null)
135135
{
136136
UsernameField_Textbox.Text = settings.userData.Username;
137-
// TODO: Find reason why password is not working when decoding...
138-
//PasswordField_Textbox.Text = Core.Base64Decode(settings.userData.Password);
137+
// Find reason why password is not working (sometimes) when decoding... Bug?
138+
PasswordField_Textbox.Text = Core.Base64Decode(settings.userData.Password);
139139
}
140140

141141
UpdateInstalledServersInfo();
@@ -598,6 +598,7 @@ private void SaveSettings_Button_Click(object sender, EventArgs e)
598598
/// <param name="e"></param>
599599
private async void CheckUpdates_Button_Click(object sender, EventArgs e)
600600
{
601+
// Work in progress only works if repo is public
601602
workInProgress = false;
602603
App_ProgressBar.Visible = true;
603604
await Core.CheckForUpdatesAsync(true);

Steam Server Creation Tool V2/Properties/Resources.Designer.cs

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Steam Server Creation Tool V2/Properties/Resources.resx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,16 @@
178178
<data name="Donate" type="System.Resources.ResXFileRef, System.Windows.Forms">
179179
<value>..\Resources\Donate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
180180
</data>
181+
<data name="ManageServers" type="System.Resources.ResXFileRef, System.Windows.Forms">
182+
<value>..\Resources\ManageServers.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
183+
</data>
184+
<data name="NewServer" type="System.Resources.ResXFileRef, System.Windows.Forms">
185+
<value>..\Resources\NewServer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
186+
</data>
187+
<data name="Settings" type="System.Resources.ResXFileRef, System.Windows.Forms">
188+
<value>..\Resources\Settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
189+
</data>
190+
<data name="SteamCMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
191+
<value>..\Resources\SteamCMD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
192+
</data>
181193
</root>
19.6 KB
Loading
18.7 KB
Loading

0 commit comments

Comments
 (0)