Skip to content
Permalink
Browse files

Version 2.0.2.6

  • Loading branch information...
metonator committed Feb 16, 2019
1 parent fdd41ad commit 389976b5e6c8f9c038acb8621f4def8ebd113cef
@@ -32,6 +32,8 @@ class Self {
public static int ProxyPort = new Random().Next(6260, 6269);
public static Boolean sendRequest = true;

public static string rememberjson = "";

public static void runAsAdmin() {
string[] args = Environment.GetCommandLineArgs();

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -90,6 +90,8 @@ public sealed partial class MainScreen : Form {
private Point _endPoint = new Point(562, 144);

ServerInfo _serverInfo = null;
GetServerInformation json = new GetServerInformation();
String purejson = String.Empty;

public static DiscordRpcClient discordRpcClient;
private Random rnd;
@@ -1210,7 +1212,9 @@ private void loginButton_MouseLeave(object sender, EventArgs e)
serverStatusDictionary[_serverInfo.Id] = 1;
}

var json = JsonConvert.DeserializeObject<GetServerInformation>(e2.Result);
purejson = e2.Result;
json = JsonConvert.DeserializeObject<GetServerInformation>(e2.Result);
Self.rememberjson = e2.Result;
try {
_realServernameBanner = json.serverName;
if (!string.IsNullOrEmpty(json.bannerUrl)) {
@@ -2554,5 +2558,9 @@ private void OnShowMessage(string message, string header)
serverPick.SelectedIndex = randomizer;
rememberit = randomizer;
}

private void srvinfo_Click(object sender, EventArgs e) {
new SrvInfo().Show();
}
}
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GameLauncher.App
{
public partial class SrvInfo : Form
{
public SrvInfo()
{
InitializeComponent();
/*
messageSrv
homePageUrl
facebookUrl
discordUrl
serverName
country
timezone
bannerUrl
adminList
ownerList
numberOfRegistered
activatedHolidaySceneryGroups
disactivatedHolidaySceneryGroups
onlineNumber
requireTicket
serverVersion
maxUsersAllowed
allowedCountries
freeroamMapSocket
freeroamServers
modernAuthSupport
*/
}
}
}
@@ -198,6 +198,12 @@
<DependentUpon>MainScreen.cs</DependentUpon>
</Compile>
<Compile Include="App\Classes\JsonScheme.cs" />
<Compile Include="App\SrvInfo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="App\SrvInfo.Designer.cs">
<DependentUpon>SrvInfo.cs</DependentUpon>
</Compile>
<Compile Include="App\WelcomeScreen.cs">
<SubType>Form</SubType>
</Compile>
@@ -32,5 +32,5 @@
// Możesz określić wszystkie wartości lub użyć domyślnych numerów kompilacji i poprawki
// przy użyciu symbolu „*”, tak jak pokazano poniżej:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.2.5")]
[assembly: AssemblyFileVersion("2.0.2.5")]
[assembly: AssemblyVersion("2.0.2.6")]
[assembly: AssemblyFileVersion("2.0.2.6")]

0 comments on commit 389976b

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.