Hi community,
today I share with you my new tool: it's a mob_drop_item Creator. It's useful to compose a new "mob_drop_item.txt". The program source is simple...
Screen:
Antivirus Scan:

Download:

Here is C# source code. If you want use it, please don't remove the link at my website:
Bye!
today I share with you my new tool: it's a mob_drop_item Creator. It's useful to compose a new "mob_drop_item.txt". The program source is simple...
Screen:
Antivirus Scan:

Download:

Here is C# source code. If you want use it, please don't remove the link at my website:
Code:
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace MobDropItem
{
/// <summary>
/// Description of MainForm.
/// </summary>
public partial class MainForm : Form
{
public MainForm()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void ComboBox1SelectedIndexChanged(object sender, EventArgs e)
{
if( comboBox1.SelectedIndex == 2 ){
numericUpDown7.Enabled = true;
numericUpDown2.Enabled = false;
}
if( comboBox1.SelectedIndex == 0 ){
numericUpDown2.Enabled = true;
numericUpDown7.Enabled = false;
}
if( comboBox1.SelectedIndex == 1 ){
numericUpDown2.Enabled = false;
numericUpDown7.Enabled = false;
}
}
void Button1Click(object sender, EventArgs e)
{
richTextBox1.Text += "Group " + textBox1.Text + '\n' + '{' + '\n' + '\t' + "Type " + comboBox1.Text + '\n';
richTextBox1.Text += "\tMob " + numericUpDown1.Text + '\n';
if( numericUpDown2.Enabled )
richTextBox1.Text += "\tkill_drop " + numericUpDown2.Text + '\n';
if( numericUpDown7.Enabled )
richTextBox1.Text += "\tlevel_limit " + numericUpDown7.Text + '\n';
numericUpDown2.Enabled = false;
numericUpDown7.Enabled = false;
textBox1.Enabled = false;
comboBox1.Enabled = false;
numericUpDown1.Enabled = false;
button1.Enabled = false;
numericUpDown3.Enabled = true;
numericUpDown4.Enabled = true;
numericUpDown5.Enabled = true;
numericUpDown6.Enabled = true;
button2.Enabled = true;
button3.Enabled = true;
}
void Button5Click(object sender, EventArgs e)
{
this.Close();
}
void Button2Click(object sender, EventArgs e)
{
richTextBox1.Text += '\t' + numericUpDown3.Text + '\t' + numericUpDown4.Text + '\t' + numericUpDown5.Text + '\t' + numericUpDown6.Text + '\n';
numericUpDown3.Value += 1;
}
void Button3Click(object sender, EventArgs e)
{
richTextBox1.Text += '}' + '\n';
numericUpDown2.Enabled = false;
numericUpDown7.Enabled = true;
textBox1.Enabled = true;
comboBox1.Enabled = true;
numericUpDown1.Enabled = true;
button1.Enabled = true;
numericUpDown3.Enabled = false;
numericUpDown4.Enabled = false;
numericUpDown5.Enabled = false;
numericUpDown6.Enabled = false;
button2.Enabled = false;
button3.Enabled = false;
}
void Button4Click(object sender, EventArgs e)
{
System.IO.File.AppendAllText( "mob_drop_item.txt", "//File created by ManHunter - MHLab" + richTextBox1.Text );
richTextBox1.Text = null;
}
[COLOR="Red"]//-----------------MHLab References-------------------------
//---------------Please, do not remove-----------------------
void Button6Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("http://mhlab.altervista.org");
}
//-----------------------------------------------------------
[/COLOR]}
}
Bye!






