
Originally Posted by
Gravious
I think that by release the source for this you encourage people to customize it and create better versions.
Unless you don't want anyone to see the source of a simple "Button Click Event -> Output in text or client" application.
I can release unpacked app if Sedrika wants... It wasn't hard to unpack. Here's sample of reflected source code:
Code:
private void Form1_Load(object sender, EventArgs e)
{
DateTime now = DateAndTime.Now;
this.Text = this.Text + " - Patch " + this.Patch.Text;
this.Text = this.Text + " ~* Coded by Sedrika *~";
if ((!File.Exists(Application.StartupPath + @"\MonsterList.txt") & !File.Exists(Application.StartupPath + @"\ItemList.txt")) & !File.Exists(Application.StartupPath + @"\HonorList.txt"))
{
this.Time.Text = "Keine Resourcen zum laden gefunden.";
}
else
{
ToolStripLabel time = this.Time;
time.Text = time.Text + Strings.Format(DateAndTime.Now.Subtract(now).TotalSeconds, " 0.#### Sekunden.");
}
RegisterHotKey(this.Handle, 1, 0, 0x79);
this.pListe = new Teleport[(this.pmax - 1) + 1];
int num = this.pListe.Length - 1;
for (int i = 0; i <= num; i++)
{
this.pListe[i].MapName = string.Empty;
this.pListe[i].ID = string.Empty;
this.pListe[i].X = string.Empty;
this.pListe[i].Y = string.Empty;
this.pListe[i].Z = string.Empty;
}
this.readFile();
this.anzeigen();
if (File.Exists(Application.StartupPath + @"\MonsterList.txt"))
{
this.ReadMonsterList();
}
if (File.Exists(Application.StartupPath + @"\ItemList.txt"))
{
this.ReadItemList();
}
if (File.Exists(Application.StartupPath + @"\HonorList.txt"))
{
this.ReadHonorList();
}
if (File.Exists(Application.StartupPath + @"\Notizen.txt"))
{
ListView lv = this.ListView4;
this.OpenTextfile(ref lv);
this.ListView4 = lv;
}
}
Then here's a function that doesn't seem to have its name reflected properly(unless developer of this app made 100+ unnamed buttons):
Code:
private void Button116_Click(object sender, EventArgs e)
{
this.TextBox4.Text = this.TextBox4.Text.ToLower();
if (this.TextBox4.Text != "")
{
int num = this.ListView1.Items.Count - 1;
for (int i = 0; i <= num; i++)
{
if ((this.ListView1.Items[i].SubItems[2].Text.Contains(this.TextBox4.Text) | this.ListView1.Items[i].SubItems[2].Text.ToUpper().Contains(this.TextBox4.Text)) | this.ListView1.Items[i].SubItems[2].Text.ToLower().Contains(this.TextBox4.Text))
{
Interaction.MsgBox(this.TextBox4.Text + " ist an der Stelle " + Conversions.ToString((int) (this.ListView1.Items[i].Index + 1)) + " in der Liste und wurde markiert!", MsgBoxStyle.Information, "RockNetwork");
this.ListView1.Select();
this.ListView1.Items[i].Selected = true;
}
}
}
}