Пример #1
0
        private void bAttach_Click(object sender, EventArgs e)
        {
            if (ObjectManager.getObjThread.IsAlive == false)
            {
                attachForm att = new attachForm();
                att.ShowDialog();

                if (attachForm.isAttached)
                {
                    if (!Inject.isHookApplied)
                    {
                        if (Inject.Apply())
                        {
                            Inject.Init();
                            ObjectManager.ExecuteOnce = true;
                            ChatReader.ClearChat      = true;
                            startObjectManager();
                        }
                        else
                        {
                            MessageBox.Show("Endscene is already modified, not attaching");
                        }
                    }
                }
            }
            else
            {
                MessageBox.Show("Bot is already attached");
            }
        }
Пример #2
0
        private void bAttach_Click(object sender, EventArgs e)
        {
            if (ObjectManager.getObjThread.IsAlive == false)
            {
                attachForm att = new attachForm();
                att.ShowDialog();

                if (attachForm.isAttached)
                {
                    if (!Inject.isHookApplied)
                    {
                        if (Inject.Apply())
                        {
                            Inject.Init();
                            ObjectManager.ExecuteOnce = true;
                            ChatReader.ClearChat = true;
                            startObjectManager();
                        }
                        else
                        {
                            MessageBox.Show("Endscene is already modified, not attaching");
                        }
                    }
                }
            }
            else
            {
                MessageBox.Show("Bot is already attached");
            }
        }