Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.85 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7.  
  8. namespace ProcessManager
  9. {
  10.     class ReportBot
  11.     {
  12.         // CLASS SETTING
  13.         public const string VERSION = "1.0";
  14.         public const string NAME = "Scrom";
  15.         public const string USER = "76561198843464390";
  16.         //
  17.  
  18.         public const int MATCH_MAKING_OFFSET = 0x0010;
  19.         public const int STEAM_SERVER_OFFSET = 0x221A;
  20.         public const int PLAYER_MODEL_OFFSET = 0xBB21;
  21.         public const int REPORT_QUEUE_OFFSET = 0xCD45;
  22.         public const int INTERNAL_IPR_OFFSET = 0x1239;
  23.         public const int EXT_VPS_SRVR_OFFSET = 0xBE21;
  24.         public const int SV_CVAR_SIGM_OFFSET = 0x93C2;
  25.         public const int SIGNATURE_DV_OFFSET = 0x1423;
  26.  
  27.         public static int REPORT_AMTS = 23;                        // DEFAULT: 10
  28.  
  29.         public static Random RND = new Random();
  30.  
  31.  
  32.         public static string GenerateReport()
  33.         {
  34.             string chars = "0123456789";
  35.             return new string(Enumerable.Repeat(chars, 11).Select(s => s[RND.Next(s.Length)]).ToArray());
  36.         }
  37.  
  38.         static void Main(string[] args)
  39.         {
  40.             // CONSTRUCTOR
  41.  
  42.             Console.ForegroundColor = ConsoleColor.Green;
  43.             System.Console.WriteLine("                  ╔═══════════════════════════════════════╗");
  44.             System.Console.WriteLine("                       ReportBot " + ReportBot.NAME + " started. [v " + ReportBot.VERSION + "]");
  45.             System.Console.WriteLine("                  ╚═══════════════════════════════════════╝");
  46.  
  47.             Console.ForegroundColor = ConsoleColor.Gray;
  48.  
  49.             System.Console.WriteLine("  ");
  50.             System.Console.WriteLine("  ");
  51.             System.Console.WriteLine("  ");
  52.  
  53.             for (int i = 1; i < ReportBot.REPORT_AMTS; i++)
  54.             {
  55.                 string iReportID = ReportBot.GenerateReport();
  56.  
  57.                 Console.ForegroundColor = ConsoleColor.Red;
  58.  
  59.                 System.Console.Write("[" + ReportBot.NAME + "] ");
  60.  
  61.                 Console.ForegroundColor = ConsoleColor.White;
  62.                 System.Console.Write("Report #" + i + " (ID: 32901608" + iReportID + ") sent to " + ReportBot.USER);
  63.                 System.Console.WriteLine("  ");
  64.             }
  65.  
  66.             System.Console.WriteLine("  ");
  67.             System.Console.WriteLine("  ");
  68.             System.Console.WriteLine("  ");
  69.         }
  70.  
  71.         public void Report(string SteamID)
  72.         {
  73.             // AVOID INT CUBE
  74.         }
  75.  
  76.         public Process GetProcess()
  77.         {
  78.             return new Process();
  79.         }
  80.     }
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement