Wow Yea Thats the release all of us needed I will save it somewhere so I wont delete it , I may use it later on once I will be making serv Once again :P
Sorry but no, I will not make the sourcecode public (It easy, really. Give it a shot and you'll be suprised how easy it is)
While we're on it, do you guys have anything else in mind that I can code & release, doesn't even have to be CO related.
Sorry, but I've already said, if you want your code to not be public, don't use .net, or give me a challenge.
require1.dll is not a dll, but simply a concealed INI file, You can view this by changing the extension to, *.txt, *.ini, or *.dat, or by simply dragging and dropping it onto a notepad.
require2.dll is not a dll either, but simply a list of all the monsters.
The two things above show a lack of knowledge in the ini api (as there is a function to get all the section names, and even if not, easily can build a function to do so), and it also shows a lack of knowledge of what a dll really is. However it was a decent attempt.
Moving on to source code,
This is more or less the root of the application, and it can be easily reconstructed from this,
Regards,
Hybrid.
Code:
public class Form1 : Form
{
private Button button1;
private ComboBox comboBox1;
private ComboBox comboBox2;
private IContainer components = null;
private IniFile I = new IniFile(start + @"\required1.dll");
private static string start = Application.StartupPath;
private TextBox textBox1;
private TextBox textBox2;
private TextBox textBox3;
private TextBox textBox4;
private TextBox textBox5;
private TextBox textBox6;
private TextBox textBox7;
public Form1()
{
this.InitializeComponent();
}
private void button1_Click_1(object sender, EventArgs e)
{
this.textBox1.Text = "Name: " + this.I.IniReadValue(this.comboBox2.Text, "Name");
this.textBox2.Text = "Level: " + this.I.IniReadValue(this.comboBox2.Text, "Level");
this.textBox3.Text = "Mesh: " + this.I.IniReadValue(this.comboBox2.Text, "Mesh");
this.textBox4.Text = "Health: " + this.I.IniReadValue(this.comboBox2.Text, "Hitpoints");
this.textBox5.Text = "Defence: " + this.I.IniReadValue(this.comboBox2.Text, "Defence");
this.textBox6.Text = "MinAttack: " + this.I.IniReadValue(this.comboBox2.Text, "MinAttack");
this.textBox7.Text = "MaxAttack: " + this.I.IniReadValue(this.comboBox2.Text, "MaxAttack");
}
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
{
}
// More compiler generated shit
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
private void Form1_Load(object sender, EventArgs e)
{
}
/*
This is compiler generated, so no need to be like HOLY SHIT, Emme did this?!
*/
private void InitializeComponent()
{
this.button1 = new Button();
this.textBox1 = new TextBox();
this.textBox2 = new TextBox();
this.textBox3 = new TextBox();
this.textBox4 = new TextBox();
this.textBox5 = new TextBox();
this.textBox6 = new TextBox();
this.textBox7 = new TextBox();
this.comboBox2 = new ComboBox();
base.SuspendLayout();
this.button1.Location = new Point(13, 40);
this.button1.Name = "button1";
this.button1.Size = new Size(120, 23);
this.button1.TabIndex = 1;
this.button1.Text = "Search";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new EventHandler(this.button1_Click_1);
this.textBox1.Location = new Point(13, 70);
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.Size = new Size(120, 20);
this.textBox1.TabIndex = 2;
this.textBox2.Location = new Point(13, 97);
this.textBox2.Name = "textBox2";
this.textBox2.ReadOnly = true;
this.textBox2.Size = new Size(120, 20);
this.textBox2.TabIndex = 3;
this.textBox3.Location = new Point(13, 124);
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.Size = new Size(120, 20);
this.textBox3.TabIndex = 4;
this.textBox4.Location = new Point(13, 152);
this.textBox4.Name = "textBox4";
this.textBox4.ReadOnly = true;
this.textBox4.Size = new Size(120, 20);
this.textBox4.TabIndex = 5;
this.textBox5.Location = new Point(12, 178);
this.textBox5.Name = "textBox5";
this.textBox5.ReadOnly = true;
this.textBox5.Size = new Size(121, 20);
this.textBox5.TabIndex = 6;
this.textBox6.Location = new Point(13, 205);
this.textBox6.Name = "textBox6";
this.textBox6.ReadOnly = true;
this.textBox6.Size = new Size(120, 20);
this.textBox6.TabIndex = 7;
this.textBox7.Location = new Point(13, 234);
this.textBox7.Name = "textBox7";
this.textBox7.ReadOnly = true;
this.textBox7.Size = new Size(120, 20);
this.textBox7.TabIndex = 8;
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Location = new Point(14, 13);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new Size(121, 21);
this.comboBox2.TabIndex = 9;
string[] Lines = File.ReadAllLines(start + @"\required2.dll");
foreach (string Line in Lines)
{
this.comboBox2.Items.Add(Line);
}
this.comboBox2.SelectedIndexChanged += new EventHandler(this.comboBox2_SelectedIndexChanged);
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = AutoScaleMode.Font;
base.ClientSize = new Size(147, 266);
base.Controls.Add(this.comboBox2);
base.Controls.Add(this.textBox7);
base.Controls.Add(this.textBox6);
base.Controls.Add(this.textBox5);
base.Controls.Add(this.textBox4);
base.Controls.Add(this.textBox3);
base.Controls.Add(this.textBox2);
base.Controls.Add(this.textBox1);
base.Controls.Add(this.button1);
base.Name = "Form1";
this.Text = "Form1";
base.ResumeLayout(false);
base.PerformLayout();
}
public class IniFile
{
public string path;
public IniFile(string INIPath)
{
this.path = INIPath;
}
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
public string IniReadValue(string Section, string Key)
{
StringBuilder temp = new StringBuilder(255);
int i = GetPrivateProfileString(Section, Key, "", temp, 255, this.path);
return temp.ToString();
}
public void IniWriteValue(string Section, string Key, string Value)
{
WritePrivateProfileString(Section, Key, Value, this.path);
}
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
}
}
There's been so many times where he's asked me thinks, and I've pointed him to the .sql files for conquer or one of the cq_dumps (same thing) and for whatever reason he refuses to use them.
I'd assume he doesn't know how, and further pushing that assumption knows very little mysql syntax.
Sorry, but I've already said, if you want your code to not be public, don't use .net, or give me a challenge.
require1.dll is not a dll, but simply a concealed INI file, You can view this by changing the extension to, *.txt, *.ini, or *.dat, or by simply dragging and dropping it onto a notepad.
require2.dll is not a dll either, but simply a list of all the monsters.
The two things above show a lack of knowledge in the ini api (as there is a function to get all the section names, and even if not, easily can build a function to do so), and it also shows a lack of knowledge of what a dll really is. However it was a decent attempt.
Moving on to source code,
This is more or less the root of the application, and it can be easily reconstructed from this,
Regards,
Hybrid.
Code:
public class Form1 : Form
{
private Button button1;
private ComboBox comboBox1;
private ComboBox comboBox2;
private IContainer components = null;
private IniFile I = new IniFile(start + @"\required1.dll");
private static string start = Application.StartupPath;
private TextBox textBox1;
private TextBox textBox2;
private TextBox textBox3;
private TextBox textBox4;
private TextBox textBox5;
private TextBox textBox6;
private TextBox textBox7;
public Form1()
{
this.InitializeComponent();
}
private void button1_Click_1(object sender, EventArgs e)
{
this.textBox1.Text = "Name: " + this.I.IniReadValue(this.comboBox2.Text, "Name");
this.textBox2.Text = "Level: " + this.I.IniReadValue(this.comboBox2.Text, "Level");
this.textBox3.Text = "Mesh: " + this.I.IniReadValue(this.comboBox2.Text, "Mesh");
this.textBox4.Text = "Health: " + this.I.IniReadValue(this.comboBox2.Text, "Hitpoints");
this.textBox5.Text = "Defence: " + this.I.IniReadValue(this.comboBox2.Text, "Defence");
this.textBox6.Text = "MinAttack: " + this.I.IniReadValue(this.comboBox2.Text, "MinAttack");
this.textBox7.Text = "MaxAttack: " + this.I.IniReadValue(this.comboBox2.Text, "MaxAttack");
}
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
{
}
// More compiler generated shit
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
private void Form1_Load(object sender, EventArgs e)
{
}
/*
This is compiler generated, so no need to be like HOLY SHIT, Emme did this?!
*/
private void InitializeComponent()
{
this.button1 = new Button();
this.textBox1 = new TextBox();
this.textBox2 = new TextBox();
this.textBox3 = new TextBox();
this.textBox4 = new TextBox();
this.textBox5 = new TextBox();
this.textBox6 = new TextBox();
this.textBox7 = new TextBox();
this.comboBox2 = new ComboBox();
base.SuspendLayout();
this.button1.Location = new Point(13, 40);
this.button1.Name = "button1";
this.button1.Size = new Size(120, 23);
this.button1.TabIndex = 1;
this.button1.Text = "Search";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new EventHandler(this.button1_Click_1);
this.textBox1.Location = new Point(13, 70);
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.Size = new Size(120, 20);
this.textBox1.TabIndex = 2;
this.textBox2.Location = new Point(13, 97);
this.textBox2.Name = "textBox2";
this.textBox2.ReadOnly = true;
this.textBox2.Size = new Size(120, 20);
this.textBox2.TabIndex = 3;
this.textBox3.Location = new Point(13, 124);
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.Size = new Size(120, 20);
this.textBox3.TabIndex = 4;
this.textBox4.Location = new Point(13, 152);
this.textBox4.Name = "textBox4";
this.textBox4.ReadOnly = true;
this.textBox4.Size = new Size(120, 20);
this.textBox4.TabIndex = 5;
this.textBox5.Location = new Point(12, 178);
this.textBox5.Name = "textBox5";
this.textBox5.ReadOnly = true;
this.textBox5.Size = new Size(121, 20);
this.textBox5.TabIndex = 6;
this.textBox6.Location = new Point(13, 205);
this.textBox6.Name = "textBox6";
this.textBox6.ReadOnly = true;
this.textBox6.Size = new Size(120, 20);
this.textBox6.TabIndex = 7;
this.textBox7.Location = new Point(13, 234);
this.textBox7.Name = "textBox7";
this.textBox7.ReadOnly = true;
this.textBox7.Size = new Size(120, 20);
this.textBox7.TabIndex = 8;
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Location = new Point(14, 13);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new Size(121, 21);
this.comboBox2.TabIndex = 9;
string[] Lines = File.ReadAllLines(start + @"\required2.dll");
foreach (string Line in Lines)
{
this.comboBox2.Items.Add(Line);
}
this.comboBox2.SelectedIndexChanged += new EventHandler(this.comboBox2_SelectedIndexChanged);
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = AutoScaleMode.Font;
base.ClientSize = new Size(147, 266);
base.Controls.Add(this.comboBox2);
base.Controls.Add(this.textBox7);
base.Controls.Add(this.textBox6);
base.Controls.Add(this.textBox5);
base.Controls.Add(this.textBox4);
base.Controls.Add(this.textBox3);
base.Controls.Add(this.textBox2);
base.Controls.Add(this.textBox1);
base.Controls.Add(this.button1);
base.Name = "Form1";
this.Text = "Form1";
base.ResumeLayout(false);
base.PerformLayout();
}
public class IniFile
{
public string path;
public IniFile(string INIPath)
{
this.path = INIPath;
}
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
public string IniReadValue(string Section, string Key)
{
StringBuilder temp = new StringBuilder(255);
int i = GetPrivateProfileString(Section, Key, "", temp, 255, this.path);
return temp.ToString();
}
public void IniWriteValue(string Section, string Key, string Value)
{
WritePrivateProfileString(Section, Key, Value, this.path);
}
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
}
}
Ah for fuck sake, just leave me alone. By me making this program maybe inspire others to give it a shot, but ofcourse you should come and make the sourcecode public..
[Release] S4 League Dmg Finder 11/25/2009 - S4 League Hacks, Bots, Cheats & Exploits - 22 Replies http://www.badassbadges.co.uk/images/i-love/cock-3 8mm.jpg
[Release]Beta-Path Finder Compiler 09/28/2009 - EO PServer Guides & Releases - 11 Replies I am releasing this Beta Version of an upcomming Path Finder Compiler. The problem is I am sure there should be a couple bugs here and there I would just like a few of you guys to test it for me and posting what locations are screwing up. Once I have it bug free I will then end up adding the save function and add path find location.
Current Features:
Load MapDestination.dat
Change Values
View all values decrypted.
I can't seem to upload any files here atm so I will link it.
...