Пример #1
0
        static void Main(string[] args)
        {
            PlanetwarsFixer.StartGalaxy(24, 3919, 3925);
            //AddClanLeader();
            return;

            //TestPwMatch();
            //FixStuff();

            //var guid = Guid.NewGuid().ToString();

            //var pp = new PayPalInterface();
            //pp.ImportPaypalHistory(Directory.GetCurrentDirectory());

            //Test1v1Elo();
            //GenerateTechs();

            //FixDemoEngineVersion();

            //ImportSpringiePlayers();
            //RecalculateBattleElo();
            //FixMaps();

            //PickHomworldOwners();

            //PlanetwarsFixer.PurgeGalaxy(24, false, true);
            //PlanetwarsFixer.RandomizeMaps(24);
            //SetPlanetTeamSizes();

            //RandomizePlanetOwners(24);
            //GenerateStructures(24);
            PlanetwarsFixer.GenerateArtefacts(24, new int[] { 3940, 3949, 3954, 3929, 3956 });

            //SwapPlanetOwners(3948, 3955);
            //SwapPlanetOwners(3973, 3932);
            //PlanetwarsFixer.AddWormholes();
            //PlanetwarsFixer.RemoveTechStructures(true, true);
            //StartGalaxy(24);

            //TestPrediction();
            //FixMissionScripts();

            //AnalyzeModuleUsagePatterns();
            //AnalyzeCommUsagePatterns();

            //UpdateMissionProgression(12);
            //PrintNightwatchSubscriptions("zkadmin");

            //RecountForumVotes();
            //GetForumKarmaLadder();
            //GetForumKarmaVotes();
            //GetForumVotesByVoter(161294, 5340);
            //DeleteUserVotes(189201, null);  //neon
            //GetClanStackWinRate(465, 2000); //Mean
            //GetForumVotesByUserVoterAgnostic(161294);
            //GetAverageElo();
        }
Пример #2
0
        static void Main(string[] args)
        {
            var ns = new NubSimulator();

            ns.SpawnMany();
            Console.ReadLine();

            //MigrateDatabase();
            //FixDuplicatedAccounts();
            //BcryptPasswords();
            //var db = new ZkDataContext(true);
            //var test = db.Accounts.OrderByDescending(x => x.EffectiveElo).WithTranslations().Take(5).ToList();


            //MigrateDatabase();
            //var test = GlobalConst.GetContentService().DownloadFile("Zero-K v1.1.0");
            //var db = new ZkDataContext();
            //var post = db.ForumPosts.First(x => x.ForumPostID == 113893);



            //var db = new ZkDataContext(false);
            //db.Database.CreateIfNotExists();

            //PlanetwarsFixer.StartGalaxy(24,3919,3925);
            //AddClanLeader();
            return;

            //TestPwMatch();
            //FixStuff();

            //var guid = Guid.NewGuid().ToString();

            //var pp = new PayPalInterface();
            //pp.ImportPaypalHistory(Directory.GetCurrentDirectory());

            //Test1v1Elo();
            //GenerateTechs();

            //FixDemoEngineVersion();

            //ImportSpringiePlayers();
            //RecalculateBattleElo();
            //FixMaps();

            //PickHomworldOwners();

            //PlanetwarsFixer.PurgeGalaxy(24, false, true);
            //PlanetwarsFixer.RandomizeMaps(24);
            //SetPlanetTeamSizes();

            //RandomizePlanetOwners(24);
            //GenerateStructures(24);
            PlanetwarsFixer.GenerateArtefacts(24, new int[] { 3940, 3949, 3954, 3929, 3956 });

            //SwapPlanetOwners(3948, 3955);
            //SwapPlanetOwners(3973, 3932);
            //PlanetwarsFixer.AddWormholes();
            //PlanetwarsFixer.RemoveTechStructures(true, true);
            //StartGalaxy(24);

            //TestPrediction();
            //FixMissionScripts();

            //AnalyzeModuleUsagePatterns();
            //AnalyzeCommUsagePatterns();

            //UpdateMissionProgression(12);
            //PrintNightwatchSubscriptions("zkadmin");

            //RecountForumVotes();
            //GetForumKarmaLadder();
            //GetForumKarmaVotes();
            //GetForumVotesByVoter(161294, 5340);
            //DeleteUserVotes(189201, null);  //neon
            //GetClanStackWinRate(465, 2000); //Mean
            //GetForumVotesByUserVoterAgnostic(161294);
            //GetAverageElo();
        }