<commit_before>﻿/**
     Because i love chocolat...                                      
                                    88 88  
                                    "" 88  
                                       88  
8b       d8 88       88 8b,dPPYba,  88 88  
`8b     d8' 88       88 88P'    "8a 88 88  
 `8b   d8'  88       88 88       d8 88 ""  
  `8b,d8'   "8a,   ,a88 88b,   ,a8" 88 aa  
    Y88'     `"YbbdP'Y8 88`YbbdP"'  88 88  
    d8'                 88                 
   d8'                  88     
   
   Private Habbo Hotel Emulating System
   @author <NAME>.
   @author <NAME>.
   @version dev-beta
   @license MIT
   @copyright Sulake Corporation Oy
   @observation All Rights of Habbo, Habbo Hotel, and all Habbo contents and it's names, is copyright from Sulake
   Corporation Oy. Yupi! has nothing linked with Sulake. 
   This Emulator is Only for DEVELOPMENT uses. If you're selling this you're violating Sulakes Copyright.
*/

using System;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using Yupi.Emulator.Core.Io.Logger;
using Yupi.Emulator.Core.Settings;
using Yupi.Emulator.Data;

namespace Yupi.Emulator
{
    internal class Program
    {
        internal const uint ScClose = 0xF060;

        /// <summary>
        ///     Main Void of Yupi.Emulator
        /// </summary>
        /// <param name="args">The arguments.</param>
        [SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlAppDomain)]
        [STAThread]
        public static void Main(string[] args)
        {
            StartProgram();

            ReadLoop();
        }

        internal static void ReadLoop()
        {
            while (Yupi.IsLive || Yupi.IsReady)
            {
                Console.CursorVisible = true;

                ConsoleCommandHandler.InvokeCommand(Console.ReadLine());

                YupiWriterManager.WriteLine("Waiting For Command Input...", "Yupi.Boot", ConsoleColor.DarkCyan);
            }
        }

        internal static void StartProgram()
        {
            YupiUpdatesManager.Init();

            YupiUpdatesManager.ShowInitialMessage();

            ShowEnvironmentMessage();

            Yupi.IsReady = true;

            Console.Title = "Yupi! | Waiting for Input.";

            YupiWriterManager.WriteLine("Waiting For Command Input...", "Yupi.Boot", ConsoleColor.DarkCyan);
        }

        internal static void ResetConsole()
        {
            Console.Clear();

            ShowEnvironmentMessage();
        }

        internal static void StartEverything()
        {
            InitEnvironment();
        }

        public static void ShowEnvironmentMessage()
        {
            Console.ForegroundColor = ConsoleColor.White;

            Console.WriteLine();
            Console.WriteLine(@"                " + @"██╗   ██╗██╗   ██╗██████╗ ██╗██╗");
            Console.WriteLine(@"                " + @"╚██╗ ██╔╝██║   ██║██╔══██╗██║██║");
            Console.WriteLine(@"                " + @" ╚████╔╝ ██║   ██║██████╔╝██║██║");
            Console.WriteLine(@"                " + @"  ╚██╔╝  ██║   ██║██╔═══╝ ██║╚═╝");
            Console.WriteLine(@"                " + @"   ██║   ╚██████╔╝██║     ██║██╗");
            Console.WriteLine(@"                " + @"   ╚═╝    ╚═════╝ ╚═╝     ╚═╝╚═╝");
            Console.WriteLine(@"                " + @"                                ");
            Console.WriteLine();
            Console.WriteLine(@"        " + @"  BUILD " + YupiUpdatesManager.GithubVersionTag + " RELEASE R63 POST SHUFFLE");
            Console.WriteLine(@"        " + @"  .NET Framework " + Environment.Version + " C# 6 Roslyn");
            Console.WriteLine();
        }

        /// <summary>
        ///     Load the Yupi Environment
        /// </summary>
        public static void InitEnvironment()
        {
            if (Yupi.IsLive)
                return;

            Yupi.IsReady = false;

            Console.CursorVisible = false;

            Yupi.Initialize();
        }
    }
}<commit_msg>Added autostart for debug sessions<commit_after>﻿/**
     Because i love chocolat...                                      
                                    88 88  
                                    "" 88  
                                       88  
8b       d8 88       88 8b,dPPYba,  88 88  
`8b     d8' 88       88 88P'    "8a 88 88  
 `8b   d8'  88       88 88       d8 88 ""  
  `8b,d8'   "8a,   ,a88 88b,   ,a8" 88 aa  
    Y88'     `"YbbdP'Y8 88`YbbdP"'  88 88  
    d8'                 88                 
   d8'                  88     
   
   Private Habbo Hotel Emulating System
   @author <NAME>.
   @author <NAME>.
   @version dev-beta
   @license MIT
   @copyright Sulake Corporation Oy
   @observation All Rights of Habbo, Habbo Hotel, and all Habbo contents and it's names, is copyright from Sulake
   Corporation Oy. Yupi! has nothing linked with Sulake. 
   This Emulator is Only for DEVELOPMENT uses. If you're selling this you're violating Sulakes Copyright.
*/

using System;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using Yupi.Emulator.Core.Io.Logger;
using Yupi.Emulator.Core.Settings;
using Yupi.Emulator.Data;

namespace Yupi.Emulator
{
    internal class Program
    {
        internal const uint ScClose = 0xF060;

        /// <summary>
        ///     Main Void of Yupi.Emulator
        /// </summary>
        /// <param name="args">The arguments.</param>
        [SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlAppDomain)]
        [STAThread]
        public static void Main(string[] args)
        {
            StartProgram();

			#if DEBUG
			// Autostart on debug sessions
			InitEnvironment();
			#endif

            ReadLoop();
        }

        internal static void ReadLoop()
        {
            while (Yupi.IsLive || Yupi.IsReady)
            {
                Console.CursorVisible = true;

                ConsoleCommandHandler.InvokeCommand(Console.ReadLine());

                YupiWriterManager.WriteLine("Waiting For Command Input...", "Yupi.Boot", ConsoleColor.DarkCyan);
            }
        }

        internal static void StartProgram()
        {
            YupiUpdatesManager.Init();

            YupiUpdatesManager.ShowInitialMessage();

            ShowEnvironmentMessage();

            Yupi.IsReady = true;

            Console.Title = "Yupi! | Waiting for Input.";

            YupiWriterManager.WriteLine("Waiting For Command Input...", "Yupi.Boot", ConsoleColor.DarkCyan);
        }

        internal static void ResetConsole()
        {
            Console.Clear();

            ShowEnvironmentMessage();
        }

        internal static void StartEverything()
        {
            InitEnvironment();
        }

        public static void ShowEnvironmentMessage()
        {
            Console.ForegroundColor = ConsoleColor.White;

            Console.WriteLine();
            Console.WriteLine(@"                " + @"██╗   ██╗██╗   ██╗██████╗ ██╗██╗");
            Console.WriteLine(@"                " + @"╚██╗ ██╔╝██║   ██║██╔══██╗██║██║");
            Console.WriteLine(@"                " + @" ╚████╔╝ ██║   ██║██████╔╝██║██║");
            Console.WriteLine(@"                " + @"  ╚██╔╝  ██║   ██║██╔═══╝ ██║╚═╝");
            Console.WriteLine(@"                " + @"   ██║   ╚██████╔╝██║     ██║██╗");
            Console.WriteLine(@"                " + @"   ╚═╝    ╚═════╝ ╚═╝     ╚═╝╚═╝");
            Console.WriteLine(@"                " + @"                                ");
            Console.WriteLine();
            Console.WriteLine(@"        " + @"  BUILD " + YupiUpdatesManager.GithubVersionTag + " RELEASE R63 POST SHUFFLE");
            Console.WriteLine(@"        " + @"  .NET Framework " + Environment.Version + " C# 6 Roslyn");
            Console.WriteLine();
        }

        /// <summary>
        ///     Load the Yupi Environment
        /// </summary>
        public static void InitEnvironment()
        {
            if (Yupi.IsLive)
                return;

            Yupi.IsReady = false;

            Console.CursorVisible = false;

            Yupi.Initialize();
        }
    }
}
{'fraction_non_alphanumeric': 0.1331630791681868, 'fraction_numerical': 0.018241517694272163, 'mean_word_length': 1.4498063747393506, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4788933', 'n_tokens_mistral': 2575, 'n_tokens_neox': 2374, 'n_words': 538}