Beispiel #1
0
        public bool method_6(int int_1, int int_2, long long_1)
        {
            byte[] bArr   = BitConverter.GetBytes(int_2);
            IntPtr intPtr = (IntPtr)0;

            return(GClass22.WriteProcessMemory((IntPtr)int_0, (IntPtr)int_1, bArr, checked ((uint)long_1), out intPtr));
        }
Beispiel #2
0
        public bool method_7(int int_1, float float_0)
        {
            byte[] bArr   = BitConverter.GetBytes(float_0);
            IntPtr intPtr = (IntPtr)0;

            return(GClass22.WriteProcessMemory((IntPtr)int_0, (IntPtr)int_1, bArr, checked ((uint)checked ((int)bArr.Length)), out intPtr));
        }
Beispiel #3
0
 public SelectClient()
 {
     Load      += new EventHandler(SelectClient_Load);
     gclass6_0  = new GClass6();
     gclass22_0 = new GClass22();
     InitializeComponent();
 }
Beispiel #4
0
 public GClass23(GClass22 gclass22_1, GClass26 gclass26_1, long long_1, GClass14 gclass14_1)
 {
     gclass22_0 = gclass22_1;
     gclass26_0 = gclass26_1;
     long_0     = long_1;
     gclass14_0 = gclass14_1;
 }
Beispiel #5
0
 public GClass0(Bot bot_1, GClass26 gclass26_1, GClass22 gclass22_1, GClass4 gclass4_1)
 {
     bot_0      = bot_1;
     gclass26_0 = gclass26_1;
     gclass22_0 = gclass22_1;
     gclass4_0  = gclass4_1;
 }
Beispiel #6
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;
        }
Beispiel #7
0
        public byte[] method_4(long long_1, long long_2, int int_1)
        {
            byte[] bArr = new byte[checked (checked (int_1 - 1) + 1)];
            int    i    = 0;

            GClass22.ReadProcessMemory(int_0, checked ((int)long_1), bArr, int_1, ref i);
            return(bArr);
        }
Beispiel #8
0
 public QuestForm()
 {
     Load += new EventHandler(QuestForm_Load);
     gclass22_0 = new GClass22();
     labelX_5 = new LabelX[4];
     vmethod_27(new Timer());
     InitializeComponent();
 }
Beispiel #9
0
        public string method_5(int int_1, int int_2)
        {
            byte[] bArr = new byte[checked (checked (int_2 - 1) + 1)];
            int    i    = 0;

            GClass22.ReadProcessMemory(int_0, int_1, bArr, int_2, ref i);
            string[] sArr = Strings.Split(Encoding.Unicode.GetString(bArr, 0, checked ((int)bArr.Length)), "\0", -1, CompareMethod.Binary);
            return(sArr[0]);
        }
Beispiel #10
0
 public MapTeleport(Bot bot_1, GClass22 gclass22_1, GClass26 gclass26_1, GClass4 gclass4_1)
 {
     Load += new EventHandler(MapTeleport_Load);
     InitializeComponent();
     bot_0        = bot_1;
     gclass22_0   = gclass22_1;
     gclass26_0   = gclass26_1;
     gclass4_0    = gclass4_1;
     bot_0.bool_0 = true;
     gclass0_0    = new GClass0(bot_0, gclass26_0, gclass22_0, gclass4_0);
 }
Beispiel #11
0
        public int method_1(int[] int_1, int int_2)
        {
            byte[] bArr = new byte[checked (checked (int_2 - 1) + 1)];
            int    i1   = checked (Information.UBound(int_1, 1) - 1);

            for (int i2 = 0; i2 <= i1; i2 = checked (i2 + 1))
            {
                int i3 = 0;
                GClass22.ReadProcessMemory(int_0, checked (int_1[i2] + BitConverter.ToInt32(bArr, 0)), bArr, int_2, ref i3);
            }
            return(checked (int_1[Information.UBound(int_1, 1)] + BitConverter.ToInt32(bArr, 0)));
        }
Beispiel #12
0
 public Automoveform(Bot bot_1, GClass22 gclass22_1, GClass26 gclass26_1, GClass4 gclass4_1)
 {
     Load += new EventHandler(Automoveform_Load);
     InitializeComponent();
     bot_0               = bot_1;
     gclass22_0          = gclass22_1;
     gclass26_0          = gclass26_1;
     gclass4_0           = gclass4_1;
     bot_0.bool_0        = true;
     gclass0_0           = new GClass0(bot_0, gclass26_0, gclass22_0, gclass4_0);
     vmethod_6().Enabled = true;
 }
Beispiel #13
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();
            }
        }
Beispiel #14
0
        private void method_3(object sender, EventArgs e)
        {
            SelectClient.Class25 class25;
            GClass1.GClass2      gclass2;
            IEnumerator          ienumerator;

            if (vmethod_2().Items.Count > 0)
            {
                try
                {
                    ienumerator = vmethod_2().Items.GetEnumerator();
                    while (ienumerator.MoveNext())
                    {
                        class25           = new SelectClient.Class25(class25);
                        class25.object_0  = RuntimeHelpers.GetObjectValue(ienumerator.Current);
                        gclass2           = Enumerable.FirstOrDefault <GClass1.GClass2>(GClass1.list_0, new Func <GClass1.GClass2, bool>(class25, class25.method_0));
                        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);
                        string s = gclass22_0.method_5(checked ((int)l), 24);
                        if (Operators.CompareString(s, gclass2.method_6(), false) != 0)
                        {
                            goto label_1;
                        }
                    }
                    return;

label_1:
                    GClass1.list_0.Remove(gclass2);
                    vmethod_2().Items.Remove(RuntimeHelpers.GetObjectValue(class25.object_0));
                }
                finally
                {
                    if (ienumerator is IDisposable)
                    {
                        (ienumerator as IDisposable).Dispose();
                    }
                }
            }
        }
Beispiel #15
0
        public long method_3(int int_1, int int_2)
        {
            byte[] bArr = new byte[checked (checked (int_2 - 1) + 1)];
            int    i    = 0;

            GClass22.ReadProcessMemory(int_0, int_1, bArr, int_2, ref i);
            switch (int_2)
            {
            case 1:
                return(bArr[0]);

            case 2:
                return((long)BitConverter.ToInt16(bArr, 0));

            case 4:
                return((long)BitConverter.ToInt32(bArr, 0));

            default:
                return(0L);

            case 8:
                return(BitConverter.ToInt64(bArr, 0));
            }
        }
Beispiel #16
0
 public Hotspotform()
 {
     Load      += new EventHandler(Hotspotform_Load);
     gclass22_0 = new GClass22();
     InitializeComponent();
 }