Ejemplo n.º 1
0
        public void Start()
        {
            //Check if they are of any particular rank
            if (Provider.client.m_SteamID == Controller.Dev)
            {
                isDev     = true;
                isBeta    = true;
                isPremium = true;
            }

            if (Prem.Contain(Provider.client.m_SteamID.ToString()))
            {
                isPremium = true;
            }

            if (Beta.Contain(Provider.client.m_SteamID.ToString()))
            {
                isBeta = true;
            }

            //Show the EULA
            if (ShowEula)
            {
                WebAccess.DownloadEula(out eula);
                Blocker.BlockerEnabled = true;
                Blocker.DisabledType   = Blocker.Type.EulaAgree;
            }

            //Set blocker
            if (Controller.Version != Version)
            {
                Blocker.SetDisabled(Blocker.Type.OutOfDate);
            }
            else if (Provider.APP_VERSION != GameVersion)
            {
                Blocker.SetDisabled(Blocker.Type.GameOutOfDate);
            }
            else if (Ban.Contains(Provider.client.m_SteamID.ToString()))
            {
                Controller.BanOverride("YOU HAVE BEEN GLOBALLY BANNED FROM USING TSUNAMI HACK, VERIFY GAME FILES TO UNINSTALL");
                Blocker.DisabledType = Blocker.Type.Disabled;
            }
            else
            {
                Blocker.DisabledType = Blocker.Type.Disabled;
            }
        }