예제 #1
0
        private static void smethod_0(string string_0)
        {
            List <GClass1.GClass2> .Enumerator enumerator;

            SelectClient.Class24 class24 = new SelectClient.Class24();
            class24.string_0 = string_0;
            List <GClass1.GClass2> list = GClass1.list_0.FindAll(new Predicate <GClass1.GClass2>(class24, class24.method_0));

            try
            {
                enumerator = list.GetEnumerator();
                while (enumerator.MoveNext())
                {
                    GClass1.GClass2         gclass2 = enumerator.get_Current();
                    Process                 process = Process.GetProcessById(gclass2.method_0().Id);
                    ProcessModuleCollection processModuleCollection = process.Modules;
                    for (int i = checked (processModuleCollection.Count - 1); i >= 0; i = checked (i + -1))
                    {
                        if (processModuleCollection[i].FileName.EndsWith("d3d9hook.dll"))
                        {
                            goto label_1;
                        }
                    }
                    SelectClient.smethod_1((long)gclass2.method_0().Id);
                }
                return;

                label_1 :;
            }
            finally
            {
                enumerator.Dispose();
            }
        }
예제 #2
0
        private void Hotspotform_Load(object sender, EventArgs e)
        {
            List <GClass1.GClass2> .Enumerator enumerator;

            string_1 = Application.StartupPath + "\\" + string_0 + "\\hotSpotTeleport.ini";
            List <GClass1.GClass2> list = GClass1.list_0.FindAll(new Predicate <GClass1.GClass2>(method_6));

            try
            {
                enumerator = list.GetEnumerator();
                while (enumerator.MoveNext())
                {
                    GClass1.GClass2 gclass2 = enumerator.get_Current();
                    process_0        = gclass2.method_0();
                    long_0           = (long)GClass22.OpenProcess(GClass22.GEnum3.const_1, true, process_0.Id);
                    gclass22_0.int_0 = checked ((int)long_0);
                }
            }
            finally
            {
                enumerator.Dispose();
            }
            gclass14_0 = bot_0.gclass14_0;
            method_0();
            gclass0_0           = new GClass0(bot_0, bot_0.gclass26_0, gclass22_0, bot_0.gclass4_0);
            vmethod_2().Enabled = true;
        }
예제 #3
0
파일: QuestForm.cs 프로젝트: fatrolls/AOBot
 private void QuestForm_Load(object sender, EventArgs e)
 {
     GClass1.GClass2 gclass2 = Enumerable.FirstOrDefault<GClass1.GClass2>(GClass1.list_0, new Func<GClass1.GClass2,bool>(method_11));
     process_0 = bot_0.process_0;
     gclass22_0.int_0 = checked((int)gclass2.method_2());
     labelX_5[0] = vmethod_14();
     labelX_5[1] = vmethod_16();
     labelX_5[2] = vmethod_18();
     labelX_5[3] = vmethod_20();
     vmethod_26().Interval = 100.0;
 }
예제 #4
0
파일: GClass22.cs 프로젝트: fatrolls/AOBot
        public void method_0()
        {
            Process process = Process.GetCurrentProcess();

            Process[] processArr = Process.GetProcesses();
            for (int i = 0; i < checked ((int)processArr.Length); i = checked (i + 1))
            {
                process = processArr[i];
                if (((Operators.CompareString(process.ProcessName, "atlantica", false) == 0) | (Operators.CompareString(process.ProcessName, "Atlantica", false) == 0)))
                {
                    GClass1.GClass2 gclass2 = new GClass1.GClass2();
                    gclass2.method_1(process);
                    GClass1.list_0.Add(gclass2);
                }
            }
        }
예제 #5
0
        public void method_0()
        {
            List <GClass1.GClass2> .Enumerator enumerator;

            gclass22_0.method_0();
            List <GClass1.GClass2> list = GClass1.list_0;

            try
            {
                enumerator = list.GetEnumerator();
                while (enumerator.MoveNext())
                {
                    SelectClient.Class23 class23 = new SelectClient.Class23(class23);
                    GClass1.GClass2      gclass2 = enumerator.get_Current();
                    gclass22_0.int_0  = (int)GClass22.OpenProcess(GClass22.GEnum3.const_1, true, gclass2.method_0().Id);
                    gclass22_0.long_0 = (long)gclass2.method_0().Id;
                    long l = (long)gclass22_0.method_1(GClass24.int_2, 4);
                    class23.string_0 = gclass22_0.method_5(checked ((int)l), 24);
                    if (Operators.CompareString(class23.string_0, "NOPERSONNAME", false) == 0)
                    {
                        continue;
                    }
                    List <GClass1.GClass2> list1 = GClass1.list_0.FindAll(new Predicate <GClass1.GClass2>(class23, class23.method_0));
                    if (list1.get_Count() == 0)
                    {
                        gclass2.method_5((long)gclass2.method_0().MainWindowHandle);
                        comboItem_0      = new ComboItem();
                        comboItem_0.Text = class23.string_0;
                        GClass6.smethod_0(comboItem_0);
                        vmethod_2().Items.Add(comboItem_0);
                        gclass2.method_7(class23.string_0);
                        vmethod_2().SelectedIndex = 0;
                    }
                    SelectClient.CloseHandle(gclass22_0.int_0);
                }
            }
            finally
            {
                enumerator.Dispose();
            }
        }
예제 #6
0
파일: QuestForm.cs 프로젝트: fatrolls/AOBot
 private bool method_11(GClass1.GClass2 gclass2_0)
 {
     return Operators.CompareString(gclass2_0.method_6(), bot_0.string_0, false) == 0;
 }
예제 #7
0
 public bool method_0(GClass1.GClass2 gclass2_0)
 {
     return(Operators.CompareString(gclass2_0.method_6(), object_0.ToString(), false) == 0);
 }
예제 #8
0
 private bool method_6(GClass1.GClass2 gclass2_0)
 {
     return(Operators.CompareString(gclass2_0.method_6(), string_0, false) == 0);
 }