You last visited: Today at 01:52
Advertisement
[Release]NosTale P-Server Launcher
Discussion on [Release]NosTale P-Server Launcher within the Nostale forum part of the MMORPGs category.
10/15/2016, 21:26
#1
elite*gold: 50
Join Date: Jul 2014
Posts: 1,701
Received Thanks: 1,167
[Release]NosTale P-Server Launcher
Hello Epvp,
in the case that @
still change the .exe I Release a Launcher where you can Play on every NosTale P-Server that works with the GF Client as Example MyTale, Nostale4DE. With the Launcher you just need 1 Launcher to play on every P-Server and you can still play without Problems on the Official NosTale the only thing you need to know IP and Port of the Server you can get it easy by asking the Server.
For the first i give you IP and Port for NosTale4DE
IP=188.138.107.185
Port=4001
Screen:
Code:
Dim Test As String
Dim Test2 As String
Dim IP As String
Dim Port As String
IP = TextBox1.Text
Port = TextBox2.Text
Test = "IP="
Test2 = "Port="
Dim IP2 As String = (Test + IP)
Dim PORT2 As String = (Test2 + Port)
If Not File.Exists(Application.StartupPath + "/NostaleX.dat") Then
MessageBox.Show("Please move the Launcher into your Nostale Folder")
Else
Dim path As String = Application.StartupPath + "/config.ini"
Dim Checked As Boolean = False
Dim port__1 As Boolean = False
Dim ip__2 As Boolean = False
If File.Exists(path) Then
Dim list As New List(Of String)
Using r As StreamReader = New StreamReader(path)
Dim line As String
line = r.ReadLine
Do While (Not line Is Nothing)
list.Add(line)
Console.WriteLine(line)
line = r.ReadLine
Loop
r.Close()
End Using
If list.Contains(PORT2) Then
port__1 = True
End If
If list.Contains(IP2) Then
ip__2 = True
End If
If ip__2 AndAlso port__1 Then
Checked = True
Else
File.Delete(path)
Using sw As StreamWriter = File.CreateText(path)
sw.WriteLine("[NosTale_Network]")
sw.WriteLine(IP2)
sw.WriteLine(PORT2)
Checked = True
sw.Close()
End Using
End If
Else
Using sw As StreamWriter = File.CreateText(path)
sw.WriteLine("[NosTale_Network]")
sw.WriteLine(IP2)
sw.WriteLine(PORT2)
Checked = True
sw.Close()
End Using
End If
If Checked Then
Dim nostalex As String = (Application.StartupPath + "/NostaleX.dat")
Dim path2 As String = """"
path2 += nostalex
path2 += """"
Dim argument As String = "/c START "
argument += """"
argument += """"
argument += " "
argument += path2
argument += " EntwellNostaleClientLoadFromIni"
Dim p As New Process()
p.StartInfo = New ProcessStartInfo("cmd.exe", argument)
p.StartInfo.CreateNoWindow = True
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
p.Start()
Application.[Exit]()
End If
End If
Attached Files
NosTale P-Server Launcher.rar
(281.1 KB, 647 views)
10/15/2016, 21:49
#2
elite*gold: 0
Join Date: Sep 2015
Posts: 482
Received Thanks: 532
Tonight i will not sleep because of this ugly design.
Clean,
Code:
[DesignerGenerated]
public class Form1 : Form
{
// Fields
[CompilerGenerated, AccessedThroughProperty("BackgroundWorker1")]
private BackgroundWorker _BackgroundWorker1;
[CompilerGenerated, AccessedThroughProperty("Button1")]
private Button _Button1;
[CompilerGenerated, AccessedThroughProperty("Button2")]
private Button _Button2;
[CompilerGenerated, AccessedThroughProperty("Button3")]
private Button _Button3;
[CompilerGenerated, AccessedThroughProperty("Label1")]
private Label _Label1;
[CompilerGenerated, AccessedThroughProperty("Label2")]
private Label _Label2;
[CompilerGenerated, AccessedThroughProperty("ProgressBar1")]
private ProgressBar _ProgressBar1;
[CompilerGenerated, AccessedThroughProperty("TextBox1")]
private TextBox _TextBox1;
[CompilerGenerated, AccessedThroughProperty("TextBox2")]
private TextBox _TextBox2;
[CompilerGenerated, AccessedThroughProperty("WebBrowser1")]
private WebBrowser _WebBrowser1;
private IContainer components;
private int X;
private int Y;
// Methods
public Form1()
{
base.MouseDown += new MouseEventHandler(this.Form1_MouseDown);
base.MouseMove += new MouseEventHandler(this.Form1_MouseMove);
base.Load += new EventHandler(this.Form1_Load);
this.InitializeComponent();
}
private void BackgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
}
private void Button1_Click(object sender, EventArgs e)
{
string text = this.TextBox1.Text;
string str3 = this.TextBox2.Text;
string str = "IP=";
string item = str + text;
string str5 = "Port=" + str3;
if (!File.Exists(Application.StartupPath + "/NostaleX.dat"))
{
MessageBox.Show("Please move the Launcher into your Nostale Folder");
return;
}
string path = Application.StartupPath + "/config.ini";
bool flag = false;
bool flag2 = false;
bool flag3 = false;
if (File.Exists(path))
{
List<string> list = new List<string>();
using (StreamReader reader = new StreamReader(path))
{
for (string str7 = reader.ReadLine(); str7 != null; str7 = reader.ReadLine())
{
list.Add(str7);
Console.WriteLine(str7);
}
reader.Close();
}
if (list.Contains(str5))
{
flag2 = true;
}
if (list.Contains(item))
{
flag3 = true;
}
if (flag3 && flag2)
{
flag = true;
goto Label_0176;
}
File.Delete(path);
using (StreamWriter writer = File.CreateText(path))
{
writer.WriteLine("[NosTale_Network]");
writer.WriteLine(item);
writer.WriteLine(str5);
flag = true;
writer.Close();
goto Label_0176;
}
}
using (StreamWriter writer2 = File.CreateText(path))
{
writer2.WriteLine("[NosTale_Network]");
writer2.WriteLine(item);
writer2.WriteLine(str5);
flag = true;
writer2.Close();
}
Label_0176:
if (flag)
{
string str8 = Application.StartupPath + "/NostaleX.dat";
string str9 = "\"";
str9 = str9 + str8 + "\"";
string arguments = "/c START ";
arguments = ((arguments + "\"") + "\"" + " ") + str9 + " EntwellNostaleClientLoadFromIni";
Process process1 = new Process {
StartInfo = new ProcessStartInfo("cmd.exe", arguments)
};
process1.StartInfo.CreateNoWindow = true;
process1.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process1.Start();
Application.Exit();
}
}
private void Button2_Click(object sender, EventArgs e)
{
base.Close();
}
private void Button3_Click(object sender, EventArgs e)
{
Process.Start("NtConfig.exe");
}
private void client_DownloadCompleted(object sender, AsyncCompletedEventArgs e)
{
}
private void client_ProgressChanged(object sender, DownloadProgressChangedEventArgs e)
{
}
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
private void Form1_Load(object sender, EventArgs e)
{
this.BackgroundWorker1.RunWorkerAsync();
}
private void Form1_MouseDown(object sender, MouseEventArgs e)
{
this.X = e.X;
this.Y = e.Y;
}
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
base.Left = (e.X - this.X) + base.Left;
base.Top = (e.Y - this.Y) + base.Top;
}
}
[DebuggerStepThrough]
private void InitializeComponent()
{
ComponentResourceManager manager = new ComponentResourceManager(typeof(Form1));
this.WebBrowser1 = new WebBrowser();
this.BackgroundWorker1 = new BackgroundWorker();
this.ProgressBar1 = new ProgressBar();
this.Button1 = new Button();
this.Button2 = new Button();
this.Button3 = new Button();
this.TextBox1 = new TextBox();
this.TextBox2 = new TextBox();
this.Label1 = new Label();
this.Label2 = new Label();
base.SuspendLayout();
this.WebBrowser1.Location = new Point(15, 0x2d);
this.WebBrowser1.MaximumSize = new Size(0x239, 0xe4);
this.WebBrowser1.MinimumSize = new Size(0x239, 0xe4);
this.WebBrowser1.Name = "WebBrowser1";
this.WebBrowser1.Size = new Size(0x239, 0xe4);
this.WebBrowser1.TabIndex = 0;
this.WebBrowser1.Url = new Uri("http://www.elitepvpers.com/forum/nostale/4165487-release-nostale-p-server-launcher.html#post35312575", UriKind.Absolute);
this.ProgressBar1.Location = new Point(0x11, 0x175);
this.ProgressBar1.Name = "ProgressBar1";
this.ProgressBar1.Size = new Size(0x234, 15);
this.ProgressBar1.TabIndex = 2;
this.Button1.BackColor = Color.Transparent;
this.Button1.BackgroundImageLayout = ImageLayout.None;
this.Button1.FlatAppearance.BorderSize = 0;
this.Button1.FlatStyle = FlatStyle.Popup;
this.Button1.Location = new Point(0x16f, 0x193);
this.Button1.Name = "Button1";
this.Button1.Size = new Size(0x5f, 0x2e);
this.Button1.TabIndex = 3;
this.Button1.UseVisualStyleBackColor = false;
this.Button2.BackColor = Color.Transparent;
this.Button2.BackgroundImageLayout = ImageLayout.None;
this.Button2.FlatAppearance.BorderSize = 0;
this.Button2.FlatStyle = FlatStyle.Popup;
this.Button2.Location = new Point(480, 0x193);
this.Button2.Name = "Button2";
this.Button2.Size = new Size(0x5f, 0x2e);
this.Button2.TabIndex = 4;
this.Button2.UseVisualStyleBackColor = false;
this.Button3.BackColor = Color.Transparent;
this.Button3.BackgroundImageLayout = ImageLayout.None;
this.Button3.FlatAppearance.BorderSize = 0;
this.Button3.FlatStyle = FlatStyle.Popup;
this.Button3.Location = new Point(0x16, 0x193);
this.Button3.Name = "Button3";
this.Button3.Size = new Size(0x5f, 0x2e);
this.Button3.TabIndex = 5;
this.Button3.UseVisualStyleBackColor = false;
this.TextBox1.Location = new Point(0x7f, 0x120);
this.TextBox1.Name = "TextBox1";
this.TextBox1.Size = new Size(100, 20);
this.TextBox1.TabIndex = 6;
this.TextBox1.Text = "188.138.107.185";
this.TextBox2.Location = new Point(0x7f, 0x13a);
this.TextBox2.Name = "TextBox2";
this.TextBox2.Size = new Size(100, 20);
this.TextBox2.TabIndex = 7;
this.TextBox2.Text = "4001";
this.Label1.AutoSize = true;
this.Label1.BackColor = SystemColors.ControlLightLight;
this.Label1.Location = new Point(30, 0x123);
this.Label1.Name = "Label1";
this.Label1.Size = new Size(0x36, 13);
this.Label1.TabIndex = 9;
this.Label1.Text = "Server IP:";
this.Label2.AutoSize = true;
this.Label2.BackColor = SystemColors.ControlLightLight;
this.Label2.Location = new Point(30, 0x13d);
this.Label2.Name = "Label2";
this.Label2.Size = new Size(0x3f, 13);
this.Label2.TabIndex = 10;
this.Label2.Text = "Server Port:";
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = AutoScaleMode.Font;
this.BackColor = SystemColors.HotTrack;
this.BackgroundImage = NosTale_Launcher.My.Resources.Resources.Background;
base.ClientSize = new Size(0x257, 0x1d3);
base.Controls.Add(this.Label2);
base.Controls.Add(this.Label1);
base.Controls.Add(this.TextBox2);
base.Controls.Add(this.TextBox1);
base.Controls.Add(this.Button3);
base.Controls.Add(this.Button2);
base.Controls.Add(this.Button1);
base.Controls.Add(this.ProgressBar1);
base.Controls.Add(this.WebBrowser1);
base.FormBorderStyle = FormBorderStyle.None;
base.Icon = (Icon) manager.GetObject("$this.Icon");
base.MaximizeBox = false;
this.MaximumSize = new Size(0x257, 0x1d3);
this.MinimumSize = new Size(0x257, 0x1d3);
base.Name = "Form1";
base.TransparencyKey = SystemColors.HotTrack;
base.ResumeLayout(false);
base.PerformLayout();
}
// Properties
internal virtual BackgroundWorker BackgroundWorker1
{
[CompilerGenerated]
get =>
this._BackgroundWorker1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
DoWorkEventHandler handler = new DoWorkEventHandler(this.BackgroundWorker1_DoWork);
BackgroundWorker worker = this._BackgroundWorker1;
if (worker != null)
{
worker.DoWork -= handler;
}
this._BackgroundWorker1 = value;
worker = this._BackgroundWorker1;
if (worker != null)
{
worker.DoWork += handler;
}
}
}
internal virtual Button Button1
{
[CompilerGenerated]
get =>
this._Button1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
EventHandler handler = new EventHandler(this.Button1_Click);
Button button = this._Button1;
if (button != null)
{
button.Click -= handler;
}
this._Button1 = value;
button = this._Button1;
if (button != null)
{
button.Click += handler;
}
}
}
internal virtual Button Button2
{
[CompilerGenerated]
get =>
this._Button2;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
EventHandler handler = new EventHandler(this.Button2_Click);
Button button = this._Button2;
if (button != null)
{
button.Click -= handler;
}
this._Button2 = value;
button = this._Button2;
if (button != null)
{
button.Click += handler;
}
}
}
internal virtual Button Button3
{
[CompilerGenerated]
get =>
this._Button3;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
EventHandler handler = new EventHandler(this.Button3_Click);
Button button = this._Button3;
if (button != null)
{
button.Click -= handler;
}
this._Button3 = value;
button = this._Button3;
if (button != null)
{
button.Click += handler;
}
}
}
internal virtual Label Label1
{
[CompilerGenerated]
get =>
this._Label1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._Label1 = value;
}
}
internal virtual Label Label2
{
[CompilerGenerated]
get =>
this._Label2;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._Label2 = value;
}
}
internal virtual ProgressBar ProgressBar1
{
[CompilerGenerated]
get =>
this._ProgressBar1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._ProgressBar1 = value;
}
}
internal virtual TextBox TextBox1
{
[CompilerGenerated]
get =>
this._TextBox1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._TextBox1 = value;
}
}
internal virtual TextBox TextBox2
{
[CompilerGenerated]
get =>
this._TextBox2;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._TextBox2 = value;
}
}
internal virtual WebBrowser WebBrowser1
{
[CompilerGenerated]
get =>
this._WebBrowser1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._WebBrowser1 = value;
}
}
}
10/15/2016, 21:50
#3
elite*gold: 50
Join Date: Jul 2014
Posts: 1,701
Received Thanks: 1,167
Quote:
Originally Posted by
SystemX64™
Tonight will not sleep because of this ugly design.
Clean,
Omg wow you can decompile VB what should i say now? :l 0% protected, and i give a **** on the design ? xD
and the Source looks more **** as that what i have as real source good job bra.
10/15/2016, 21:52
#4
elite*gold: 0
Join Date: Dec 2012
Posts: 2,728
Received Thanks: 934
Quote:
Originally Posted by
xSensitivex
Omg wow you can decompile VB what should i say now? :l 0% protected, and i give a fuck on the design ? xD
and the Source looks more shit as that what i have as real source good job bra.
Quote:
Originally Posted by
SystemX64™
Are you able to write a sentence without 'shit' term etc?
Ayyy, quite funny (^.^)
Quote:
Originally Posted by
SystemX64™
Tonight i will not sleep because of this ugly design.
My words.
10/15/2016, 21:55
#5
elite*gold: 50
Join Date: Jul 2014
Posts: 1,701
Received Thanks: 1,167
Quote:
Originally Posted by
Liihes
Ayyy, quite funny (^.^)
My words.
:l Source is not clean i wrote it fast so its a **** source xD
PS: The Source is not Clean i dont Clean it. I dont change Design because not Needed its just a fast Launcher to Remove Threads like "Nostale Crash with mytale.exe mimimi" so when you want a other design ask me i give you full source without design no problem.
10/15/2016, 21:56
#6
elite*gold: 0
Join Date: Dec 2012
Posts: 2,728
Received Thanks: 934
Quote:
Originally Posted by
xSensitivex
:l Source is not clean i wrote it fast so its a **** source xD
Who cares, if its working, problem solved.
10/15/2016, 22:01
#7
elite*gold: 0
Join Date: Sep 2015
Posts: 482
Received Thanks: 532
Quote:
Originally Posted by
xSensitivex
Omg wow you can decompile VB what should i say now? :l 0% protected, and i give a **** on the design ? xD
and the Source looks more **** as that what i have as real source good job bra.
I never said that it is difficult to decompile a program written in .NET, i did what you asked me.
10/15/2016, 22:25
#8
elite*gold: 0
Join Date: Sep 2016
Posts: 21
Received Thanks: 7
Thanks for Release!
10/15/2016, 22:37
#9
elite*gold: 0
Join Date: Aug 2012
Posts: 146
Received Thanks: 80
What about source?
10/15/2016, 22:48
#10
elite*gold: 0
Join Date: Dec 2012
Posts: 2,728
Received Thanks: 934
Quote:
Originally Posted by
Dracula#
What about source?
Read... Source is writeable in 3 minutes.
Quote:
Originally Posted by
SystemX64™
Clean,
Code:
[DesignerGenerated]
public class Form1 : Form
{
// Fields
[CompilerGenerated, AccessedThroughProperty("BackgroundWorker1")]
private BackgroundWorker _BackgroundWorker1;
[CompilerGenerated, AccessedThroughProperty("Button1")]
private Button _Button1;
[CompilerGenerated, AccessedThroughProperty("Button2")]
private Button _Button2;
[CompilerGenerated, AccessedThroughProperty("Button3")]
private Button _Button3;
[CompilerGenerated, AccessedThroughProperty("Label1")]
private Label _Label1;
[CompilerGenerated, AccessedThroughProperty("Label2")]
private Label _Label2;
[CompilerGenerated, AccessedThroughProperty("ProgressBar1")]
private ProgressBar _ProgressBar1;
[CompilerGenerated, AccessedThroughProperty("TextBox1")]
private TextBox _TextBox1;
[CompilerGenerated, AccessedThroughProperty("TextBox2")]
private TextBox _TextBox2;
[CompilerGenerated, AccessedThroughProperty("WebBrowser1")]
private WebBrowser _WebBrowser1;
private IContainer components;
private int X;
private int Y;
// Methods
public Form1()
{
base.MouseDown += new MouseEventHandler(this.Form1_MouseDown);
base.MouseMove += new MouseEventHandler(this.Form1_MouseMove);
base.Load += new EventHandler(this.Form1_Load);
this.InitializeComponent();
}
private void BackgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
}
private void Button1_Click(object sender, EventArgs e)
{
string text = this.TextBox1.Text;
string str3 = this.TextBox2.Text;
string str = "IP=";
string item = str + text;
string str5 = "Port=" + str3;
if (!File.Exists(Application.StartupPath + "/NostaleX.dat"))
{
MessageBox.Show("Please move the Launcher into your Nostale Folder");
return;
}
string path = Application.StartupPath + "/config.ini";
bool flag = false;
bool flag2 = false;
bool flag3 = false;
if (File.Exists(path))
{
List<string> list = new List<string>();
using (StreamReader reader = new StreamReader(path))
{
for (string str7 = reader.ReadLine(); str7 != null; str7 = reader.ReadLine())
{
list.Add(str7);
Console.WriteLine(str7);
}
reader.Close();
}
if (list.Contains(str5))
{
flag2 = true;
}
if (list.Contains(item))
{
flag3 = true;
}
if (flag3 && flag2)
{
flag = true;
goto Label_0176;
}
File.Delete(path);
using (StreamWriter writer = File.CreateText(path))
{
writer.WriteLine("[NosTale_Network]");
writer.WriteLine(item);
writer.WriteLine(str5);
flag = true;
writer.Close();
goto Label_0176;
}
}
using (StreamWriter writer2 = File.CreateText(path))
{
writer2.WriteLine("[NosTale_Network]");
writer2.WriteLine(item);
writer2.WriteLine(str5);
flag = true;
writer2.Close();
}
Label_0176:
if (flag)
{
string str8 = Application.StartupPath + "/NostaleX.dat";
string str9 = "\"";
str9 = str9 + str8 + "\"";
string arguments = "/c START ";
arguments = ((arguments + "\"") + "\"" + " ") + str9 + " EntwellNostaleClientLoadFromIni";
Process process1 = new Process {
StartInfo = new ProcessStartInfo("cmd.exe", arguments)
};
process1.StartInfo.CreateNoWindow = true;
process1.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process1.Start();
Application.Exit();
}
}
private void Button2_Click(object sender, EventArgs e)
{
base.Close();
}
private void Button3_Click(object sender, EventArgs e)
{
Process.Start("NtConfig.exe");
}
private void client_DownloadCompleted(object sender, AsyncCompletedEventArgs e)
{
}
private void client_ProgressChanged(object sender, DownloadProgressChangedEventArgs e)
{
}
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
private void Form1_Load(object sender, EventArgs e)
{
this.BackgroundWorker1.RunWorkerAsync();
}
private void Form1_MouseDown(object sender, MouseEventArgs e)
{
this.X = e.X;
this.Y = e.Y;
}
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
base.Left = (e.X - this.X) + base.Left;
base.Top = (e.Y - this.Y) + base.Top;
}
}
[DebuggerStepThrough]
private void InitializeComponent()
{
ComponentResourceManager manager = new ComponentResourceManager(typeof(Form1));
this.WebBrowser1 = new WebBrowser();
this.BackgroundWorker1 = new BackgroundWorker();
this.ProgressBar1 = new ProgressBar();
this.Button1 = new Button();
this.Button2 = new Button();
this.Button3 = new Button();
this.TextBox1 = new TextBox();
this.TextBox2 = new TextBox();
this.Label1 = new Label();
this.Label2 = new Label();
base.SuspendLayout();
this.WebBrowser1.Location = new Point(15, 0x2d);
this.WebBrowser1.MaximumSize = new Size(0x239, 0xe4);
this.WebBrowser1.MinimumSize = new Size(0x239, 0xe4);
this.WebBrowser1.Name = "WebBrowser1";
this.WebBrowser1.Size = new Size(0x239, 0xe4);
this.WebBrowser1.TabIndex = 0;
this.WebBrowser1.Url = new Uri("http://www.elitepvpers.com/forum/nostale/4165487-release-nostale-p-server-launcher.html#post35312575", UriKind.Absolute);
this.ProgressBar1.Location = new Point(0x11, 0x175);
this.ProgressBar1.Name = "ProgressBar1";
this.ProgressBar1.Size = new Size(0x234, 15);
this.ProgressBar1.TabIndex = 2;
this.Button1.BackColor = Color.Transparent;
this.Button1.BackgroundImageLayout = ImageLayout.None;
this.Button1.FlatAppearance.BorderSize = 0;
this.Button1.FlatStyle = FlatStyle.Popup;
this.Button1.Location = new Point(0x16f, 0x193);
this.Button1.Name = "Button1";
this.Button1.Size = new Size(0x5f, 0x2e);
this.Button1.TabIndex = 3;
this.Button1.UseVisualStyleBackColor = false;
this.Button2.BackColor = Color.Transparent;
this.Button2.BackgroundImageLayout = ImageLayout.None;
this.Button2.FlatAppearance.BorderSize = 0;
this.Button2.FlatStyle = FlatStyle.Popup;
this.Button2.Location = new Point(480, 0x193);
this.Button2.Name = "Button2";
this.Button2.Size = new Size(0x5f, 0x2e);
this.Button2.TabIndex = 4;
this.Button2.UseVisualStyleBackColor = false;
this.Button3.BackColor = Color.Transparent;
this.Button3.BackgroundImageLayout = ImageLayout.None;
this.Button3.FlatAppearance.BorderSize = 0;
this.Button3.FlatStyle = FlatStyle.Popup;
this.Button3.Location = new Point(0x16, 0x193);
this.Button3.Name = "Button3";
this.Button3.Size = new Size(0x5f, 0x2e);
this.Button3.TabIndex = 5;
this.Button3.UseVisualStyleBackColor = false;
this.TextBox1.Location = new Point(0x7f, 0x120);
this.TextBox1.Name = "TextBox1";
this.TextBox1.Size = new Size(100, 20);
this.TextBox1.TabIndex = 6;
this.TextBox1.Text = "188.138.107.185";
this.TextBox2.Location = new Point(0x7f, 0x13a);
this.TextBox2.Name = "TextBox2";
this.TextBox2.Size = new Size(100, 20);
this.TextBox2.TabIndex = 7;
this.TextBox2.Text = "4001";
this.Label1.AutoSize = true;
this.Label1.BackColor = SystemColors.ControlLightLight;
this.Label1.Location = new Point(30, 0x123);
this.Label1.Name = "Label1";
this.Label1.Size = new Size(0x36, 13);
this.Label1.TabIndex = 9;
this.Label1.Text = "Server IP:";
this.Label2.AutoSize = true;
this.Label2.BackColor = SystemColors.ControlLightLight;
this.Label2.Location = new Point(30, 0x13d);
this.Label2.Name = "Label2";
this.Label2.Size = new Size(0x3f, 13);
this.Label2.TabIndex = 10;
this.Label2.Text = "Server Port:";
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = AutoScaleMode.Font;
this.BackColor = SystemColors.HotTrack;
this.BackgroundImage = NosTale_Launcher.My.Resources.Resources.Background;
base.ClientSize = new Size(0x257, 0x1d3);
base.Controls.Add(this.Label2);
base.Controls.Add(this.Label1);
base.Controls.Add(this.TextBox2);
base.Controls.Add(this.TextBox1);
base.Controls.Add(this.Button3);
base.Controls.Add(this.Button2);
base.Controls.Add(this.Button1);
base.Controls.Add(this.ProgressBar1);
base.Controls.Add(this.WebBrowser1);
base.FormBorderStyle = FormBorderStyle.None;
base.Icon = (Icon) manager.GetObject("$this.Icon");
base.MaximizeBox = false;
this.MaximumSize = new Size(0x257, 0x1d3);
this.MinimumSize = new Size(0x257, 0x1d3);
base.Name = "Form1";
base.TransparencyKey = SystemColors.HotTrack;
base.ResumeLayout(false);
base.PerformLayout();
}
// Properties
internal virtual BackgroundWorker BackgroundWorker1
{
[CompilerGenerated]
get =>
this._BackgroundWorker1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
DoWorkEventHandler handler = new DoWorkEventHandler(this.BackgroundWorker1_DoWork);
BackgroundWorker worker = this._BackgroundWorker1;
if (worker != null)
{
worker.DoWork -= handler;
}
this._BackgroundWorker1 = value;
worker = this._BackgroundWorker1;
if (worker != null)
{
worker.DoWork += handler;
}
}
}
internal virtual Button Button1
{
[CompilerGenerated]
get =>
this._Button1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
EventHandler handler = new EventHandler(this.Button1_Click);
Button button = this._Button1;
if (button != null)
{
button.Click -= handler;
}
this._Button1 = value;
button = this._Button1;
if (button != null)
{
button.Click += handler;
}
}
}
internal virtual Button Button2
{
[CompilerGenerated]
get =>
this._Button2;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
EventHandler handler = new EventHandler(this.Button2_Click);
Button button = this._Button2;
if (button != null)
{
button.Click -= handler;
}
this._Button2 = value;
button = this._Button2;
if (button != null)
{
button.Click += handler;
}
}
}
internal virtual Button Button3
{
[CompilerGenerated]
get =>
this._Button3;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
EventHandler handler = new EventHandler(this.Button3_Click);
Button button = this._Button3;
if (button != null)
{
button.Click -= handler;
}
this._Button3 = value;
button = this._Button3;
if (button != null)
{
button.Click += handler;
}
}
}
internal virtual Label Label1
{
[CompilerGenerated]
get =>
this._Label1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._Label1 = value;
}
}
internal virtual Label Label2
{
[CompilerGenerated]
get =>
this._Label2;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._Label2 = value;
}
}
internal virtual ProgressBar ProgressBar1
{
[CompilerGenerated]
get =>
this._ProgressBar1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._ProgressBar1 = value;
}
}
internal virtual TextBox TextBox1
{
[CompilerGenerated]
get =>
this._TextBox1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._TextBox1 = value;
}
}
internal virtual TextBox TextBox2
{
[CompilerGenerated]
get =>
this._TextBox2;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._TextBox2 = value;
}
}
internal virtual WebBrowser WebBrowser1
{
[CompilerGenerated]
get =>
this._WebBrowser1;
[MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
set
{
this._WebBrowser1 = value;
}
}
}
10/15/2016, 23:08
#11
elite*gold: 50
Join Date: Jul 2014
Posts: 1,701
Received Thanks: 1,167
Quote:
Originally Posted by
Dracula#
What about source?
Like I said some lines before you can ask me for real source and you get it without design.
10/15/2016, 23:27
#12
elite*gold: 79
Join Date: Jul 2011
Posts: 2,063
Received Thanks: 267
Work on Win10 without any problems.
10/15/2016, 23:30
#13
elite*gold: 85
Join Date: Feb 2010
Posts: 142
Received Thanks: 46
Sometimes is faster to use the separate launchers
, cos not needed to change the ip and port. But thanks for work.
10/16/2016, 15:25
#14
elite*gold: 50
Join Date: Jul 2014
Posts: 1,701
Received Thanks: 1,167
But its not safe ?
Other launcher can download any **** but this launcher just start NT with the IP and Port the Client doesnt care you can play easy with ITA,ES,TR,RU,DE Client on Nos4DE
10/21/2016, 19:39
#15
elite*gold: 50
Join Date: Jul 2014
Posts: 1,701
Received Thanks: 1,167
Because some People want it here the Source code
if you cant understand the code or need help sorry i dont give support for it, because when you cant use it without help so learn basic of VB is easy then you can do it too on your own.
Code:
Dim Test As String
Dim Test2 As String
Dim IP As String
Dim Port As String
IP = TextBox1.Text
Port = TextBox2.Text
Test = "IP="
Test2 = "Port="
Dim IP2 As String = (Test + IP)
Dim PORT2 As String = (Test2 + Port)
If Not File.Exists(Application.StartupPath + "/NostaleX.dat") Then
MessageBox.Show("Please move the Launcher into your Nostale Folder")
Else
Dim path As String = Application.StartupPath + "/config.ini"
Dim Checked As Boolean = False
Dim port__1 As Boolean = False
Dim ip__2 As Boolean = False
If File.Exists(path) Then
Dim list As New List(Of String)
Using r As StreamReader = New StreamReader(path)
Dim line As String
line = r.ReadLine
Do While (Not line Is Nothing)
list.Add(line)
Console.WriteLine(line)
line = r.ReadLine
Loop
r.Close()
End Using
If list.Contains(PORT2) Then
port__1 = True
End If
If list.Contains(IP2) Then
ip__2 = True
End If
If ip__2 AndAlso port__1 Then
Checked = True
Else
File.Delete(path)
Using sw As StreamWriter = File.CreateText(path)
sw.WriteLine("[NosTale_Network]")
sw.WriteLine(IP2)
sw.WriteLine(PORT2)
Checked = True
sw.Close()
End Using
End If
Else
Using sw As StreamWriter = File.CreateText(path)
sw.WriteLine("[NosTale_Network]")
sw.WriteLine(IP2)
sw.WriteLine(PORT2)
Checked = True
sw.Close()
End Using
End If
If Checked Then
Dim nostalex As String = (Application.StartupPath + "/NostaleX.dat")
Dim path2 As String = """"
path2 += nostalex
path2 += """"
Dim argument As String = "/c START "
argument += """"
argument += """"
argument += " "
argument += path2
argument += " EntwellNostaleClientLoadFromIni"
Dim p As New Process()
p.StartInfo = New ProcessStartInfo("cmd.exe", argument)
p.StartInfo.CreateNoWindow = True
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
p.Start()
Application.[Exit]()
End If
End If
Similar Threads
I have the game server & database of nostale, buy launcher to play
08/01/2016 - Nostale Trading - 1 Replies
10€
[Release] Flash Launcher | Xara Launcher | TCP Launcher
01/22/2016 - Fiesta Online - 16 Replies
Da Xara ja tot ist und sie somit keine Verwendung mehr dafür haben,
release ich mal den Source vom Launcher, den Xara verwendet hat.
Ob ich das recht dazu habe? Sharing is caring...
Bis auf die InjectionLibrary*, welche für das Anti-Cheat genutzt wurde,
wurde nichts weiter daran verändert. Selbst die Variablen sind gleich
geblieben.
Kurze Info was besonders dran ist:
[Release] Nostale Local Launcher
06/09/2014 - Nostale - 13 Replies
Hallo,
ich möchte euch heute meinen ersten Release vorstellen.
Der nosyxLauncher
Beim nosyxLauncher handelt es sich um nichts anderes als eine Anwendung, die ihr startet, um euch dann mit einem lokalen Loginserver zu verbinden (anstatt dem Offiziellen). Die Ziel-IP des Login-Servers könnt ihr bei Bedarf in einer INI-Datei definieren (ansonsten wird die loakle IP 127.0.0.1 genommen).
Das Programm erzeugt eine Kopie der NostaleX.dat und ersetzt die IP entsprechend. (Hinweis für die...
All times are GMT +1. The time now is 01:56 .