Beispiel #1
0
        private void ShowCaptcha()
        {
            if (!LoggedIn)
            {
                PerformLogin();
            }

            else
            {
                PerformQuickLogin();
            }

            try {
                captchaAnswer = Captcha.Create(this);
                CaptchaTime   = DateTime.Now;

                server.PluginHost.OnCaptcha(this, CaptchaEvent.Enter);
            }
            catch { }
        }
Beispiel #2
0
        private void ShowCaptcha()
        {
            if (!LoggedIn)
            {
                PerformLogin();
            }

            else
            {
                PerformQuickLogin();
            }

            try {
                //this could except on client.Socket
                //SendPacket won't send out packets to IsCaptcha = true
                captchaAnswer = Captcha.Create(this);

                captchatime = DateTime.Now;
                server.PluginHost.OnCaptcha(this, CaptchaEvent.Enter);
            }
            catch { }
        }