コード例 #1
0
        private static void Loader(SxLibBase.SynLoadEvents Event, object yuck)
        {
            switch (Event)
            {
            case SxLibBase.SynLoadEvents.READY:
            {
                isReady = true;
                Console.WriteLine("[S^X] Synapse X has loaded! Type 'attach' to attach!");
                if (Synapse.GetOptions().AutoAttach)
                {
                    autoAttach = true;
                    Console.WriteLine("[S^X] Auto Attach is on!");
                }
                Synapse.ScriptHub();
                break;
            }

            case SxLibBase.SynLoadEvents.NOT_UPDATED:
            {
                Kill("[S^X] Synapse X is not updated!");
                break;
            }

            default:
            {
                break;
            }
            }
        }
コード例 #2
0
        private void LibraryLoadEvent(SxLibBase.SynLoadEvents Event, object whatever)
        {
            materialLabel1.ForeColor = Color.White;
            switch (Event)
            {
            case SxLibBase.SynLoadEvents.READY:
                materialLabel1.Text = "Ready to Inject!";
                Loaded = true;
                return;

            case SxLibBase.SynLoadEvents.CHECKING_WL:

                materialLabel1.Text = "Checking Whitelist..";
                break;

            case SxLibBase.SynLoadEvents.CHANGING_WL:
                break;

            case SxLibBase.SynLoadEvents.DOWNLOADING_DLLS:
                materialLabel1.Text = "Downloading DLLS..";
                break;

            case SxLibBase.SynLoadEvents.DOWNLOADING_DATA:
                materialLabel1.Text = "Downloading Data...";
                return;

            case SxLibBase.SynLoadEvents.CHECKING_DATA:
                materialLabel1.Text = "Checking Data..";
                return;
            }
        }
コード例 #3
0
        private void SxLoadEvent(SxLibBase.SynLoadEvents Event, object whatever)
        {
            //This tells you the loading of synapse
            switch (Event)
            {
            case SxLibBase.SynLoadEvents.CHECKING_WL:
                label1.Text = "Checking Whitelist...";
                break;

            case SxLibBase.SynLoadEvents.CHANGING_WL:
            case SxLibBase.SynLoadEvents.DOWNLOADING_DLLS:
                break;

            case SxLibBase.SynLoadEvents.DOWNLOADING_DATA:
                label1.Text = "Downloading Data...";
                return;

            case SxLibBase.SynLoadEvents.CHECKING_DATA:
                label1.Text = "Checking Data...";
                return;

            case SxLibBase.SynLoadEvents.READY:
                label1.Text = "Ready to Attach!";
                this.Loaded = true;
                return;

            default:
                return;
            }
        }
コード例 #4
0
        private void LibraryLoadEvent(SxLibBase.SynLoadEvents Event, object whatever)
        {
            // This is basically the switch that'll make the label change according to the status of Synapse launching
            switch (Event)
            {
            case SxLibBase.SynLoadEvents.CHECKING_WL:
                this.AttachingLabel.ForeColor = Color.FromArgb(240, 240, 240);
                this.AttachingLabel.Text      = "Checking whitelist...";
                break;

            case SxLibBase.SynLoadEvents.CHANGING_WL:
            case SxLibBase.SynLoadEvents.DOWNLOADING_DLLS:
                break;

            case SxLibBase.SynLoadEvents.DOWNLOADING_DATA:
                this.AttachingLabel.Text = "Downloading data...";
                return;

            case SxLibBase.SynLoadEvents.CHECKING_DATA:
                this.AttachingLabel.Text = "Checking data...";
                return;

            case SxLibBase.SynLoadEvents.READY:
                this.AttachingLabel.ForeColor = Color.FromArgb(0, 255, 0);
                this.AttachingLabel.Text      = "Ready to Attach!";
                this.Loaded = true;
                return;

            default:
                return;
            }
        }
コード例 #5
0
        private void SynLoadEvent(SxLibBase.SynLoadEvents Event, object Param)
        {
            switch (Event)
            {
            case SxLibBase.SynLoadEvents.CHECKING_WL:
                this.AttachingLabel.ForeColor = Color.FromArgb(0, 0, 0);
                this.AttachingLabel.Text      = "Checking WL...";
                return;

            case SxLibBase.SynLoadEvents.READY:
                this.AttachingLabel.ForeColor = Color.FromArgb(0, 255, 0);
                this.AttachingLabel.Text      = "Ready to attach to Roblox!";
                this.Loaded = true;
                return;
            }
        }
コード例 #6
0
ファイル: UI.cs プロジェクト: realdizzy/synergysploit-ui
        private void SynLoadEvent(SxLibBase.SynLoadEvents Event, object Param)
        {
            switch (Event)
            {
            case SxLibBase.SynLoadEvents.CHECKING_WL:
                this.AttachingLabel.ForeColor = Color.FromArgb(255, 0, 0);
                this.AttachingLabel.Text      = "Status: Check WL";
                return;

            case SxLibBase.SynLoadEvents.READY:
                this.AttachingLabel.ForeColor = Color.FromArgb(0, 255, 0);
                this.AttachingLabel.Text      = "Status: Able to Attach";
                this.Loaded = true;
                return;
            }
        }
コード例 #7
0
ファイル: AJax.cs プロジェクト: Mikxy/AJax-C-winforms
        void Loader(SxLibBase.SynLoadEvents Event)
        {
            switch (Event)
            {
            case SxLibBase.SynLoadEvents.READY:
            {
                TUpdate("Idle");
                Tools.Enabled      = true;
                Scriptbox.Enabled  = true;
                Scriptlist.Enabled = true;
                //Synapse.Attach();
                break;
            }

            case SxLibBase.SynLoadEvents.NOT_UPDATED:
            {
                TUpdate("Wait for Roblox Update");
                break;
            }
            }
        }
コード例 #8
0
ファイル: Loading.xaml.cs プロジェクト: idkxyz/Sierra-X
        private void SynLoadEvent(SxLibBase.SynLoadEvents Event, object Param)
        {
            switch (Event)
            {
            case SxLibBase.SynLoadEvents.CHECKING_WL:

                DoubleAnimation dbanim = new DoubleAnimation();
                dbanim.From     = 0;
                dbanim.To       = 100;
                dbanim.Duration = TimeSpan.FromMilliseconds(2500);

                dbanim.EasingFunction = new QuarticEase();

                progressbar1.BeginAnimation(HeightProperty, dbanim);
                TITLE.Content = "checking whitelist...";
                return;

            case SxLibBase.SynLoadEvents.DOWNLOADING_DATA:
                DoubleAnimation dbanim1 = new DoubleAnimation();
                dbanim1.From     = 100;
                dbanim1.To       = 220;
                dbanim1.Duration = TimeSpan.FromMilliseconds(2500);

                dbanim1.EasingFunction = new QuarticEase();

                progressbar1.BeginAnimation(HeightProperty, dbanim1);
                TITLE.Content = "Getting Data...";
                return;

            case SxLibBase.SynLoadEvents.CHECKING_DATA:
                Task.Delay(8000);
                DoubleAnimation dbanim5 = new DoubleAnimation();
                dbanim5.From     = 220;
                dbanim5.To       = 240;
                dbanim5.Duration = TimeSpan.FromMilliseconds(2500);

                dbanim5.EasingFunction = new QuarticEase();

                progressbar1.BeginAnimation(HeightProperty, dbanim5);
                TITLE.Content = "Checking data...";
                return;

            case SxLibBase.SynLoadEvents.DOWNLOADING_DLLS:
                DoubleAnimation dbanim7 = new DoubleAnimation();
                dbanim7.From     = 240;
                dbanim7.To       = 270;
                dbanim7.Duration = TimeSpan.FromMilliseconds(2500);

                dbanim7.EasingFunction = new QuarticEase();

                progressbar1.BeginAnimation(HeightProperty, dbanim7);
                TITLE.Content = "Updating Synapse...";
                return;


            case SxLibBase.SynLoadEvents.READY:
                Task.Delay(3000);
                DoubleAnimation dbanim8 = new DoubleAnimation();
                dbanim8.From     = 270;
                dbanim8.To       = 286;
                dbanim8.Duration = TimeSpan.FromMilliseconds(2500);

                dbanim8.EasingFunction = new QuarticEase();

                progressbar1.BeginAnimation(HeightProperty, dbanim8);
                TITLE.Content = "Ready!";

                SierraMain ss = new SierraMain();
                this.Close();
                ss.ShowDialog();
                return;
            }
        }