Advertisement
Guest User

SlavScripts v3.0 [Fully Re-Written]

a guest
Aug 24th, 2019
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 12.84 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Threading;
  7.  
  8. namespace SlavScriptsAC
  9. {
  10.     class Program
  11.     {
  12.         //Health
  13.         public static int PlayerBase = 0x509B74;
  14.         public static int Health = 0xF8;
  15.         //Armor
  16.         public static int Armor = 0xFC;
  17.         //Pistol Ammo
  18.         public static int PAmmo = 0x13C;
  19.         //Carbine Ammo
  20.         public static int CAmmo = 0x140;
  21.         //Shotgun Ammo
  22.         public static int SGAmmo = 0x144;
  23.         //Machine Gun Ammo
  24.         public static int MGAmmo = 0x148;
  25.         //Sniper Ammo
  26.         public static int SAmmo = 0x14C;
  27.         //Assault Rifle Ammo
  28.         public static int ARAmmo = 0x150;
  29.         //Grenade Ammo
  30.         public static int GAmmo = 0x158;
  31.         //Knife Time Limit
  32.         public static int TBK = 0x160;
  33.         //Fast Reload
  34.         public static int PT = 0x164;
  35.         public static int CT = 0x168;
  36.         public static int SGT = 0x16C;
  37.         public static int MGT = 0x170;
  38.         public static int ST = 0x174;
  39.         public static int ART = 0x178;
  40.         public static int GT = 0x180;
  41.  
  42.  
  43.  
  44.  
  45.  
  46.         static void Main(string[] args)
  47.         {
  48.             VAMemory vam = new VAMemory("ac_client");
  49.  
  50.             int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  51.  
  52.             while (true)
  53.             {
  54.  
  55.                 Console.Title = "SlavScripts";
  56.  
  57.                 int address1 = LocalPlayer + Health;
  58.  
  59.                 int address2 = LocalPlayer + Armor;
  60.  
  61.                 int address3 = LocalPlayer + PAmmo;
  62.  
  63.                 int address4 = LocalPlayer + CAmmo;
  64.  
  65.                 int address5 = LocalPlayer + SGAmmo;
  66.  
  67.                 int address6 = LocalPlayer + MGAmmo;
  68.  
  69.                 int address7 = LocalPlayer + SAmmo;
  70.  
  71.                 int address8 = LocalPlayer + ARAmmo;
  72.  
  73.                 int address9 = LocalPlayer + GAmmo;
  74.  
  75.                 int address10 = LocalPlayer + TBK;
  76.  
  77.                 int address11 = LocalPlayer + PT;
  78.  
  79.                 int address12 = LocalPlayer + CT;
  80.  
  81.                 int address13 = LocalPlayer + SGT;
  82.  
  83.                 int address14 = LocalPlayer + MGT;
  84.  
  85.                 int address15 = LocalPlayer + ST;
  86.  
  87.                 int address16 = LocalPlayer + ART;
  88.  
  89.                 int address17 = LocalPlayer + GT;
  90.  
  91.                 string Player = "";
  92.  
  93.                 Console.WriteLine("---SlavScripts v2.0---");
  94.                 Console.WriteLine("");
  95.                 Console.WriteLine("[1] Player Options");
  96.                 Console.WriteLine("");
  97.                 Console.WriteLine("[2] Weapon Options");
  98.                 Console.WriteLine("");
  99.                 string answer = "";
  100.                 answer = Console.ReadLine();
  101.  
  102.                 if (answer == "1")
  103.                 {
  104.                     Console.WriteLine("--Player Options--");
  105.                     Console.WriteLine("");
  106.                     Console.WriteLine("[1] Godmode");
  107.                     Console.WriteLine("[2] Armor");
  108.                     Console.WriteLine("");
  109.                     Player = Console.ReadLine();
  110.  
  111.                     if (Player == "1")
  112.                     {
  113.                         Console.WriteLine("Godmode Enabled");
  114.                         Console.WriteLine("");
  115.                         while (true)
  116.                         {
  117.                          vam.WriteInt32((IntPtr)address1, 6969);
  118.                         }
  119.                     }
  120.                     else if (Player == "2")
  121.                     {
  122.                         Console.WriteLine("Infinite Armor Enabled");
  123.                         Console.WriteLine("");
  124.                         while (true)
  125.                         {
  126.                          vam.WriteInt32((IntPtr)address2, 6969);
  127.                         }
  128.                     }
  129.                     else
  130.                     {
  131.                         Console.WriteLine("Blyat! Invalid Response!");
  132.                         Console.WriteLine("");
  133.                     }
  134.                 }
  135.                 else if (answer == "2")
  136.                 {
  137.                     Console.WriteLine("--Weapon Options--");
  138.                     Console.WriteLine("");
  139.                     Console.WriteLine("[1] Infinite Ammo");
  140.                     Console.WriteLine("");
  141.                     Console.WriteLine("[2] Firerate & Reload Speed");
  142.                     Console.WriteLine("");
  143.                     Player = Console.ReadLine();
  144.  
  145.                     if (Player == "1")
  146.                     {
  147.                         Console.WriteLine("--Ammo Options--");
  148.                         Console.WriteLine("");
  149.                         Console.WriteLine("[1] Infinite Pistol Ammo");
  150.                         Console.WriteLine("[2] Infinite Carbine Ammo");
  151.                         Console.WriteLine("[3] Infinite Shotgun Ammo");
  152.                         Console.WriteLine("[4] Infinite Machine Gun Ammo");
  153.                         Console.WriteLine("[5] Infinite Sniper Ammo");
  154.                         Console.WriteLine("[6] Infinite Assault Rifle Ammo");
  155.                         Console.WriteLine("[7] Infinite Grenades");
  156.                         Console.WriteLine("");
  157.                         Player = Console.ReadLine();
  158.  
  159.                         if (Player == "1")
  160.                         {
  161.                             Console.WriteLine("Infinite Pistol Ammo Enabled");
  162.                             Console.WriteLine("");
  163.                             while (true)
  164.                             {
  165.                              vam.WriteInt32((IntPtr)address3, 69);
  166.                             }
  167.                         }
  168.                         if (Player == "2")
  169.                         {
  170.                             Console.WriteLine("Infinite Carbine Ammo Enabled");
  171.                             Console.WriteLine("");
  172.                             while (true)
  173.                             {
  174.                              vam.WriteInt32((IntPtr)address4, 69);
  175.                             }
  176.                         }
  177.                         if (Player == "3")
  178.                         {
  179.                             Console.WriteLine("Infinite Shotgun Ammo Enabled");
  180.                             Console.WriteLine("");
  181.                             while (true)
  182.                             {
  183.                              vam.WriteInt32((IntPtr)address5, 69);
  184.                             }
  185.                         }
  186.                         if (Player == "4")
  187.                         {
  188.                             Console.WriteLine("Infinite Machine Gun Ammo Enabled");
  189.                             Console.WriteLine("");
  190.                             while (true)
  191.                             {
  192.                                 vam.WriteInt32((IntPtr)address6, 69);
  193.                             }
  194.                         }
  195.                         if (Player == "5")
  196.                         {
  197.                             Console.WriteLine("Infinite Sniper Ammo Enabled");
  198.                             Console.WriteLine("");
  199.                             while (true)
  200.                             {
  201.                              vam.WriteInt32((IntPtr)address7, 69);
  202.                             }
  203.                         }
  204.                         if (Player == "6")
  205.                         {
  206.                             Console.WriteLine("Infinite Assault Rifle Ammo Enabled");
  207.                             Console.WriteLine("");
  208.                             while (true)
  209.                             {
  210.                              vam.WriteInt32((IntPtr)address8, 69);
  211.                             }
  212.                         }
  213.                         if (Player == "7")
  214.                         {
  215.                             Console.WriteLine("Infinite Grenades Enabled");
  216.                             Console.WriteLine("");
  217.                             while (true)
  218.                             {
  219.                              vam.WriteInt32((IntPtr)address9, 69);
  220.                             }
  221.                         }
  222.                         else
  223.                         {
  224.                             Console.WriteLine("Blyat! Invalid Response!");
  225.                             Console.WriteLine("");
  226.                         }
  227.                     }
  228.                     else if (Player == "2")
  229.                     {
  230.                         Console.WriteLine("--Firerate & Reload Speed Options--");
  231.                         Console.WriteLine("");
  232.                         Console.WriteLine("[1] No Knife Limit");
  233.                         Console.WriteLine("[2] Fast Pistol");
  234.                         Console.WriteLine("[3] Fast Carbine");
  235.                         Console.WriteLine("[4] Fast Shotgun");
  236.                         Console.WriteLine("[5] Fast Machine Gun");
  237.                         Console.WriteLine("[6] Fast Sniper");
  238.                         Console.WriteLine("[7] Fast Assault Rifle");
  239.                         Console.WriteLine("[8] Fast Grenades");
  240.                         Console.WriteLine("");
  241.  
  242.                         Console.WriteLine("");
  243.                         Player = Console.ReadLine();
  244.  
  245.                         if (Player == "1")
  246.                         {
  247.                             Console.WriteLine("Fast Knife Enabled");
  248.                             Console.WriteLine("");
  249.                             while (true)
  250.                             {
  251.                                 vam.WriteInt32((IntPtr)address10, 0);
  252.                             }
  253.                         }
  254.                         if (Player == "2")
  255.                         {
  256.                             Console.WriteLine("Fast Pistol Enabled");
  257.                             Console.WriteLine("");
  258.                             while (true)
  259.                             {
  260.                                 vam.WriteInt32((IntPtr)address11, 0);
  261.                             }
  262.                         }
  263.                         if (Player == "3")
  264.                         {
  265.                             Console.WriteLine("Fast Carbine Enabled");
  266.                             Console.WriteLine("");
  267.                             while (true)
  268.                             {
  269.                                 vam.WriteInt32((IntPtr)address12, 0);
  270.                             }
  271.                         }
  272.                         if (Player == "4")
  273.                         {
  274.                             Console.WriteLine("Fast Shotgun Enabled");
  275.                             Console.WriteLine("");
  276.                             while (true)
  277.                             {
  278.                                 vam.WriteInt32((IntPtr)address13, 0);
  279.                             }
  280.                         }
  281.                         if (Player == "5")
  282.                         {
  283.                             Console.WriteLine("Fast Machine Gun Enabled");
  284.                             Console.WriteLine("");
  285.                             while (true)
  286.                             {
  287.                                 vam.WriteInt32((IntPtr)address14, 0);
  288.                             }
  289.                         }
  290.                         if (Player == "6")
  291.                         {
  292.                             Console.WriteLine("Fast Sniper Enabled");
  293.                             Console.WriteLine("");
  294.                             while (true)
  295.                             {
  296.                                 vam.WriteInt32((IntPtr)address15, 0);
  297.                             }
  298.                         }
  299.                         if (Player == "7")
  300.                         {
  301.                             Console.WriteLine("Fast Assault Rifle Enabled");
  302.                             Console.WriteLine("");
  303.                             while (true)
  304.                             {
  305.                                 vam.WriteInt32((IntPtr)address16, 0);
  306.                             }
  307.                         }
  308.                         if (Player == "8")
  309.                         {
  310.                             Console.WriteLine("Fast Grenades Enabled");
  311.                             Console.WriteLine("");
  312.                             while (true)
  313.                             {
  314.                                 vam.WriteInt32((IntPtr)address17, 0);
  315.                             }
  316.                         }
  317.                         else
  318.                         {
  319.                             Console.WriteLine("Blyat! Invalid Response!");
  320.                             Console.WriteLine("");
  321.                         }
  322.                     }
  323.                     else
  324.                     {
  325.                         Console.WriteLine("Blyat! Invalid Response!");
  326.                         Console.WriteLine("");
  327.                     }
  328.                 }
  329.                 else
  330.                 {
  331.                     Console.WriteLine("Blyat! Invalid Response!");
  332.                     Console.WriteLine("");
  333.                 }
  334.             }
  335.         }
  336.     }
  337. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement