void Form1_Load(object sender, EventArgs e)
        {
            // From map
            textBox1.Text = Properties.Settings.Default.teleport_frommap.ToString();
            // To map
            textBox2.Text = Properties.Settings.Default.teleport_tomap.ToString();
            // Map jump list
            textBox4.Text = Properties.Settings.Default.teleport_jumplist;

            // Map name load
            WZFactory.CacheMapData();

            // EXE Path
            txtFilePath.Text = Properties.Settings.Default.launchpath;
            // DLL Path
            txtDLLPath.Text = Properties.Settings.Default.launchdll;
            // DLL 2 path
            txtDLLPath2.Text = Properties.Settings.Default.launchdll2;
            // Process name
            textBox_procName.Text = Properties.Settings.Default.processname;
            // Injection delay
            numericUpDown_injectdelay.Value = Properties.Settings.Default.launchdelay;

            // HWID
            textBox_HWID.Text = Properties.Settings.Default.hwid_default;
            // HWID acc
            textBox_user.Text = Properties.Settings.Default.hwid_acc;
            // HWID Pass
            textBox_password.Text = Properties.Settings.Default.hwid_pass;
        }
        private void textBox_itemidFind_TextChanged(object sender, EventArgs e)
        {
            HexJumpList.Clear();
            comboBox_hexlist.Items.Clear();

            string query = textBox_itemidFind.Text.ToLower();

            if (checkBox_searcheq.Checked)
            {
                WZFactory.SearchEQ(query, HexJumpList);
            }
            if (checkBox_searchuse.Checked)
            {
                WZFactory.SearchUse(query, HexJumpList);
            }
            if (checkBox_searchsetup.Checked)
            {
                WZFactory.SearchSetup(query, HexJumpList);
            }

            if (checkBox_searchetc.Checked)
            {
                WZFactory.SearchETC(query, HexJumpList);
            }

            if (checkBox_searchcash.Checked)
            {
                WZFactory.SearchCash(query, HexJumpList);
            }

            if (HexJumpList.Count == 0)
            {
                textBox6.Text       = "0";
                label_itemname.Text = "Not found";
                label_itemdesc.Text = "Not found";
            }
            else
            {
                bool first = true;
                foreach (KeyValuePair <int, KeyValuePair <string, string> > data in HexJumpList)
                {
                    if (first)
                    {
                        textBox6.Text = data.Key.ToString();

                        label_itemname.Text = data.Value.Key;
                        label_itemdesc.Text = data.Value.Value;

                        first = false;
                    }
                    comboBox_hexlist.Items.Add(String.Format("{0} - {1}", data.Value.Key, data.Value.Value));
                }
            }
        }
        private void Compute(int min, int max)
        {
            Random        r             = new Random();
            StringBuilder sb            = new StringBuilder();
            int           pendingCounts = 0;

            for (int i = min; i < max; i++)
            {
                int order = 0;
                foreach (int z in mapids)
                {
                    if (z != i)
                    {
                        int TargetMap = z | i;
                        if (z != TargetMap)
                        {
                            string hashIndex = string.Format("{0}{1}", TargetMap, z);
                            if (FlagDuplicates.Contains(hashIndex))
                            {
                                continue; // already there
                            }

                            string mapname = WZFactory.getMapNameEx(TargetMap);
                            if (mapname != null)
                            {
                                Packet packet = new Packet();
                                packet.WriteInt(i);

                                // Start with indexes
                                sb.Append(z);         // From map
                                sb.Append(" ");
                                sb.Append(TargetMap); // ToMap
                                sb.Append(" [");
                                sb.Append(packet.ToPacketsString());
                                sb.Append("]");

                                // Human readable
                                sb.Append(" ||| ");
                                sb.Append(mapstrs[order]);
                                sb.Append(" > ");
                                sb.Append(mapname);

                                if (!FlagDuplicates.Contains(hashIndex))
                                {
                                    FlagDuplicates.Add(hashIndex);
                                }


                                pendingCounts++;
                                if (pendingCounts > 50)
                                {
                                    Debug.WriteLine(sb.ToString());
                                    sb.Clear();
                                }
                                else
                                {
                                    sb.Append("\r\n");
                                }
                            }
                        }
                    }
                    order++;
                }
            }
            // others
            Debug.WriteLine(sb.ToString());
            sb.Clear();
        }