wth,

02/10/2010 00:49 -Shunsui-#1
Code:
        }
        public static void LoadTopLeader(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\TopLeader.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\TopLeader.txt");
                int TopLeader = AllLines.Length;
                for (int x = 0; x < TopLeader; x++)
                {
                    string[] TopGuildLeaderz = AllLines[x].Split('#');
                    string CharID = TopGuildLeaderz[0];
                    string GuildHalo = TopGuildLeaderz[1];
                    if (TopGuildLeaderz.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(GuildHalo); // A check if it reads it right.
                        if (GuildHalo == "17179869184")
                            GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader);
                    }
                }
            }
        }
        public static void LoadTopDeputy(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\TopDeputy.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\TopDeputy.txt");
                int TopDeputy = AllLines.Length;
                for (int x = 0; x < TopDeputy; x++)
                {
                    string[] TopGuildDeputyz = AllLines[x].Split('#');
                    string CharID = TopGuildDeputyz[0];
                    string DeputyHalo = TopGuildDeputyz[1];
                    if (TopGuildDeputyz.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(DeputyHalo); // A check if it reads it right.
                        if (DeputyHalo == "34359738368")
                            GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                    }
                }
            }
        }
        public static void LoadPkWeek(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\PkWeek.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\PkWeek.txt");
                int PkWeek = AllLines.Length;
                for (int x = 0; x < PkWeek; x++)
                {
                    string[] WeeklyPKz = AllLines[x].Split('#');
                    string CharID = WeeklyPKz[0];
                    string WeekHalo = WeeklyPKz[1];
                    if (WeeklyPKz.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(WeekHalo); // A check if it reads it right.
                        if (WeekHalo == "137438953472")//137438953472
                            GC.MyChar.StatEff.Add(StatusEffectEn.WeeklyPKChampion);
                    }
                }
            }
        }
        public static void LoadTopTrojan(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\TopTrojan .txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\TopTrojan.txt");
                int TopTrojan = AllLines.Length;
                for (int x = 0; x < TopTrojan; x++)
                {
                    string[] TopTro = AllLines[x].Split('#');
                    string CharID = TopTro[0];
                    string TroHalo = TopTro[1];
                    if (TopTro.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(TroHalo); // A check if it reads it right.
                        if (TroHalo == "549755813888")
                            GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                    }
                }
            }
        }
        public static void LoadTopWarrior(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\TopWarrior.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\TopWarrior.txt");
                int TopWarrior = AllLines.Length;
                for (int x = 0; x < TopWarrior; x++)
                {
                    string[] TopWar = AllLines[x].Split('#');
                    string CharID = TopWar[0];
                    string WarHalo = TopWar[1];
                    if (TopWar.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(WarHalo); // A check if it reads it right.
                        if (WarHalo == "274877906944")
                            GC.MyChar.StatEff.Add(StatusEffectEn.TopWarrior);
                    }
                }
            }
        }
        public static void LoadTopArcher(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\TopArcher.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\TopArcher.txt");
                int TopArcher = AllLines.Length;
                for (int x = 0; x < TopArcher; x++)
                {
                    string[] TopArch = AllLines[x].Split('#');
                    string CharID = TopArch[0];
                    string ArchHalo = TopArch[1];
                    if (TopArch.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(ArchHalo); // A check if it reads it right.
                        if (ArchHalo == "1099511627776")
                            GC.MyChar.StatEff.Add(StatusEffectEn.TopArcher);
                    }
                }
            }
        }
        public static void LoadTopNinja(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\TopNinja.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\TopNinja.txt");
                int TopNinja = AllLines.Length;
                for (int x = 0; x < TopNinja; x++)
                {
                    string[] TopNin = AllLines[x].Split('#');
                    string CharID = TopNin[0];
                    string NinHalo = TopNin[1];
                    if (TopNin.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(NinHalo); // A check if it reads it right.
                        if (NinHalo == "8796093022208")
                            GC.MyChar.StatEff.Add(StatusEffectEn.TopNinja);
                    }
                }
            }
        }
        public static void LoadTopFire(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\TopFire.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\TopFire.txt");
                int TopFire = AllLines.Length;
                for (int x = 0; x < TopFire; x++)
                {
                    string[] TopFirez = AllLines[x].Split('#');
                    string CharID = TopFirez[0];
                    string FireHalo = TopFirez[1];
                    if (TopFirez.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(FireHalo); // A check if it reads it right.
                        if (FireHalo == "4398046511104")
                            GC.MyChar.StatEff.Add(StatusEffectEn.TopFireTaoist);
                    }
                }
            }
        }
        public static void LoadTopWater(StatusEffectEn Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Tops\TopWater.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Tops\TopWater.txt");
                int TopWater = AllLines.Length;
                for (int x = 0; x < TopWater; x++)
                {
                    string[] TopWaterz = AllLines[x].Split('#');
                    string CharID = TopWaterz[0];
                    string WaterHalo = TopWaterz[1];
                    if (TopWaterz.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {
                        Program.WriteLine(WaterHalo); // A check if it reads it right.
                        if (WaterHalo == "2199023255552")
                            GC.MyChar.StatEff.Add(StatusEffectEn.TopWaterTaoist);
                    }
                }
            }
        }
anyone knows how come is only reading the first 2 top gl and top dep cause the others it dosent seem to read it and the number is correct same one as in the text file