示例#1
0
        private async void G7IDBot()
        {
            int CurrFrame = (int)StartFrame.Value;

            while (Botting && CurrFrame < (int)StopFrame.Value)
            {
                // Keyboard Input
                ntrclient.TouchCenter(); L_NTRLog.Text = "Character input";
                await Task.Delay(Delay1);

                // Confirm
                ntrclient.Confirm(JPN.Checked); L_NTRLog.Text = "Enter pressed";
                await Task.Delay(Delay2);

                // Discard
                ntrclient.PressB(); L_NTRLog.Text = "B pressed";
                await Task.Delay(Delay3);

                StartFrame.Value = ++CurrFrame;
            }
            B_Stop_Click(null, null);
        }
示例#2
0
        private async void G7IDBot()
        {
            int CurrFrame = (int)StartFrame.Value;

            while (Botting && CurrFrame < (int)StopFrame.Value)
            {
                // Input "!"
                ntrclient.PressA(); L_NTRLog.Text = "A pressed";
                await Task.Delay(Delay1);

                // Confirm
                ntrclient.Confirm(); L_NTRLog.Text = "Enter pressed";
                await Task.Delay(Delay2);

                // Discard
                ntrclient.PressB(); L_NTRLog.Text = "B pressed";
                await Task.Delay(Delay3);

                StartFrame.Value = ++CurrFrame;
            }
            B_Stop_Click(null, null);
        }