mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 05:05:40 +12:00
Update N00BS
This commit is contained in:
parent
e0aff19845
commit
9d50f23067
34 changed files with 177 additions and 3332 deletions
|
@ -1,5 +1,5 @@
|
|||
Package: hisp
|
||||
Version: 1.7.103
|
||||
Version: 1.7.109
|
||||
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
|
||||
Maintainer: Li
|
||||
Homepage: https://islehorse.com
|
||||
|
|
|
@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
|
|||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.7.103.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.103.0")]
|
||||
[assembly: AssemblyVersion("1.7.109.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.109.0")]
|
||||
|
|
|
@ -24,20 +24,20 @@
|
|||
<NativeMenuItem Header="Server">
|
||||
<NativeMenu>
|
||||
<NativeMenuItem Header="Shutdown Server" Command="{Binding shutdownServerCommand}"/>
|
||||
<!-- <NativeMenuItem Header="Chat">
|
||||
<NativeMenuItem Header="Chat">
|
||||
<NativeMenu>
|
||||
<NativeMenuItem Header="{Binding swearFilterHeader}" Command="{Binding toggleSwearFilter}"/>
|
||||
<NativeMenuItem Header="Disable Corrections"/>
|
||||
<NativeMenuItem Header="Disable Non-Vio Checks"/>
|
||||
<NativeMenuItem Header="Disable Spam Filter"/>
|
||||
<NativeMenuItem Header="{Binding correctionsHeader}" Command="{Binding toggleCorrections}"/>
|
||||
<NativeMenuItem Header="{Binding vioChecksHeader}" Command="{Binding toggleNonVioChecks}"/>
|
||||
<NativeMenuItem Header="{Binding spamFilterHeader}" Command="{Binding toggleSpamFilter}"/>
|
||||
</NativeMenu>
|
||||
</NativeMenuItem>
|
||||
<NativeMenuItem Header="Game">
|
||||
<NativeMenu>
|
||||
<NativeMenuItem Header="Disable All Users Subscribed"/>
|
||||
<NativeMenuItem Header="Disable Fix Offical Bugs"/>
|
||||
<NativeMenuItem Header="{Binding allUsersSubbedHeader}" Command="{Binding toggleAllUsersSubbed}"/>
|
||||
<NativeMenuItem Header="{Binding fixOfficalBugsHeader}" Command="{Binding toggleFixOfficalBugs}"/>
|
||||
</NativeMenu>
|
||||
</NativeMenuItem> -->
|
||||
</NativeMenuItem>
|
||||
<NativeMenuItem Header="Advanced">
|
||||
<NativeMenu>
|
||||
<NativeMenuItem Header="Edit "server.properties"" Command="{Binding editServerPropertiesCommand}"/>
|
||||
|
|
|
@ -8,18 +8,34 @@ namespace MPN00BS.ViewModels
|
|||
{
|
||||
public class HispViewModel : ViewModelBase
|
||||
{
|
||||
|
||||
public void RefreshNames()
|
||||
{
|
||||
swearFilterHeader = (ConfigReader.EnableSwearFilter ? "Disable" : "Enable") + " Swear Filter";
|
||||
correctionsHeader = (ConfigReader.EnableCorrections ? "Disable" : "Enable") + " Corrections";
|
||||
vioChecksHeader = (ConfigReader.EnableNonViolations ? "Disable" : "Enable") + " Non-Vio Checks";
|
||||
spamFilterHeader = (ConfigReader.EnableSpamFilter ? "Disable" : "Enable") + " Spam Filter";
|
||||
allUsersSubbedHeader = (ConfigReader.AllUsersSubbed ? "Disable" : "Enable") + " All Users Subscribed";
|
||||
fixOfficalBugsHeader = (ConfigReader.FixOfficalBugs ? "Disable" : "Enable") + " Fixing Offical Bugs";
|
||||
}
|
||||
public bool CheckServerRunningAndShowMessage()
|
||||
{
|
||||
if (!ServerStarter.HasServerStarted)
|
||||
{
|
||||
MessageBox.Show(null, "There is no Horse Isle Server running yet.", "Server not Started.", MessageBox.MessageBoxButtons.Ok);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public HispViewModel()
|
||||
{
|
||||
ServerStarter.ReadServerProperties();
|
||||
swearFilterHeader = (ConfigReader.EnableSwearFilter ? "Disable" : "Enable") + " Swear Filter";
|
||||
RefreshNames();
|
||||
|
||||
createAccountCommand = MiniCommand.Create(() =>
|
||||
{
|
||||
if (!ServerStarter.HasServerStarted)
|
||||
{
|
||||
MessageBox.Show(null, "There is no Horse Isle Server running yet.", "Server not Started.", MessageBox.MessageBoxButtons.Ok);
|
||||
return;
|
||||
}
|
||||
|
||||
new RegisterWindow().Show();
|
||||
});
|
||||
|
||||
|
@ -27,6 +43,7 @@ namespace MPN00BS.ViewModels
|
|||
{
|
||||
if (!ServerStarter.HasServerStarted)
|
||||
{
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
MessageBox.Show(null, "There is no Horse Isle Server running yet.", "Server not Started.", MessageBox.MessageBoxButtons.Ok);
|
||||
return;
|
||||
}
|
||||
|
@ -36,11 +53,7 @@ namespace MPN00BS.ViewModels
|
|||
|
||||
editServerPropertiesCommand = MiniCommand.Create(() =>
|
||||
{
|
||||
if (!ServerStarter.HasServerStarted)
|
||||
{
|
||||
MessageBox.Show(null, "There is no Horse Isle Server running yet.", "Server not Started.", MessageBox.MessageBoxButtons.Ok);
|
||||
return;
|
||||
}
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
Process p = new Process();
|
||||
p.StartInfo.FileName = Path.Combine(ServerStarter.BaseDir, "server.properties");
|
||||
|
@ -51,11 +64,7 @@ namespace MPN00BS.ViewModels
|
|||
|
||||
openServerFolderCommand = MiniCommand.Create(() =>
|
||||
{
|
||||
if (!ServerStarter.HasServerStarted)
|
||||
{
|
||||
MessageBox.Show(null, "There is no Horse Isle Server running yet.", "Server not Started.", MessageBox.MessageBoxButtons.Ok);
|
||||
return;
|
||||
}
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
Process p = new Process();
|
||||
p.StartInfo.FileName = ServerStarter.BaseDir;
|
||||
|
@ -65,11 +74,7 @@ namespace MPN00BS.ViewModels
|
|||
|
||||
shutdownServerCommand = MiniCommand.Create(() =>
|
||||
{
|
||||
if (!ServerStarter.HasServerStarted)
|
||||
{
|
||||
MessageBox.Show(null, "There is no Horse Isle Server running yet.", "Server not Started.", MessageBox.MessageBoxButtons.Ok);
|
||||
return;
|
||||
}
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
GameServer.ShutdownServer();
|
||||
});
|
||||
|
@ -77,30 +82,161 @@ namespace MPN00BS.ViewModels
|
|||
|
||||
toggleSwearFilter = MiniCommand.Create(() =>
|
||||
{
|
||||
if (!ServerStarter.HasServerStarted)
|
||||
{
|
||||
MessageBox.Show(null, "There is no Horse Isle Server running yet.", "Server not Started.", MessageBox.MessageBoxButtons.Ok);
|
||||
return;
|
||||
}
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
bool enab = !ConfigReader.EnableSwearFilter;
|
||||
ServerStarter.ModifyConfig("enable_word_filter", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.EnableSwearFilter = enab;
|
||||
swearFilterHeader = (ConfigReader.EnableSwearFilter ? "Disable" : "Enable") + " Swear Filter";
|
||||
RefreshNames();
|
||||
});
|
||||
|
||||
toggleCorrections = MiniCommand.Create(() =>
|
||||
{
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
bool enab = !ConfigReader.EnableCorrections;
|
||||
ServerStarter.ModifyConfig("enable_corrections", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.EnableCorrections = enab;
|
||||
RefreshNames();
|
||||
});
|
||||
|
||||
toggleNonVioChecks = MiniCommand.Create(() =>
|
||||
{
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
bool enab = !ConfigReader.EnableNonViolations;
|
||||
ServerStarter.ModifyConfig("enable_non_violation_check", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.EnableNonViolations = enab;
|
||||
RefreshNames();
|
||||
});
|
||||
|
||||
toggleSpamFilter = MiniCommand.Create(() =>
|
||||
{
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
bool enab = !ConfigReader.EnableSpamFilter;
|
||||
ServerStarter.ModifyConfig("enable_spam_filter", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.EnableSpamFilter = enab;
|
||||
RefreshNames();
|
||||
});
|
||||
|
||||
|
||||
toggleAllUsersSubbed = MiniCommand.Create(() =>
|
||||
{
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
bool enab = !ConfigReader.AllUsersSubbed;
|
||||
ServerStarter.ModifyConfig("all_users_subscribed", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.AllUsersSubbed = enab;
|
||||
RefreshNames();
|
||||
});
|
||||
|
||||
|
||||
toggleFixOfficalBugs = MiniCommand.Create(() =>
|
||||
{
|
||||
if (CheckServerRunningAndShowMessage()) return;
|
||||
|
||||
bool enab = !ConfigReader.FixOfficalBugs;
|
||||
ServerStarter.ModifyConfig("fix_offical_bugs", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.FixOfficalBugs = enab;
|
||||
RefreshNames();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Binding variables
|
||||
|
||||
public String swearFilterHeader { get; set; }
|
||||
private String _swearFilterHeader;
|
||||
public String swearFilterHeader
|
||||
{
|
||||
get
|
||||
{
|
||||
return _swearFilterHeader;
|
||||
}
|
||||
set
|
||||
{
|
||||
RaiseAndSetIfChanged(ref _swearFilterHeader, value);
|
||||
}
|
||||
}
|
||||
|
||||
private String _correctionsHeader;
|
||||
public String correctionsHeader
|
||||
{
|
||||
get
|
||||
{
|
||||
return _correctionsHeader;
|
||||
}
|
||||
set
|
||||
{
|
||||
RaiseAndSetIfChanged(ref _correctionsHeader, value);
|
||||
}
|
||||
}
|
||||
private String _vioChecksHeader;
|
||||
public String vioChecksHeader
|
||||
{
|
||||
get
|
||||
{
|
||||
return _vioChecksHeader;
|
||||
}
|
||||
set
|
||||
{
|
||||
RaiseAndSetIfChanged(ref _vioChecksHeader, value);
|
||||
}
|
||||
}
|
||||
|
||||
private String _spamFilterHeader;
|
||||
public String spamFilterHeader
|
||||
{
|
||||
get
|
||||
{
|
||||
return _spamFilterHeader;
|
||||
}
|
||||
set
|
||||
{
|
||||
RaiseAndSetIfChanged(ref _spamFilterHeader, value);
|
||||
}
|
||||
}
|
||||
|
||||
private String _allUsersSubbedHeader;
|
||||
public String allUsersSubbedHeader
|
||||
{
|
||||
get
|
||||
{
|
||||
return _allUsersSubbedHeader;
|
||||
}
|
||||
set
|
||||
{
|
||||
RaiseAndSetIfChanged(ref _allUsersSubbedHeader, value);
|
||||
}
|
||||
}
|
||||
|
||||
private String _fixOfficalBugsHeader;
|
||||
public String fixOfficalBugsHeader
|
||||
{
|
||||
get
|
||||
{
|
||||
return _fixOfficalBugsHeader;
|
||||
}
|
||||
set
|
||||
{
|
||||
RaiseAndSetIfChanged(ref _fixOfficalBugsHeader, value);
|
||||
}
|
||||
}
|
||||
// Commands
|
||||
public MiniCommand shutdownServerCommand { get; }
|
||||
public MiniCommand createAccountCommand { get; }
|
||||
public MiniCommand editServerPropertiesCommand { get; }
|
||||
public MiniCommand openServerFolderCommand { get; }
|
||||
public MiniCommand toggleSwearFilter { get; }
|
||||
public MiniCommand resetPasswordCommand { get; }
|
||||
|
||||
public MiniCommand toggleSwearFilter { get; }
|
||||
public MiniCommand toggleCorrections { get; }
|
||||
public MiniCommand toggleNonVioChecks { get; }
|
||||
public MiniCommand toggleSpamFilter { get; }
|
||||
|
||||
public MiniCommand toggleAllUsersSubbed { get; }
|
||||
public MiniCommand toggleFixOfficalBugs { get; }
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -1,296 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
|
||||
namespace HTTP
|
||||
{
|
||||
class ContentItem
|
||||
{
|
||||
|
||||
public String name;
|
||||
public String filePath;
|
||||
public ContentItem(string Name,string FilePath)
|
||||
{
|
||||
if(File.Exists(FilePath))
|
||||
{
|
||||
filePath = FilePath;
|
||||
name = Name;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new FileNotFoundException();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class ContentClient
|
||||
{
|
||||
|
||||
public ContentClient(ContentServer Server, Socket ClientSocket)
|
||||
{
|
||||
clientSock = ClientSocket;
|
||||
baseServ = Server;
|
||||
baseServ.WriteDebugOutput("Client Connected @ " + clientSock.RemoteEndPoint.ToString());
|
||||
ProcessRequests();
|
||||
clientSock.Close();
|
||||
|
||||
}
|
||||
|
||||
private ContentServer baseServ;
|
||||
private Socket clientSock;
|
||||
|
||||
|
||||
private byte[] ReadData()
|
||||
{
|
||||
while (clientSock.Available < 1) { }
|
||||
byte[] by = new byte[clientSock.Available];
|
||||
clientSock.Receive(by);
|
||||
return by;
|
||||
}
|
||||
|
||||
private void SendString(string str)
|
||||
{
|
||||
byte[] response = Encoding.UTF8.GetBytes(str);
|
||||
clientSock.Send(response);
|
||||
}
|
||||
|
||||
private string GenerateHeaders(string path, long content_length = 0)
|
||||
{
|
||||
string headers = "";
|
||||
|
||||
if (path == "/")
|
||||
{
|
||||
headers += "HTTP/1.1 200 OK\r\n";
|
||||
headers += "Content-Type: text/html\r\n";
|
||||
headers += "Accept-Ranges: bytes\r\n";
|
||||
headers += "Server: ContentServer\r\n";
|
||||
headers += "Content-Length: " + content_length + "\r\n";
|
||||
headers += "Cache-Control: max-age=0\r\n";
|
||||
headers += "Connection: keep-alive\r\n";
|
||||
headers += "\r\n";
|
||||
}
|
||||
else if (File.Exists(path))
|
||||
{
|
||||
FileInfo info = new FileInfo(path);
|
||||
long length = info.Length;
|
||||
|
||||
if (content_length != 0)
|
||||
length = content_length;
|
||||
|
||||
|
||||
headers += "HTTP/1.1 200 OK\r\n";
|
||||
headers += "Content-Type: application/x-shockwave-flash\r\n";
|
||||
headers += "Accept-Ranges: bytes\r\n";
|
||||
headers += "Server: ContentServer\r\n";
|
||||
headers += "Content-Length: " + length + "\r\n";
|
||||
headers += "Cache-Control: max-age=0\r\n";
|
||||
headers += "Connection: keep-alive\r\n";
|
||||
headers += "\r\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
headers += "HTTP/1.1 404 Not Found\r\n";
|
||||
headers += "Content-Type: text/plain\r\n";
|
||||
headers += "Accept-Ranges: bytes\r\n";
|
||||
headers += "Server: ContentServer\r\n";
|
||||
headers += "Content-Length: " + content_length + "\r\n";
|
||||
headers += "Cache-Control: max-age=3600\r\n";
|
||||
headers += "Connection: keep-alive\r\n";
|
||||
headers += "\r\n";
|
||||
}
|
||||
return headers;
|
||||
}
|
||||
|
||||
private void RespondGet(string name)
|
||||
{
|
||||
baseServ.WriteDebugOutput("GET " + name);
|
||||
|
||||
if (ContentItemExists(name))
|
||||
{
|
||||
ContentItem ci = GetContentItem(name);
|
||||
FileStream fs = File.OpenRead(ci.filePath);
|
||||
try
|
||||
{
|
||||
string requestStr = GenerateHeaders(ci.filePath, fs.Length - fs.Position);
|
||||
|
||||
SendString(requestStr);
|
||||
|
||||
while(fs.Position < fs.Length)
|
||||
{
|
||||
int BUFFER_SIZE = 0x8500000;
|
||||
if(fs.Position + BUFFER_SIZE <= fs.Length)
|
||||
{
|
||||
byte[] buffer = new byte[BUFFER_SIZE];
|
||||
fs.Read(buffer, 0x00, BUFFER_SIZE);
|
||||
clientSock.Send(buffer);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte[] buffer = new byte[fs.Length - fs.Position];
|
||||
fs.Read(buffer, 0x00, buffer.Length);
|
||||
clientSock.Send(buffer);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception) {
|
||||
fs.Close();
|
||||
};
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
string body = GeneratePage(name);
|
||||
string requestStr = GenerateHeaders(name, body.Length);
|
||||
requestStr += body;
|
||||
|
||||
SendString(requestStr);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void RespondHead(string path)
|
||||
{
|
||||
string name = Path.GetFileName(path);
|
||||
baseServ.WriteDebugOutput("HEAD " + path);
|
||||
|
||||
if (ContentItemExists(name))
|
||||
{
|
||||
ContentItem ci = GetContentItem(name);
|
||||
string requestStr = GenerateHeaders(ci.filePath);
|
||||
SendString(requestStr);
|
||||
}
|
||||
else
|
||||
{
|
||||
string body = GeneratePage(path);
|
||||
string requestStr = GenerateHeaders(path, body.Length);
|
||||
SendString(requestStr);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private bool ContentItemExists(string name)
|
||||
{
|
||||
bool exists = false;
|
||||
|
||||
|
||||
foreach (ContentItem ci in baseServ.Contents)
|
||||
{
|
||||
if (ci.name == name)
|
||||
{
|
||||
exists = true;
|
||||
}
|
||||
}
|
||||
return exists;
|
||||
}
|
||||
|
||||
private ContentItem GetContentItem(string name)
|
||||
{
|
||||
|
||||
foreach (ContentItem ci in baseServ.Contents)
|
||||
{
|
||||
if (ci.name == name)
|
||||
{
|
||||
return ci;
|
||||
}
|
||||
}
|
||||
throw new FileNotFoundException();
|
||||
}
|
||||
|
||||
private string GeneratePage(string path)
|
||||
{
|
||||
if (path == "/")
|
||||
{
|
||||
string body = "Horse Isle Web Server..<br>Fork of SilicaAndPina's \"Content Server\"";
|
||||
return body;
|
||||
}
|
||||
else
|
||||
{
|
||||
string body = "File not found.";
|
||||
return body;
|
||||
}
|
||||
}
|
||||
|
||||
private string ExtractPath(string relativeUri)
|
||||
{
|
||||
int questionIndex = relativeUri.IndexOf("?");
|
||||
if (questionIndex != -1)
|
||||
return relativeUri.Substring(0, questionIndex);
|
||||
else
|
||||
return relativeUri;
|
||||
}
|
||||
private string ExtractRelativeUrl(string header)
|
||||
{
|
||||
return header.Split(' ')[1];
|
||||
}
|
||||
private void ProcessRequests()
|
||||
{
|
||||
byte[] data = ReadData();
|
||||
|
||||
// Parse Request
|
||||
|
||||
string curReq = Encoding.UTF8.GetString(data);
|
||||
|
||||
curReq = curReq.Replace("\r\n", "\n");
|
||||
string[] reqLines = curReq.Split('\n');
|
||||
foreach (string line in reqLines)
|
||||
{
|
||||
if (line.StartsWith("GET"))
|
||||
{
|
||||
string relUrl = ExtractRelativeUrl(line);
|
||||
string path = ExtractPath(relUrl);
|
||||
//Dictionary<string,string> query = ExtractQuery(relUrl);
|
||||
RespondGet(path);
|
||||
return;
|
||||
}
|
||||
else if (line.StartsWith("HEAD"))
|
||||
{
|
||||
string relUrl = ExtractRelativeUrl(line);
|
||||
string path = ExtractPath(relUrl);
|
||||
RespondHead(path);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
class ContentServer
|
||||
{
|
||||
public List<ContentItem> Contents = new List<ContentItem>();
|
||||
public Socket ServerSocket;
|
||||
public void WriteDebugOutput(string txt)
|
||||
{
|
||||
Console.WriteLine("[HTTP] " + txt);
|
||||
}
|
||||
|
||||
public void CreateClient(object sender, SocketAsyncEventArgs e)
|
||||
{
|
||||
do
|
||||
{
|
||||
Socket eSocket = e.AcceptSocket;
|
||||
if (eSocket != null)
|
||||
new ContentClient(this, eSocket);
|
||||
e.AcceptSocket = null;
|
||||
} while (!ServerSocket.AcceptAsync(e));
|
||||
}
|
||||
public ContentServer(string ip)
|
||||
{
|
||||
|
||||
WriteDebugOutput("Listening for connections on port 80.");
|
||||
IPEndPoint ep = new IPEndPoint(IPAddress.Parse(ip), 80);
|
||||
ServerSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|
||||
ServerSocket.Bind(ep);
|
||||
ServerSocket.Listen(0x7fffffff);
|
||||
|
||||
SocketAsyncEventArgs e = new SocketAsyncEventArgs();
|
||||
e.Completed += CreateClient;
|
||||
CreateClient(this, e);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
95
HorseIsleServer/N00BS/LoadingForm.Designer.cs
generated
95
HorseIsleServer/N00BS/LoadingForm.Designer.cs
generated
|
@ -1,95 +0,0 @@
|
|||
namespace HISP.Noobs
|
||||
{
|
||||
partial class LoadingForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoadingForm));
|
||||
this.StepName = new System.Windows.Forms.Label();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.StartProgress = new System.Windows.Forms.ProgressBar();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// StepName
|
||||
//
|
||||
this.StepName.AutoSize = true;
|
||||
this.StepName.Location = new System.Drawing.Point(79, 22);
|
||||
this.StepName.Name = "StepName";
|
||||
this.StepName.Size = new System.Drawing.Size(92, 15);
|
||||
this.StepName.TabIndex = 0;
|
||||
this.StepName.Text = "Starting Server...";
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(61, 73);
|
||||
this.pictureBox1.TabIndex = 1;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// StartProgress
|
||||
//
|
||||
this.StartProgress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.StartProgress.Location = new System.Drawing.Point(79, 40);
|
||||
this.StartProgress.Maximum = 19;
|
||||
this.StartProgress.Name = "StartProgress";
|
||||
this.StartProgress.Size = new System.Drawing.Size(618, 23);
|
||||
this.StartProgress.Step = 1;
|
||||
this.StartProgress.TabIndex = 2;
|
||||
//
|
||||
// LoadingForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(709, 101);
|
||||
this.Controls.Add(this.StartProgress);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.StepName);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MaximumSize = new System.Drawing.Size(725, 140);
|
||||
this.MinimumSize = new System.Drawing.Size(725, 140);
|
||||
this.Name = "LoadingForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Starting Server...";
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label StepName;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
public System.Windows.Forms.ProgressBar StartProgress;
|
||||
}
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
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 HISP.Noobs
|
||||
{
|
||||
public partial class LoadingForm : Form
|
||||
{
|
||||
public LoadingForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,154 +0,0 @@
|
|||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
R0lGODlhOgBEAIYAAAAAAP///0kBPZyEmPsA7tEAxs8AxMoAv8gAv8EAuaEAmp8AmIoAhDIALzAALiUF
|
||||
I7cAtKAAmp4AmJ4AmpcAlJUAkpEAjZAAjYUAgIQAgHkAd1gAVVcAVFUAUlMAUE8ATUkARz0APDUAMzEA
|
||||
MC4ALf8n96gAposAioMAgWsAa0QAQzUANZkAnZUAmI4AkXMAdWEAZF8AYS8AMIgAjn4Ag3sAf1sAXlcA
|
||||
WzcAOWhAeE0wWKaJsZF4m35Lk6mpqXZ2dkBAQP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAA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UU1Evsw/KWJBC99uKrL78W+Auw
|
||||
wAQbjPAHCjPs8MMQbyVxEMT6e8IJKLTsMgggELtuvf4SCzMEEKxcM8nxInQSThMLoDLLLrcMs8w6UEvz
|
||||
BzaDgLPOHwxEckI//xQ0sSqo8MILLLCggQZZ92xQ1iaY8LUKBk3tM2RSP5z11l2frYLYBZFtNtgI0W0S
|
||||
21cLwxBCCC64MMMMKaQQgkMhtNBC4YcfpDdbSxWkduCDM4644oUn9PhAP0techAj0EBDDDHg4BAOMMCw
|
||||
AkObC9Q5QWqDLjrpD6Guet7cUh1532LLUEMNI0C0gg02yIB7QzG1HbvvwAtPvOO5O5R87AKRcMMNwTtE
|
||||
OgnHy4sSyp9Xf332DOGw/WPfUx+EA9c3cDrx3Ms0ffjrt/++DfEnpf4IAwwgwun9yx9Q1BeE/v3PIQEs
|
||||
zEFEYLqHjMABCjQIAyHyQJUEBAA7
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAGyAAAAEAIAAoDgAAFgAAACgAAAAbAAAAQAAAAAEAIAAAAAAAgA0AAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAPQFJAD0BSQo9AUkpPQFJGj0BSQBJHk0AWzZePT8NQLwyADALOAA3AAAAAAAAAAAAnZCiAMrK
|
||||
0AVCGUSsMAMyVC8CMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAIQEg/Hj0D
|
||||
STw9AUnoPQFJljYAPQAZABsQcEpyul0yX8sLAA0KMwA1AAAAAAAAAAAAgl2EAF8vX2JvSXH0Nws4UTMH
|
||||
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAtQEFArT0LSEs9AUn9PQFJpDQA
|
||||
OQAoACofSwVK6UcER8wYAB4KLwAyAAAAAAAAAAAAWwdZAEc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DS7MyBDWiMigzxUBBPzk/QD8AAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAOsf9ADyIPtdoxGp8koATF9NBFAAQUNBHkBBQBBAQEAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKYV
|
||||
qgClFKkjdAh4fVEAVBRXAFoAAAAAAAAAAAAAAAAAAAAAAAAAAADGPH/gBDx/4AQ8d+AAPGPgAD4h4CAe
|
||||
MOAADBjgAAAA4AAAAOCAAAHggAAD4IAAA+DAAAPgwAAD4MAAA+DgAAPg4AAD4OAAA+DwAAPg+MACAP/4
|
||||
AgD/+AAA//wAAP/8AAD//AAA//4AAP/+ACD//gBg//8A4P//gOD//8Tg///H4A==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
82
HorseIsleServer/N00BS/MpOrSp.Designer.cs
generated
82
HorseIsleServer/N00BS/MpOrSp.Designer.cs
generated
|
@ -1,82 +0,0 @@
|
|||
namespace HISP
|
||||
{
|
||||
partial class MpOrSp
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MpOrSp));
|
||||
this.Singleplayer = new System.Windows.Forms.Button();
|
||||
this.Multiplayer = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Singleplayer
|
||||
//
|
||||
this.Singleplayer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Singleplayer.Location = new System.Drawing.Point(11, 12);
|
||||
this.Singleplayer.Name = "Singleplayer";
|
||||
this.Singleplayer.Size = new System.Drawing.Size(581, 32);
|
||||
this.Singleplayer.TabIndex = 0;
|
||||
this.Singleplayer.Text = "Play Singleplayer";
|
||||
this.Singleplayer.UseVisualStyleBackColor = true;
|
||||
this.Singleplayer.Click += new System.EventHandler(this.Singleplayer_Click);
|
||||
//
|
||||
// Multiplayer
|
||||
//
|
||||
this.Multiplayer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Multiplayer.Location = new System.Drawing.Point(11, 50);
|
||||
this.Multiplayer.Name = "Multiplayer";
|
||||
this.Multiplayer.Size = new System.Drawing.Size(581, 32);
|
||||
this.Multiplayer.TabIndex = 1;
|
||||
this.Multiplayer.Text = "Play Multiplayer";
|
||||
this.Multiplayer.UseVisualStyleBackColor = true;
|
||||
this.Multiplayer.Click += new System.EventHandler(this.Multiplayer_Click);
|
||||
//
|
||||
// MpOrSp
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(604, 94);
|
||||
this.Controls.Add(this.Multiplayer);
|
||||
this.Controls.Add(this.Singleplayer);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(620, 133);
|
||||
this.Name = "MpOrSp";
|
||||
this.Text = "Select Mode";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button Singleplayer;
|
||||
private System.Windows.Forms.Button Multiplayer;
|
||||
}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
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 HISP
|
||||
{
|
||||
public partial class MpOrSp : Form
|
||||
{
|
||||
public bool Mutliplayer = false;
|
||||
|
||||
public MpOrSp()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Singleplayer_Click(object sender, EventArgs e)
|
||||
{
|
||||
Mutliplayer = false;
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void Multiplayer_Click(object sender, EventArgs e)
|
||||
{
|
||||
Mutliplayer = true;
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,126 +0,0 @@
|
|||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAGyAAAAEAIAAoDgAAFgAAACgAAAAbAAAAQAAAAAEAIAAAAAAAgA0AAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAPQFJAD0BSQo9AUkpPQFJGj0BSQBJHk0AWzZePT8NQLwyADALOAA3AAAAAAAAAAAAnZCiAMrK
|
||||
0AVCGUSsMAMyVC8CMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAIQEg/Hj0D
|
||||
STw9AUnoPQFJljYAPQAZABsQcEpyul0yX8sLAA0KMwA1AAAAAAAAAAAAgl2EAF8vX2JvSXH0Nws4UTMH
|
||||
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAtQEFArT0LSEs9AUn9PQFJpDQA
|
||||
OQAoACofSwVK6UcER8wYAB4KLwAyAAAAAAAAAAAAWwdZAEcDRZBUBlL/MgEzUDABMQA9AUkAPQFJAD0B
|
||||
SQE9AUkAPQFJAAAAAAAAAAAAAAAAAAAAAABAQEBcQEE/iz0JSEg9AUn8PQFJvT4BSyQmACYeTwBN6UoA
|
||||
ScwVABgKLwAwAAAAAAAAAAAAXgBcAE8ATT9RAE/hRQBEbxQAGQA8AUcAPQFJEz0BSX89AUkTPQFJAD0B
|
||||
SQAAAAAAAAAAAAAAAAA8ODzzKxYsUj8ATCY9AUnDPQFJ/z0BSY8gAB8bYABd6GAAXtxKAEklXwBeADcA
|
||||
MwAAAAAAYQBfAJgA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VEAVBRXAFoAAAAAAAAAAAAAAAAAAAAAAAAAAADGPH/gBDx/4AQ8d+AAPGPgAD4h4CAe
|
||||
MOAADBjgAAAA4AAAAOCAAAHggAAD4IAAA+DAAAPgwAAD4MAAA+DgAAPg4AAD4OAAA+DwAAPg+MACAP/4
|
||||
AgD/+AAA//wAAP/8AAD//AAA//4AAP/+ACD//gBg//8A4P//gOD//8Tg///H4A==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
|
@ -1,147 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>HISP.Noobs</RootNamespace>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<TargetFramework>net7.0-windows</TargetFramework>
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
<Configurations>Debug;Windows</Configurations>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Update="ResetForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Update="flash.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ContentWithTargetPath Include="..\..\HorseIsleWeb\game-site\*.swf">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<TargetPath>client\%(Filename)%(Extension)</TargetPath>
|
||||
</ContentWithTargetPath>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ContentWithTargetPath Include="..\..\HorseIsleWeb\game-site\map750.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<TargetPath>client\map750.png</TargetPath>
|
||||
</ContentWithTargetPath>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ContentWithTargetPath Include="..\..\HorseIsleWeb\game-site\mod\*.swf">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<TargetPath>client\mod\%(Filename)%(Extension)</TargetPath>
|
||||
</ContentWithTargetPath>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ContentWithTargetPath Include="..\..\HorseIsleWeb\game-site\tack\*.swf">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<TargetPath>client\tack\%(Filename)%(Extension)</TargetPath>
|
||||
</ContentWithTargetPath>
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<ContentWithTargetPath Include="..\..\HorseIsleWeb\game-site\breed\*.swf">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<TargetPath>client\breed\%(Filename)%(Extension)</TargetPath>
|
||||
</ContentWithTargetPath>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ContentWithTargetPath Include="..\..\HorseIsleWeb\game-site\resource\*">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<TargetPath>client\resource\%(Filename)%(Extension)</TargetPath>
|
||||
</ContentWithTargetPath>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\LibHISP\LibHISP.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
||||
<GenerateBindingRedirectsOutputType>false</GenerateBindingRedirectsOutputType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<NoWin32Manifest>true</NoWin32Manifest>
|
||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||
<StartupObject>HISP.Noobs.Program</StartupObject>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<DebugType>embedded</DebugType>
|
||||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
||||
<AnalysisLevel>none</AnalysisLevel>
|
||||
<EnableNETAnalyzers>False</EnableNETAnalyzers>
|
||||
<Copyright>Public Domain, 2022</Copyright>
|
||||
<PackageProjectUrl>https://islehorse.com</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/islehorse/HISP</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x86'">
|
||||
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
||||
<Optimize>true</Optimize>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DefineConstants>OS_WINDOWS;ARCH_X86</DefineConstants>
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<NoWarn>1701;1702;2026</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x64'">
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<Optimize>true</Optimize>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<DefineConstants>OS_WINDOWS;ARCH_X86_64</DefineConstants>
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<NoWarn>1701;1702;2026</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='All|AnyCPU'">
|
||||
<RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
|
||||
<Optimize>True</Optimize>
|
||||
<DefineConstants>OS_ALL;ARCH_ANYCPU</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Optimize>False</Optimize>
|
||||
<DefineConstants>DEBUG;TRACE;OS_DEBUG;ARCH_X86_64</DefineConstants>
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<NoWarn>1701;1702;2026</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
||||
<Optimize>False</Optimize>
|
||||
<DefineConstants>DEBUG;TRACE;OS_DEBUG;ARCH_X86</DefineConstants>
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<NoWarn>1701;1702;2026</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|AnyCPU'">
|
||||
<Optimize>False</Optimize>
|
||||
<DefineConstants>OS_WINDOWS;ARCH_ANYCPU</DefineConstants>
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<NoWarn>1701;1702;2026</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<NoWarn>1701;1702;2026</NoWarn>
|
||||
<Optimize>False</Optimize>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
</Project>
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<_LastSelectedProfileId>C:\Users\Li\Documents\git\HISP\HorseIsleServer\N00BS\Properties\PublishProfiles\Win64.pubxml</_LastSelectedProfileId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Update="LoadingForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="MpOrSp.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="RegisterForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="ServerSelection.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="SystemTrayIcon.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,205 +0,0 @@
|
|||
// An HTTP Server, and Horse Isle Server, Flash Player, in a single package
|
||||
// Idea is to just be open and play.
|
||||
|
||||
using HISP.Game;
|
||||
using HISP.Game.Chat;
|
||||
using HISP.Game.Horse;
|
||||
using HISP.Game.Items;
|
||||
using HISP.Game.Services;
|
||||
using HISP.Game.SwfModules;
|
||||
using HISP.Security;
|
||||
using HISP.Server;
|
||||
using HTTP;
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace HISP.Noobs
|
||||
{
|
||||
public static class Program
|
||||
{
|
||||
private static LoadingForm lfrm;
|
||||
public static string BaseDir;
|
||||
private static ContentServer cs;
|
||||
private static void addToList(string path)
|
||||
{
|
||||
string Name = path.Remove(0, Path.Combine(Directory.GetCurrentDirectory(), "client").Length);
|
||||
Name = Name.Replace("\\", "/");
|
||||
|
||||
ContentItem ci = new ContentItem(Name, path);
|
||||
cs.Contents.Add(ci);
|
||||
|
||||
}
|
||||
|
||||
public static void OnShutdown()
|
||||
{
|
||||
if (!Process.GetCurrentProcess().CloseMainWindow())
|
||||
Process.GetCurrentProcess().Close();
|
||||
}
|
||||
|
||||
public static void StartLRFrm()
|
||||
{
|
||||
if (lfrm.ShowDialog() == DialogResult.Cancel)
|
||||
{
|
||||
GameServer.ShutdownServer();
|
||||
}
|
||||
}
|
||||
|
||||
public static void IncrementProgress()
|
||||
{
|
||||
if (lfrm.InvokeRequired)
|
||||
{
|
||||
lfrm.Invoke(() =>
|
||||
{
|
||||
lfrm.StartProgress.Increment(1);
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
lfrm.StartProgress.Increment(1);
|
||||
}
|
||||
}
|
||||
|
||||
public static void ShowCrash(bool error, string type, string text)
|
||||
{
|
||||
if (type == "CRASH")
|
||||
MessageBox.Show(text, type, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
BaseDir = Path.Combine(Environment.GetEnvironmentVariable("APPDATA"), "HISP", "N00BS");
|
||||
Directory.CreateDirectory(BaseDir);
|
||||
|
||||
|
||||
// Start Web Server
|
||||
try
|
||||
{
|
||||
cs = new ContentServer("127.0.0.1");
|
||||
string[] fileList = Directory.GetFiles(Path.Combine(Directory.GetCurrentDirectory(), "client"), "*", SearchOption.AllDirectories);
|
||||
foreach (string file in fileList)
|
||||
addToList(file);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show("Web server failed to start: " + e.Message, "Error starting web server", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
MpOrSp mporsp = new MpOrSp();
|
||||
if (mporsp.ShowDialog() != DialogResult.OK)
|
||||
return;
|
||||
|
||||
if (mporsp.Mutliplayer)
|
||||
{
|
||||
ServerSelection ssel = new ServerSelection();
|
||||
ssel.ShowDialog();
|
||||
}
|
||||
else
|
||||
{
|
||||
lfrm = new LoadingForm();
|
||||
Task startForm = new Task(StartLRFrm);
|
||||
startForm.Start();
|
||||
|
||||
Entry.RegisterCrashHandler();
|
||||
Logger.SetCallback(ShowCrash);
|
||||
|
||||
ConfigReader.ConfigurationFileName = Path.Combine(BaseDir, "server.properties");
|
||||
ConfigReader.OpenConfig();
|
||||
ConfigReader.SqlLite = true;
|
||||
ConfigReader.LogLevel = 0;
|
||||
ConfigReader.CrossDomainPolicyFile = Path.Combine(BaseDir, "CrossDomainPolicy.xml");
|
||||
|
||||
// Compatibility patch
|
||||
if (File.Exists(Path.Combine(BaseDir, "game1.db.db"))) {
|
||||
File.Move(Path.Combine(BaseDir, "game1.db.db"), Path.Combine(BaseDir, "game1.db"));
|
||||
}
|
||||
|
||||
ConfigReader.DatabaseName = Path.Combine(BaseDir, "game1");
|
||||
|
||||
IncrementProgress();
|
||||
Database.OpenDatabase();
|
||||
IncrementProgress();
|
||||
|
||||
|
||||
if (Database.GetUsers().Length <= 0)
|
||||
{
|
||||
RegisterForm rfrm = new RegisterForm();
|
||||
if (rfrm.ShowDialog() == DialogResult.Cancel)
|
||||
GameServer.ShutdownServer();
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Start HI1 Server
|
||||
IncrementProgress();
|
||||
|
||||
Entry.SetShutdownCallback(OnShutdown);
|
||||
IncrementProgress();
|
||||
|
||||
CrossDomainPolicy.GetPolicy();
|
||||
IncrementProgress();
|
||||
|
||||
GameDataJson.ReadGamedata();
|
||||
IncrementProgress();
|
||||
|
||||
Map.OpenMap();
|
||||
IncrementProgress();
|
||||
|
||||
World.ReadWorldData();
|
||||
IncrementProgress();
|
||||
|
||||
Treasure.Init();
|
||||
IncrementProgress();
|
||||
|
||||
DroppedItems.Init();
|
||||
IncrementProgress();
|
||||
|
||||
WildHorse.Init();
|
||||
IncrementProgress();
|
||||
|
||||
Drawingroom.LoadAllDrawingRooms();
|
||||
IncrementProgress();
|
||||
|
||||
Brickpoet.LoadPoetryRooms();
|
||||
IncrementProgress();
|
||||
|
||||
Multiroom.CreateMultirooms();
|
||||
IncrementProgress();
|
||||
|
||||
Auction.LoadAllAuctionRooms();
|
||||
IncrementProgress();
|
||||
|
||||
Command.RegisterCommands();
|
||||
IncrementProgress();
|
||||
|
||||
Item.DoSpecialCases();
|
||||
IncrementProgress();
|
||||
try
|
||||
{
|
||||
GameServer.StartServer();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show("Horse Isle server failed to start: " + e.Message, "Error starting hi1 server", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
IncrementProgress();
|
||||
|
||||
lfrm.DialogResult = DialogResult.OK;
|
||||
|
||||
SystemTrayIcon stry = new SystemTrayIcon();
|
||||
stry.ShowDialog();
|
||||
|
||||
// Finally, shutdown server
|
||||
GameServer.ShutdownServer();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("HISP Noobs")]
|
||||
[assembly: AssemblyDescription("Noob-Friendly One-Click Run HISP.")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Li")]
|
||||
[assembly: AssemblyProduct("HISP")]
|
||||
[assembly: AssemblyCopyright("Public Domain © 2022")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("72adebe4-f5d5-41e1-90d1-3ee7706a8fe3")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.7.103.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.103.0")]
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<Configuration>Windows</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
<PublishDir>bin\x86\Windows\net7.0\win-x86\publish\</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<TargetFramework>net7.0-windows</TargetFramework>
|
||||
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
||||
<SelfContained>True</SelfContained>
|
||||
<PublishSingleFile>True</PublishSingleFile>
|
||||
<PublishReadyToRun>True</PublishReadyToRun>
|
||||
<!-- <PublishTrimmed>True</PublishTrimmed> -->
|
||||
<DefineConstants>OS_WINDOWS;ARCH_X86</DefineConstants>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<Configuration>Windows</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
<PublishDir>bin\x64\Windows\net7.0\win-x64\publish\</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<TargetFramework>net7.0-windows</TargetFramework>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>True</SelfContained>
|
||||
<PublishSingleFile>True</PublishSingleFile>
|
||||
<PublishReadyToRun>True</PublishReadyToRun>
|
||||
<!-- <PublishTrimmed>True</PublishTrimmed> -->
|
||||
<DefineConstants>OS_WINDOWS;ARCH_X86_64</DefineConstants>
|
||||
</PropertyGroup>
|
||||
</Project>
|
118
HorseIsleServer/N00BS/Properties/Resources.Designer.cs
generated
118
HorseIsleServer/N00BS/Properties/Resources.Designer.cs
generated
|
@ -1,118 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace HISPCli.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource public class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This public class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// public class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this public class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HISP.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource public class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to <cross-domain-policy>
|
||||
/// <allow-access-from domain="*" to-ports="12321" secure="false"/>
|
||||
///</cross-domain-policy>.
|
||||
/// </summary>
|
||||
internal static string DefaultCrossDomain {
|
||||
get {
|
||||
return ResourceManager.GetString("DefaultCrossDomain", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to # HorseIsleServer Default Configuration File
|
||||
///
|
||||
///# Ip address the server will bind to (default: 0.0.0.0 ALL INTERFACES)
|
||||
///ip=0.0.0.0
|
||||
///# Port the server will bind to (default: 12321)
|
||||
///port=12321
|
||||
///
|
||||
///# MariaDB Database
|
||||
///db_ip=127.0.0.1
|
||||
///db_name=beta
|
||||
///db_username=root
|
||||
///db_password=test123
|
||||
///db_port=3306
|
||||
///
|
||||
///# Map Data
|
||||
///map=HI1.MAP
|
||||
///
|
||||
///# JSON Format Data
|
||||
///
|
||||
///gamedata=gamedata.json
|
||||
///
|
||||
///# Cross-Domain Policy File
|
||||
///crossdomain=CrossDomainPolicy.xml
|
||||
///
|
||||
///# Red Text Stating "Todays Note:"
|
||||
///motd=April 11, 2020. New breed, C [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string DefaultServerProperties {
|
||||
get {
|
||||
return ResourceManager.GetString("DefaultServerProperties", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UNKNOWN COMMIT HASH
|
||||
/// </summary>
|
||||
internal static string GitCommit {
|
||||
get {
|
||||
return ResourceManager.GetString("GitCommit", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,120 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"profiles": {
|
||||
"N00BS": {
|
||||
"commandName": "Project"
|
||||
}
|
||||
}
|
||||
}
|
233
HorseIsleServer/N00BS/RegisterForm.Designer.cs
generated
233
HorseIsleServer/N00BS/RegisterForm.Designer.cs
generated
|
@ -1,233 +0,0 @@
|
|||
namespace HISP.Noobs
|
||||
{
|
||||
partial class RegisterForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RegisterForm));
|
||||
this.isAdmin = new System.Windows.Forms.CheckBox();
|
||||
this.isMod = new System.Windows.Forms.CheckBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.Username = new System.Windows.Forms.TextBox();
|
||||
this.Password = new System.Windows.Forms.TextBox();
|
||||
this.BoySelecton = new System.Windows.Forms.RadioButton();
|
||||
this.GirlSelection = new System.Windows.Forms.RadioButton();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.CreateAccount = new System.Windows.Forms.Button();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.UsernameValidationFailReason = new System.Windows.Forms.Label();
|
||||
this.PasswordValidationFailReason = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// isAdmin
|
||||
//
|
||||
this.isAdmin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.isAdmin.AutoSize = true;
|
||||
this.isAdmin.Checked = true;
|
||||
this.isAdmin.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.isAdmin.Location = new System.Drawing.Point(238, 169);
|
||||
this.isAdmin.Name = "isAdmin";
|
||||
this.isAdmin.Size = new System.Drawing.Size(99, 19);
|
||||
this.isAdmin.TabIndex = 6;
|
||||
this.isAdmin.Text = "Administrator";
|
||||
this.isAdmin.UseVisualStyleBackColor = true;
|
||||
this.isAdmin.CheckedChanged += new System.EventHandler(this.isAdmin_CheckedChanged);
|
||||
//
|
||||
// isMod
|
||||
//
|
||||
this.isMod.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.isMod.AutoSize = true;
|
||||
this.isMod.Checked = true;
|
||||
this.isMod.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.isMod.Location = new System.Drawing.Point(238, 145);
|
||||
this.isMod.Name = "isMod";
|
||||
this.isMod.Size = new System.Drawing.Size(82, 19);
|
||||
this.isMod.TabIndex = 5;
|
||||
this.isMod.Text = "Moderator";
|
||||
this.isMod.UseVisualStyleBackColor = true;
|
||||
this.isMod.CheckedChanged += new System.EventHandler(this.isMod_CheckedChanged);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(71, 15);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "User Details:";
|
||||
//
|
||||
// Username
|
||||
//
|
||||
this.Username.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Username.Location = new System.Drawing.Point(12, 27);
|
||||
this.Username.MaxLength = 16;
|
||||
this.Username.Name = "Username";
|
||||
this.Username.PlaceholderText = "Username";
|
||||
this.Username.Size = new System.Drawing.Size(325, 23);
|
||||
this.Username.TabIndex = 1;
|
||||
this.Username.TextChanged += new System.EventHandler(this.Username_TextChanged);
|
||||
this.Username.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Username_KeyPress);
|
||||
//
|
||||
// Password
|
||||
//
|
||||
this.Password.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Password.Location = new System.Drawing.Point(12, 56);
|
||||
this.Password.MaxLength = 16;
|
||||
this.Password.Name = "Password";
|
||||
this.Password.PasswordChar = '*';
|
||||
this.Password.PlaceholderText = "Password";
|
||||
this.Password.Size = new System.Drawing.Size(325, 23);
|
||||
this.Password.TabIndex = 2;
|
||||
this.Password.TextChanged += new System.EventHandler(this.Password_TextChanged);
|
||||
this.Password.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Password_KeyPress);
|
||||
//
|
||||
// BoySelecton
|
||||
//
|
||||
this.BoySelecton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.BoySelecton.AutoSize = true;
|
||||
this.BoySelecton.Location = new System.Drawing.Point(17, 168);
|
||||
this.BoySelecton.Name = "BoySelecton";
|
||||
this.BoySelecton.Size = new System.Drawing.Size(45, 19);
|
||||
this.BoySelecton.TabIndex = 4;
|
||||
this.BoySelecton.TabStop = true;
|
||||
this.BoySelecton.Text = "Boy";
|
||||
this.BoySelecton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// GirlSelection
|
||||
//
|
||||
this.GirlSelection.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.GirlSelection.AutoSize = true;
|
||||
this.GirlSelection.Checked = true;
|
||||
this.GirlSelection.Location = new System.Drawing.Point(17, 144);
|
||||
this.GirlSelection.Name = "GirlSelection";
|
||||
this.GirlSelection.Size = new System.Drawing.Size(43, 19);
|
||||
this.GirlSelection.TabIndex = 3;
|
||||
this.GirlSelection.TabStop = true;
|
||||
this.GirlSelection.Text = "Girl";
|
||||
this.GirlSelection.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(12, 121);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(48, 15);
|
||||
this.label2.TabIndex = 9;
|
||||
this.label2.Text = "Gender:";
|
||||
//
|
||||
// CreateAccount
|
||||
//
|
||||
this.CreateAccount.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.CreateAccount.Enabled = false;
|
||||
this.CreateAccount.Location = new System.Drawing.Point(12, 201);
|
||||
this.CreateAccount.Name = "CreateAccount";
|
||||
this.CreateAccount.Size = new System.Drawing.Size(325, 29);
|
||||
this.CreateAccount.TabIndex = 7;
|
||||
this.CreateAccount.Text = "Create Account";
|
||||
this.CreateAccount.UseVisualStyleBackColor = true;
|
||||
this.CreateAccount.Click += new System.EventHandler(this.CreateAccount_Click);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(238, 121);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(64, 15);
|
||||
this.label3.TabIndex = 11;
|
||||
this.label3.Text = "Privledges:";
|
||||
//
|
||||
// UsernameValidationFailReason
|
||||
//
|
||||
this.UsernameValidationFailReason.AutoSize = true;
|
||||
this.UsernameValidationFailReason.ForeColor = System.Drawing.Color.Red;
|
||||
this.UsernameValidationFailReason.Location = new System.Drawing.Point(12, 82);
|
||||
this.UsernameValidationFailReason.Name = "UsernameValidationFailReason";
|
||||
this.UsernameValidationFailReason.Size = new System.Drawing.Size(241, 15);
|
||||
this.UsernameValidationFailReason.TabIndex = 12;
|
||||
this.UsernameValidationFailReason.Text = "- Username must be more than 3 characters.";
|
||||
//
|
||||
// PasswordValidationFailReason
|
||||
//
|
||||
this.PasswordValidationFailReason.AutoSize = true;
|
||||
this.PasswordValidationFailReason.ForeColor = System.Drawing.Color.Red;
|
||||
this.PasswordValidationFailReason.Location = new System.Drawing.Point(12, 97);
|
||||
this.PasswordValidationFailReason.Name = "PasswordValidationFailReason";
|
||||
this.PasswordValidationFailReason.Size = new System.Drawing.Size(238, 15);
|
||||
this.PasswordValidationFailReason.TabIndex = 13;
|
||||
this.PasswordValidationFailReason.Text = "- Password must be more than 6 characters.";
|
||||
//
|
||||
// RegisterForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(349, 241);
|
||||
this.Controls.Add(this.PasswordValidationFailReason);
|
||||
this.Controls.Add(this.UsernameValidationFailReason);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.CreateAccount);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.GirlSelection);
|
||||
this.Controls.Add(this.BoySelecton);
|
||||
this.Controls.Add(this.Password);
|
||||
this.Controls.Add(this.Username);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.isMod);
|
||||
this.Controls.Add(this.isAdmin);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(365, 280);
|
||||
this.Name = "RegisterForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultLocation;
|
||||
this.Text = "Create Account";
|
||||
this.Load += new System.EventHandler(this.RegisterForm_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.CheckBox isAdmin;
|
||||
private System.Windows.Forms.CheckBox isMod;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox Username;
|
||||
private System.Windows.Forms.TextBox Password;
|
||||
private System.Windows.Forms.RadioButton BoySelecton;
|
||||
private System.Windows.Forms.RadioButton GirlSelection;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Button CreateAccount;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label UsernameValidationFailReason;
|
||||
private System.Windows.Forms.Label PasswordValidationFailReason;
|
||||
}
|
||||
}
|
|
@ -1,169 +0,0 @@
|
|||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
using HISP.Security;
|
||||
using HISP.Server;
|
||||
|
||||
namespace HISP.Noobs
|
||||
{
|
||||
public partial class RegisterForm : Form
|
||||
{
|
||||
public RegisterForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void RegisterForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
ValidateInput();
|
||||
}
|
||||
|
||||
private void ValidateInput()
|
||||
{
|
||||
if(ValidateUsername() && ValidatePassword())
|
||||
CreateAccount.Enabled = true;
|
||||
else
|
||||
CreateAccount.Enabled = false;
|
||||
}
|
||||
|
||||
private bool ValidatePassword()
|
||||
{
|
||||
int selStart = Password.SelectionStart;
|
||||
int selLen = Password.SelectionLength;
|
||||
Password.Text = Regex.Replace(Password.Text, "[^A-Za-z0-9]", "");
|
||||
Password.SelectionStart = selStart;
|
||||
Password.SelectionLength = selLen;
|
||||
|
||||
if (Password.Text.Length < 6)
|
||||
{
|
||||
PasswordValidationFailReason.Text = "- Password must be more than 6 characters.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Password.Text.Length >= 16)
|
||||
{
|
||||
PasswordValidationFailReason.Text = "- Password must be less than 16 characters.";
|
||||
return false;
|
||||
}
|
||||
|
||||
PasswordValidationFailReason.Text = "";
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool ValidateUsername()
|
||||
{
|
||||
int selStart = Username.SelectionStart;
|
||||
int selLen = Username.SelectionLength;
|
||||
Username.Text = Regex.Replace(Username.Text, "[^A-Za-z]", "");
|
||||
Username.SelectionStart = selStart;
|
||||
Username.SelectionLength = selLen;
|
||||
|
||||
if (Username.Text.Length < 3)
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username must be more than 3 characters.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Username.Text.Length >= 16)
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username must be less than 16 characters.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Regex.IsMatch(Username.Text, "[A-Z]{2,}"))
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username have the first letter of each word capitalized.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Username.Text.ToUpper()[0] != Username.Text[0])
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username have the first letter of each word capitalized.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Database.CheckUserExist(Username.Text))
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username is already in use.";
|
||||
return false;
|
||||
}
|
||||
|
||||
UsernameValidationFailReason.Text = "";
|
||||
return true;
|
||||
}
|
||||
|
||||
private void Username_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ValidateInput();
|
||||
}
|
||||
|
||||
private void Password_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ValidateInput();
|
||||
}
|
||||
|
||||
private void CreateAccount_Click(object sender, EventArgs e)
|
||||
{
|
||||
int newUserId = Database.GetNextFreeUserId();
|
||||
|
||||
// Generate random salt
|
||||
byte[] salt = new byte[64];
|
||||
new Random(Guid.NewGuid().GetHashCode()).NextBytes(salt);
|
||||
|
||||
// Hash password
|
||||
string saltText = BitConverter.ToString(salt).Replace("-", "");
|
||||
string hashsalt = BitConverter.ToString(Authentication.HashAndSalt(Password.Text, salt)).Replace("-", "");
|
||||
|
||||
// Insert LGBT Patch here.
|
||||
string gender = "";
|
||||
if (BoySelecton.Checked)
|
||||
gender = "MALE";
|
||||
|
||||
if (GirlSelection.Checked)
|
||||
gender = "FEMALE";
|
||||
|
||||
Database.CreateUser(newUserId, Username.Text, hashsalt, saltText, gender, isAdmin.Checked, isMod.Checked);
|
||||
this.DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void isAdmin_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (isAdmin.Checked)
|
||||
isMod.Checked = true;
|
||||
}
|
||||
|
||||
private void isMod_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!isMod.Checked)
|
||||
isAdmin.Checked = false;
|
||||
}
|
||||
|
||||
private void Password_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
if(e.KeyChar == (char)Keys.Return)
|
||||
{
|
||||
if (CreateAccount.Enabled)
|
||||
{
|
||||
e.Handled = true;
|
||||
CreateAccount_Click(null, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void Username_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
if (e.KeyChar == (char)Keys.Return)
|
||||
{
|
||||
if (CreateAccount.Enabled)
|
||||
{
|
||||
e.Handled = true;
|
||||
CreateAccount_Click(null, null);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,126 +0,0 @@
|
|||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAGyAAAAEAIAAoDgAAFgAAACgAAAAbAAAAQAAAAAEAIAAAAAAAgA0AAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAPQFJAD0BSQo9AUkpPQFJGj0BSQBJHk0AWzZePT8NQLwyADALOAA3AAAAAAAAAAAAnZCiAMrK
|
||||
0AVCGUSsMAMyVC8CMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAIQEg/Hj0D
|
||||
STw9AUnoPQFJljYAPQAZABsQcEpyul0yX8sLAA0KMwA1AAAAAAAAAAAAgl2EAF8vX2JvSXH0Nws4UTMH
|
||||
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAtQEFArT0LSEs9AUn9PQFJpDQA
|
||||
OQAoACofSwVK6UcER8wYAB4KLwAyAAAAAAAAAAAAWwdZAEcDRZBUBlL/MgEzUDABMQA9AUkAPQFJAD0B
|
||||
SQE9AUkAPQFJAAAAAAAAAAAAAAAAAAAAAABAQEBcQEE/iz0JSEg9AUn8PQFJvT4BSyQmACYeTwBN6UoA
|
||||
ScwVABgKLwAwAAAAAAAAAAAAXgBcAE8ATT9RAE/hRQBEbxQAGQA8AUcAPQFJEz0BSX89AUkTPQFJAD0B
|
||||
SQAAAAAAAAAAAAAAAAA8ODzzKxYsUj8ATCY9AUnDPQFJ/z0BSY8gAB8bYABd6GAAXtxKAEklXwBeADcA
|
||||
MwAAAAAAYQBfAJgAkQBGAESiUwBR7DUAMzEzADQAPQFJBj0BSVE9AUmLPQFJED0BSQA9AUkAAAAAAAAA
|
||||
AAA7NTv/KBAqcUUSUA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AAAAOCAAAHggAAD4IAAA+DAAAPgwAAD4MAAA+DgAAPg4AAD4OAAA+DwAAPg+MACAP/4
|
||||
AgD/+AAA//wAAP/8AAD//AAA//4AAP/+ACD//gBg//8A4P//gOD//8Tg///H4A==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
140
HorseIsleServer/N00BS/ResetForm.Designer.cs
generated
140
HorseIsleServer/N00BS/ResetForm.Designer.cs
generated
|
@ -1,140 +0,0 @@
|
|||
namespace HISP.Noobs
|
||||
{
|
||||
partial class ResetForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ResetForm));
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.Username = new System.Windows.Forms.TextBox();
|
||||
this.Password = new System.Windows.Forms.TextBox();
|
||||
this.ResetPassword = new System.Windows.Forms.Button();
|
||||
this.UsernameValidationFailReason = new System.Windows.Forms.Label();
|
||||
this.PasswordValidationFailReason = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(71, 15);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "User Details:";
|
||||
//
|
||||
// Username
|
||||
//
|
||||
this.Username.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Username.Location = new System.Drawing.Point(12, 27);
|
||||
this.Username.MaxLength = 16;
|
||||
this.Username.Name = "Username";
|
||||
this.Username.PlaceholderText = "Username";
|
||||
this.Username.Size = new System.Drawing.Size(325, 23);
|
||||
this.Username.TabIndex = 1;
|
||||
this.Username.TextChanged += new System.EventHandler(this.Username_TextChanged);
|
||||
this.Username.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Username_KeyPress);
|
||||
//
|
||||
// Password
|
||||
//
|
||||
this.Password.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Password.Location = new System.Drawing.Point(12, 56);
|
||||
this.Password.MaxLength = 16;
|
||||
this.Password.Name = "Password";
|
||||
this.Password.PasswordChar = '*';
|
||||
this.Password.PlaceholderText = "New Password";
|
||||
this.Password.Size = new System.Drawing.Size(325, 23);
|
||||
this.Password.TabIndex = 2;
|
||||
this.Password.TextChanged += new System.EventHandler(this.Password_TextChanged);
|
||||
this.Password.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Password_KeyPress);
|
||||
//
|
||||
// ResetPassword
|
||||
//
|
||||
this.ResetPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ResetPassword.Enabled = false;
|
||||
this.ResetPassword.Location = new System.Drawing.Point(12, 118);
|
||||
this.ResetPassword.Name = "ResetPassword";
|
||||
this.ResetPassword.Size = new System.Drawing.Size(325, 29);
|
||||
this.ResetPassword.TabIndex = 7;
|
||||
this.ResetPassword.Text = "Reset Password";
|
||||
this.ResetPassword.UseVisualStyleBackColor = true;
|
||||
this.ResetPassword.Click += new System.EventHandler(this.ResetPassword_Click);
|
||||
//
|
||||
// UsernameValidationFailReason
|
||||
//
|
||||
this.UsernameValidationFailReason.AutoSize = true;
|
||||
this.UsernameValidationFailReason.ForeColor = System.Drawing.Color.Red;
|
||||
this.UsernameValidationFailReason.Location = new System.Drawing.Point(12, 82);
|
||||
this.UsernameValidationFailReason.Name = "UsernameValidationFailReason";
|
||||
this.UsernameValidationFailReason.Size = new System.Drawing.Size(127, 15);
|
||||
this.UsernameValidationFailReason.TabIndex = 12;
|
||||
this.UsernameValidationFailReason.Text = "- Username not found.";
|
||||
//
|
||||
// PasswordValidationFailReason
|
||||
//
|
||||
this.PasswordValidationFailReason.AutoSize = true;
|
||||
this.PasswordValidationFailReason.ForeColor = System.Drawing.Color.Red;
|
||||
this.PasswordValidationFailReason.Location = new System.Drawing.Point(12, 97);
|
||||
this.PasswordValidationFailReason.Name = "PasswordValidationFailReason";
|
||||
this.PasswordValidationFailReason.Size = new System.Drawing.Size(238, 15);
|
||||
this.PasswordValidationFailReason.TabIndex = 13;
|
||||
this.PasswordValidationFailReason.Text = "- Password must be more than 6 characters.";
|
||||
//
|
||||
// ResetForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(349, 158);
|
||||
this.Controls.Add(this.PasswordValidationFailReason);
|
||||
this.Controls.Add(this.UsernameValidationFailReason);
|
||||
this.Controls.Add(this.ResetPassword);
|
||||
this.Controls.Add(this.Password);
|
||||
this.Controls.Add(this.Username);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(365, 197);
|
||||
this.Name = "ResetForm";
|
||||
this.Text = "Reset Password";
|
||||
this.Load += new System.EventHandler(this.RegisterForm_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox Username;
|
||||
private System.Windows.Forms.TextBox Password;
|
||||
private System.Windows.Forms.Button ResetPassword;
|
||||
private System.Windows.Forms.Label UsernameValidationFailReason;
|
||||
private System.Windows.Forms.Label PasswordValidationFailReason;
|
||||
}
|
||||
}
|
|
@ -1,144 +0,0 @@
|
|||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
using HISP.Security;
|
||||
using HISP.Server;
|
||||
|
||||
namespace HISP.Noobs
|
||||
{
|
||||
public partial class ResetForm : Form
|
||||
{
|
||||
public ResetForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void RegisterForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
ValidateInput();
|
||||
}
|
||||
|
||||
private void ValidateInput()
|
||||
{
|
||||
if(ValidateUsername() && ValidatePassword())
|
||||
ResetPassword.Enabled = true;
|
||||
else
|
||||
ResetPassword.Enabled = false;
|
||||
}
|
||||
|
||||
private bool ValidatePassword()
|
||||
{
|
||||
int selStart = Password.SelectionStart;
|
||||
int selLen = Password.SelectionLength;
|
||||
Password.Text = Regex.Replace(Password.Text, "[^A-Za-z0-9]", "");
|
||||
Password.SelectionStart = selStart;
|
||||
Password.SelectionLength = selLen;
|
||||
|
||||
if (Password.Text.Length < 6)
|
||||
{
|
||||
PasswordValidationFailReason.Text = "- Password must be more than 6 characters.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Password.Text.Length >= 16)
|
||||
{
|
||||
PasswordValidationFailReason.Text = "- Password must be less than 16 characters.";
|
||||
return false;
|
||||
}
|
||||
|
||||
PasswordValidationFailReason.Text = "";
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool ValidateUsername()
|
||||
{
|
||||
int selStart = Username.SelectionStart;
|
||||
int selLen = Username.SelectionLength;
|
||||
Username.Text = Regex.Replace(Username.Text, "[^A-Za-z]", "");
|
||||
Username.SelectionStart = selStart;
|
||||
Username.SelectionLength = selLen;
|
||||
|
||||
if (Username.Text.Length < 3)
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username must be more than 3 characters.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Username.Text.Length >= 16)
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username must be less than 16 characters.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Regex.IsMatch(Username.Text, "[A-Z]{2,}"))
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username have the first letter of each word capitalized.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Username.Text.ToUpper()[0] != Username.Text[0])
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username have the first letter of each word capitalized.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!Database.CheckUserExist(Username.Text))
|
||||
{
|
||||
UsernameValidationFailReason.Text = "- Username not found.";
|
||||
return false;
|
||||
}
|
||||
|
||||
UsernameValidationFailReason.Text = "";
|
||||
return true;
|
||||
}
|
||||
|
||||
private void Username_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ValidateInput();
|
||||
}
|
||||
|
||||
private void Password_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ValidateInput();
|
||||
}
|
||||
|
||||
private void ResetPassword_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Get salt
|
||||
byte[] salt = Database.GetPasswordSalt(Username.Text);
|
||||
|
||||
// Hash password
|
||||
string hashsalt = BitConverter.ToString(Authentication.HashAndSalt(Password.Text, salt)).Replace("-", "");
|
||||
|
||||
Database.SetPasswordHash(Username.Text, hashsalt);
|
||||
this.DialogResult = DialogResult.OK;
|
||||
}
|
||||
private void Password_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
if(e.KeyChar == (char)Keys.Return)
|
||||
{
|
||||
if (ResetPassword.Enabled)
|
||||
{
|
||||
e.Handled = true;
|
||||
ResetPassword_Click(null, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void Username_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
if (e.KeyChar == (char)Keys.Return)
|
||||
{
|
||||
if (ResetPassword.Enabled)
|
||||
{
|
||||
e.Handled = true;
|
||||
ResetPassword_Click(null, null);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,126 +0,0 @@
|
|||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAGyAAAAEAIAAoDgAAFgAAACgAAAAbAAAAQAAAAAEAIAAAAAAAgA0AAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAPQFJAD0BSQo9AUkpPQFJGj0BSQBJHk0AWzZePT8NQLwyADALOAA3AAAAA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HL/rwC3/8cA
|
||||
0v+fAKf/cQB2/V8AYoJKAEwRUQBTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGC0YBjcDOYZxAHbxngCm/6EAqf9pAm//OAU71UMH
|
||||
RRxKB00AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAjBSUAXABfAAAAAAWZAaCliQOQ+0gDS7MyBDWiMigzxUBBPzk/QD8AAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAOsf9ADyIPtdoxGp8koATF9NBFAAQUNBHkBBQBBAQEAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKYV
|
||||
qgClFKkjdAh4fVEAVBRXAFoAAAAAAAAAAAAAAAAAAAAAAAAAAADGPH/gBDx/4AQ8d+AAPGPgAD4h4CAe
|
||||
MOAADBjgAAAA4AAAAOCAAAHggAAD4IAAA+DAAAPgwAAD4MAAA+DgAAPg4AAD4OAAA+DwAAPg+MACAP/4
|
||||
AgD/+AAA//wAAP/8AAD//AAA//4AAP/+ACD//gBg//8A4P//gOD//8Tg///H4A==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
127
HorseIsleServer/N00BS/ServerSelection.Designer.cs
generated
127
HorseIsleServer/N00BS/ServerSelection.Designer.cs
generated
|
@ -1,127 +0,0 @@
|
|||
namespace HISP
|
||||
{
|
||||
partial class ServerSelection
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerSelection));
|
||||
this.joinServer = new System.Windows.Forms.Button();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.serverIp = new System.Windows.Forms.TextBox();
|
||||
this.portNumber = new System.Windows.Forms.NumericUpDown();
|
||||
((System.ComponentModel.ISupportInitialize)(this.portNumber)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// joinServer
|
||||
//
|
||||
this.joinServer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.joinServer.Location = new System.Drawing.Point(10, 34);
|
||||
this.joinServer.Name = "joinServer";
|
||||
this.joinServer.Size = new System.Drawing.Size(576, 31);
|
||||
this.joinServer.TabIndex = 0;
|
||||
this.joinServer.Text = "Join Server";
|
||||
this.joinServer.UseVisualStyleBackColor = true;
|
||||
this.joinServer.Click += new System.EventHandler(this.joinServer_Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(12, 9);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(55, 15);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "Server IP:";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(389, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(73, 15);
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "Server PORT:";
|
||||
//
|
||||
// severIp
|
||||
//
|
||||
this.serverIp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.serverIp.Location = new System.Drawing.Point(73, 6);
|
||||
this.serverIp.Name = "severIp";
|
||||
this.serverIp.Size = new System.Drawing.Size(310, 23);
|
||||
this.serverIp.TabIndex = 5;
|
||||
this.serverIp.Text = "game.islehorse.com";
|
||||
//
|
||||
// portNumber
|
||||
//
|
||||
this.portNumber.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.portNumber.Location = new System.Drawing.Point(468, 6);
|
||||
this.portNumber.Maximum = new decimal(new int[] {
|
||||
65565,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.portNumber.Name = "portNumber";
|
||||
this.portNumber.Size = new System.Drawing.Size(120, 23);
|
||||
this.portNumber.TabIndex = 6;
|
||||
this.portNumber.Value = new decimal(new int[] {
|
||||
12321,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// ServerSelection
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(598, 77);
|
||||
this.Controls.Add(this.portNumber);
|
||||
this.Controls.Add(this.serverIp);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.joinServer);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MinimumSize = new System.Drawing.Size(614, 116);
|
||||
this.Name = "ServerSelection";
|
||||
this.Text = "Server Selection";
|
||||
((System.ComponentModel.ISupportInitialize)(this.portNumber)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button joinServer;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox serverIp;
|
||||
private System.Windows.Forms.NumericUpDown portNumber;
|
||||
}
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
using HISP.Noobs;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace HISP
|
||||
{
|
||||
public partial class ServerSelection : Form
|
||||
{
|
||||
public ServerSelection()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
public void clientExited(object sender, EventArgs e)
|
||||
{
|
||||
if (this.InvokeRequired)
|
||||
{
|
||||
this.Invoke(() =>
|
||||
{
|
||||
this.Close();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
public void joinServer_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Hide();
|
||||
Process clientProcess = new Process();
|
||||
clientProcess.StartInfo.FileName = "flash.dll";
|
||||
clientProcess.StartInfo.Arguments = "http://127.0.0.1/horseisle.swf?SERVER=" + serverIp.Text + "&PORT=" + portNumber.Value.ToString();
|
||||
|
||||
clientProcess.StartInfo.RedirectStandardOutput = true;
|
||||
clientProcess.StartInfo.RedirectStandardError = true;
|
||||
|
||||
clientProcess.EnableRaisingEvents = true;
|
||||
clientProcess.Exited += clientExited;
|
||||
clientProcess.Start();
|
||||
clientProcess.WaitForExit();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,126 +0,0 @@
|
|||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAGyAAAAEAIAAoDgAAFgAAACgAAAAbAAAAQAAAAAEAIAAAAAAAgA0AAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAPQFJAD0BSQo9AUkpPQFJGj0BSQBJHk0AWzZePT8NQLwyADALOAA3AAAAAAAAAAAAnZCiAMrK
|
||||
0AVCGUSsMAMyVC8CMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAIQEg/Hj0D
|
||||
STw9AUnoPQFJljYAPQAZABsQcEpyul0yX8sLAA0KMwA1AAAAAAAAAAAAgl2EAF8vX2JvSXH0Nws4UTMH
|
||||
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAtQEFAr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AAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAjBSUAXABfAAAAAAWZAaCliQOQ+0gDS7MyBDWiMigzxUBBPzk/QD8AAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAOsf9ADyIPtdoxGp8koATF9NBFAAQUNBHkBBQBBAQEAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKYV
|
||||
qgClFKkjdAh4fVEAVBRXAFoAAAAAAAAAAAAAAAAAAAAAAAAAAADGPH/gBDx/4AQ8d+AAPGPgAD4h4CAe
|
||||
MOAADBjgAAAA4AAAAOCAAAHggAAD4IAAA+DAAAPgwAAD4MAAA+DgAAPg4AAD4OAAA+DwAAPg+MACAP/4
|
||||
AgD/+AAA//wAAP/8AAD//AAA//4AAP/+ACD//gBg//8A4P//gOD//8Tg///H4A==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
244
HorseIsleServer/N00BS/SystemTrayIcon.Designer.cs
generated
244
HorseIsleServer/N00BS/SystemTrayIcon.Designer.cs
generated
|
@ -1,244 +0,0 @@
|
|||
namespace HISP.Noobs
|
||||
{
|
||||
partial class SystemTrayIcon
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SystemTrayIcon));
|
||||
this.HispNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.HispContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.usersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.createNewUserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.resetUserPasswordToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.serverToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.closeServerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.configToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.disableSwearFilterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.disableCorrectionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.disableNonvioChecksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.disableSpamFilterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.gameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.allUsersSubscribedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.fixOfficalBugsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.advancedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editServerPropertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.openServerFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.HispContextMenuStrip.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// HispNotifyIcon
|
||||
//
|
||||
this.HispNotifyIcon.ContextMenuStrip = this.HispContextMenuStrip;
|
||||
this.HispNotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("HispNotifyIcon.Icon")));
|
||||
this.HispNotifyIcon.Text = "Horse Isle";
|
||||
this.HispNotifyIcon.Visible = true;
|
||||
this.HispNotifyIcon.MouseClick += new System.Windows.Forms.MouseEventHandler(this.HispNotifyIcon_MouseClick);
|
||||
//
|
||||
// HispContextMenuStrip
|
||||
//
|
||||
this.HispContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.usersToolStripMenuItem,
|
||||
this.serverToolStripMenuItem});
|
||||
this.HispContextMenuStrip.Name = "HispContextMenuStrip";
|
||||
this.HispContextMenuStrip.Size = new System.Drawing.Size(107, 48);
|
||||
//
|
||||
// usersToolStripMenuItem
|
||||
//
|
||||
this.usersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.createNewUserToolStripMenuItem,
|
||||
this.resetUserPasswordToolStripMenuItem});
|
||||
this.usersToolStripMenuItem.Name = "usersToolStripMenuItem";
|
||||
this.usersToolStripMenuItem.Size = new System.Drawing.Size(106, 22);
|
||||
this.usersToolStripMenuItem.Text = "Users";
|
||||
//
|
||||
// createNewUserToolStripMenuItem
|
||||
//
|
||||
this.createNewUserToolStripMenuItem.Name = "createNewUserToolStripMenuItem";
|
||||
this.createNewUserToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.createNewUserToolStripMenuItem.Text = "Create new user";
|
||||
this.createNewUserToolStripMenuItem.Click += new System.EventHandler(this.createNewUserToolStripMenuItem_Click);
|
||||
//
|
||||
// resetUserPasswordToolStripMenuItem
|
||||
//
|
||||
this.resetUserPasswordToolStripMenuItem.Name = "resetUserPasswordToolStripMenuItem";
|
||||
this.resetUserPasswordToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.resetUserPasswordToolStripMenuItem.Text = "Reset user password";
|
||||
this.resetUserPasswordToolStripMenuItem.Click += new System.EventHandler(this.resetUserPasswordToolStripMenuItem_Click);
|
||||
//
|
||||
// serverToolStripMenuItem
|
||||
//
|
||||
this.serverToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.closeServerToolStripMenuItem,
|
||||
this.configToolStripMenuItem,
|
||||
this.gameToolStripMenuItem,
|
||||
this.advancedToolStripMenuItem});
|
||||
this.serverToolStripMenuItem.Name = "serverToolStripMenuItem";
|
||||
this.serverToolStripMenuItem.Size = new System.Drawing.Size(106, 22);
|
||||
this.serverToolStripMenuItem.Text = "Server";
|
||||
//
|
||||
// closeServerToolStripMenuItem
|
||||
//
|
||||
this.closeServerToolStripMenuItem.Name = "closeServerToolStripMenuItem";
|
||||
this.closeServerToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.closeServerToolStripMenuItem.Text = "Shutdown server";
|
||||
this.closeServerToolStripMenuItem.Click += new System.EventHandler(this.closeServerToolStripMenuItem_Click);
|
||||
//
|
||||
// configToolStripMenuItem
|
||||
//
|
||||
this.configToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.disableSwearFilterToolStripMenuItem,
|
||||
this.disableCorrectionsToolStripMenuItem,
|
||||
this.disableNonvioChecksToolStripMenuItem,
|
||||
this.disableSpamFilterToolStripMenuItem});
|
||||
this.configToolStripMenuItem.Name = "configToolStripMenuItem";
|
||||
this.configToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.configToolStripMenuItem.Text = "Chat";
|
||||
//
|
||||
// disableSwearFilterToolStripMenuItem
|
||||
//
|
||||
this.disableSwearFilterToolStripMenuItem.CheckOnClick = true;
|
||||
this.disableSwearFilterToolStripMenuItem.Name = "disableSwearFilterToolStripMenuItem";
|
||||
this.disableSwearFilterToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
||||
this.disableSwearFilterToolStripMenuItem.Text = "Disable swear filter";
|
||||
this.disableSwearFilterToolStripMenuItem.CheckedChanged += new System.EventHandler(this.disableSwearFilterToolStripMenuItem_CheckedChanged);
|
||||
//
|
||||
// disableCorrectionsToolStripMenuItem
|
||||
//
|
||||
this.disableCorrectionsToolStripMenuItem.CheckOnClick = true;
|
||||
this.disableCorrectionsToolStripMenuItem.Name = "disableCorrectionsToolStripMenuItem";
|
||||
this.disableCorrectionsToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
||||
this.disableCorrectionsToolStripMenuItem.Text = "Disable corrections";
|
||||
this.disableCorrectionsToolStripMenuItem.CheckedChanged += new System.EventHandler(this.disableCorrectionsToolStripMenuItem_CheckedChanged);
|
||||
//
|
||||
// disableNonvioChecksToolStripMenuItem
|
||||
//
|
||||
this.disableNonvioChecksToolStripMenuItem.CheckOnClick = true;
|
||||
this.disableNonvioChecksToolStripMenuItem.Name = "disableNonvioChecksToolStripMenuItem";
|
||||
this.disableNonvioChecksToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
||||
this.disableNonvioChecksToolStripMenuItem.Text = "Disable non-vio checks";
|
||||
this.disableNonvioChecksToolStripMenuItem.CheckedChanged += new System.EventHandler(this.disableNonvioChecksToolStripMenuItem_CheckedChanged);
|
||||
//
|
||||
// disableSpamFilterToolStripMenuItem
|
||||
//
|
||||
this.disableSpamFilterToolStripMenuItem.CheckOnClick = true;
|
||||
this.disableSpamFilterToolStripMenuItem.Name = "disableSpamFilterToolStripMenuItem";
|
||||
this.disableSpamFilterToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
||||
this.disableSpamFilterToolStripMenuItem.Text = "Disable spam filter";
|
||||
this.disableSpamFilterToolStripMenuItem.CheckedChanged += new System.EventHandler(this.disableSpamFilterToolStripMenuItem_CheckedChanged);
|
||||
//
|
||||
// gameToolStripMenuItem
|
||||
//
|
||||
this.gameToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.allUsersSubscribedToolStripMenuItem,
|
||||
this.fixOfficalBugsToolStripMenuItem});
|
||||
this.gameToolStripMenuItem.Name = "gameToolStripMenuItem";
|
||||
this.gameToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.gameToolStripMenuItem.Text = "Game";
|
||||
//
|
||||
// allUsersSubscribedToolStripMenuItem
|
||||
//
|
||||
this.allUsersSubscribedToolStripMenuItem.CheckOnClick = true;
|
||||
this.allUsersSubscribedToolStripMenuItem.Name = "allUsersSubscribedToolStripMenuItem";
|
||||
this.allUsersSubscribedToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
|
||||
this.allUsersSubscribedToolStripMenuItem.Text = "All users subscribed";
|
||||
this.allUsersSubscribedToolStripMenuItem.CheckedChanged += new System.EventHandler(this.allUsersSubscribedToolStripMenuItem_CheckedChanged);
|
||||
//
|
||||
// fixOfficalBugsToolStripMenuItem
|
||||
//
|
||||
this.fixOfficalBugsToolStripMenuItem.CheckOnClick = true;
|
||||
this.fixOfficalBugsToolStripMenuItem.Name = "fixOfficalBugsToolStripMenuItem";
|
||||
this.fixOfficalBugsToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
|
||||
this.fixOfficalBugsToolStripMenuItem.Text = "Fix offical bugs";
|
||||
this.fixOfficalBugsToolStripMenuItem.CheckedChanged += new System.EventHandler(this.fixOfficalBugsToolStripMenuItem_CheckedChanged);
|
||||
//
|
||||
// advancedToolStripMenuItem
|
||||
//
|
||||
this.advancedToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.editServerPropertiesToolStripMenuItem,
|
||||
this.openServerFolderToolStripMenuItem});
|
||||
this.advancedToolStripMenuItem.Name = "advancedToolStripMenuItem";
|
||||
this.advancedToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.advancedToolStripMenuItem.Text = "Advanced";
|
||||
//
|
||||
// editServerPropertiesToolStripMenuItem
|
||||
//
|
||||
this.editServerPropertiesToolStripMenuItem.Name = "editServerPropertiesToolStripMenuItem";
|
||||
this.editServerPropertiesToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.editServerPropertiesToolStripMenuItem.Text = "Edit server.properties";
|
||||
this.editServerPropertiesToolStripMenuItem.Click += new System.EventHandler(this.editServerPropertiesToolStripMenuItem_Click);
|
||||
//
|
||||
// openServerFolderToolStripMenuItem
|
||||
//
|
||||
this.openServerFolderToolStripMenuItem.Name = "openServerFolderToolStripMenuItem";
|
||||
this.openServerFolderToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.openServerFolderToolStripMenuItem.Text = "Open server folder";
|
||||
this.openServerFolderToolStripMenuItem.Click += new System.EventHandler(this.openServerFolderToolStripMenuItem_Click);
|
||||
//
|
||||
// SystemTrayIcon
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(90, 92);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "SystemTrayIcon";
|
||||
this.Opacity = 0D;
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.Text = "SystemTrayIcon";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SystemTrayIcon_FormClosing);
|
||||
this.Load += new System.EventHandler(this.SystemTrayIcon_Load);
|
||||
this.HispContextMenuStrip.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.NotifyIcon HispNotifyIcon;
|
||||
private System.Windows.Forms.ContextMenuStrip HispContextMenuStrip;
|
||||
private System.Windows.Forms.ToolStripMenuItem usersToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem createNewUserToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem serverToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem closeServerToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem resetUserPasswordToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem advancedToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem editServerPropertiesToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem openServerFolderToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem configToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem disableSwearFilterToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem disableCorrectionsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem disableNonvioChecksToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem disableSpamFilterToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem gameToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem allUsersSubscribedToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem fixOfficalBugsToolStripMenuItem;
|
||||
}
|
||||
}
|
|
@ -1,174 +0,0 @@
|
|||
using HISP.Server;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace HISP.Noobs
|
||||
{
|
||||
public partial class SystemTrayIcon : Form
|
||||
{
|
||||
Process clientProcess = new Process();
|
||||
|
||||
public SystemTrayIcon()
|
||||
{
|
||||
InitializeComponent();
|
||||
disableSwearFilterToolStripMenuItem.Checked = !ConfigReader.EnableSwearFilter;
|
||||
disableCorrectionsToolStripMenuItem.Checked = !ConfigReader.EnableCorrections;
|
||||
disableNonvioChecksToolStripMenuItem.Checked = !ConfigReader.EnableNonViolations;
|
||||
disableSpamFilterToolStripMenuItem.Checked = !ConfigReader.EnableSpamFilter;
|
||||
|
||||
allUsersSubscribedToolStripMenuItem.Checked = ConfigReader.AllUsersSubbed;
|
||||
fixOfficalBugsToolStripMenuItem.Checked = ConfigReader.FixOfficalBugs;
|
||||
}
|
||||
|
||||
private void createNewUserToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
RegisterForm frm = new RegisterForm();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void closeServerToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void SystemTrayIcon_Load(object sender, EventArgs e)
|
||||
{
|
||||
clientProcess.StartInfo.FileName = "flash.dll";
|
||||
|
||||
string serverIp = ConfigReader.BindIP;
|
||||
if (serverIp == "0.0.0.0")
|
||||
serverIp = "127.0.0.1";
|
||||
|
||||
clientProcess.StartInfo.Arguments = "http://127.0.0.1/horseisle.swf?SERVER=" + serverIp + "&PORT=" + ConfigReader.Port;
|
||||
|
||||
clientProcess.StartInfo.RedirectStandardOutput = true;
|
||||
clientProcess.StartInfo.RedirectStandardError = true;
|
||||
|
||||
clientProcess.EnableRaisingEvents = true;
|
||||
clientProcess.Exited += clientExited;
|
||||
clientProcess.Start();
|
||||
|
||||
}
|
||||
|
||||
private void clientExited(object sender, EventArgs e)
|
||||
{
|
||||
if (this.InvokeRequired)
|
||||
{
|
||||
this.Invoke(() =>
|
||||
{
|
||||
this.Close();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
|
||||
private void SystemTrayIcon_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
HispNotifyIcon.Visible = false;
|
||||
clientProcess.Kill();
|
||||
}
|
||||
|
||||
private void editServerPropertiesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process p = new Process();
|
||||
p.StartInfo.FileName = Path.Combine(Program.BaseDir, "server.properties");
|
||||
p.StartInfo.UseShellExecute = true;
|
||||
p.Start();
|
||||
|
||||
}
|
||||
|
||||
private void openServerFolderToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process p = new Process();
|
||||
p.StartInfo.FileName = Program.BaseDir;
|
||||
p.StartInfo.UseShellExecute = true;
|
||||
p.Start();
|
||||
}
|
||||
|
||||
private void ModifyConfig(string okey, string value)
|
||||
{
|
||||
string[] configFile = File.ReadAllLines(ConfigReader.ConfigurationFileName);
|
||||
for (int i = 0; i < configFile.Length; i++)
|
||||
{
|
||||
string setting = configFile[i];
|
||||
|
||||
if (setting.Length < 1)
|
||||
continue;
|
||||
if (setting[0] == '#')
|
||||
continue;
|
||||
if (!setting.Contains("="))
|
||||
continue;
|
||||
|
||||
string[] dataPair = setting.Split('=');
|
||||
|
||||
string key = dataPair[0];
|
||||
|
||||
if (key == okey)
|
||||
{
|
||||
dataPair[1] = value;
|
||||
configFile[i] = string.Join('=', dataPair);
|
||||
}
|
||||
}
|
||||
File.WriteAllLines(ConfigReader.ConfigurationFileName, configFile);
|
||||
}
|
||||
|
||||
private void resetUserPasswordToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ResetForm frm = new ResetForm();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void HispNotifyIcon_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
HispNotifyIcon.ContextMenuStrip.Show();
|
||||
}
|
||||
|
||||
private void disableSwearFilterToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
bool enab = !disableSwearFilterToolStripMenuItem.Checked;
|
||||
ModifyConfig("enable_word_filter", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.EnableSwearFilter = enab;
|
||||
}
|
||||
|
||||
private void disableCorrectionsToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
bool enab = !disableCorrectionsToolStripMenuItem.Checked;
|
||||
ModifyConfig("enable_corrections", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.EnableCorrections = enab;
|
||||
}
|
||||
|
||||
private void disableNonvioChecksToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
bool enab = !disableNonvioChecksToolStripMenuItem.Checked;
|
||||
ModifyConfig("enable_non_violation_check", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.EnableNonViolations = enab;
|
||||
}
|
||||
|
||||
private void disableSpamFilterToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
bool enab = !disableSpamFilterToolStripMenuItem.Checked;
|
||||
ModifyConfig("enable_spam_filter", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.EnableSpamFilter = enab;
|
||||
}
|
||||
|
||||
private void allUsersSubscribedToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
bool enab = allUsersSubscribedToolStripMenuItem.Checked;
|
||||
ModifyConfig("all_users_subscribed", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.AllUsersSubbed = enab;
|
||||
}
|
||||
|
||||
private void fixOfficalBugsToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
bool enab = fixOfficalBugsToolStripMenuItem.Checked;
|
||||
ModifyConfig("fix_offical_bugs", enab.ToString().ToLowerInvariant());
|
||||
ConfigReader.FixOfficalBugs = enab;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,135 +0,0 @@
|
|||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="HispNotifyIcon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="HispContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>150, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="HispNotifyIcon.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAGyAAAAEAIAAoDgAAFgAAACgAAAAbAAAAQAAAAAEAIAAAAAAAgA0AAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAPQFJAD0BSQo9AUkpPQFJGj0BSQBJHk0AWzZePT8NQLwyADALOAA3AAAAAAAAAAAAnZCiAMrK
|
||||
0AVCGUSsMAMyVC8CMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAIQEg/Hj0D
|
||||
STw9AUnoPQFJljYAPQAZABsQcEpyul0yX8sLAA0KMwA1AAAAAAAAAAAAgl2EAF8vX2JvSXH0Nws4UTMH
|
||||
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAtQEFArT0LSEs9AUn9PQFJpDQA
|
||||
OQAoACofSwVK6UcER8wYAB4KLwAyAAAAAAAAAAAAWwdZAEcDRZBUBlL/MgEzUDABMQA9AUkAPQFJAD0B
|
||||
SQE9AUkAPQFJAAAAAAAAAAAAAAAAAAAAAABAQEBcQEE/iz0JSEg9AUn8PQFJvT4BSyQmACYeTwBN6UoA
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A
|
||||
AAAAAAAAAAAAAOsf9ADyIPtdoxGp8koATF9NBFAAQUNBHkBBQBBAQEAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKYV
|
||||
qgClFKkjdAh4fVEAVBRXAFoAAAAAAAAAAAAAAAAAAAAAAAAAAADGPH/gBDx/4AQ8d+AAPGPgAD4h4CAe
|
||||
MOAADBjgAAAA4AAAAOCAAAHggAAD4IAAA+DAAAPgwAAD4MAAA+DgAAPg4AAD4OAAA+DwAAPg+MACAP/4
|
||||
AgD/+AAA//wAAP/8AAD//AAA//4AAP/+ACD//gBg//8A4P//gOD//8Tg///H4A==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>79</value>
|
||||
</metadata>
|
||||
</root>
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB |
Loading…
Add table
Reference in a new issue