Advertisement
BaSs_HaXoR

COD Ghosts Energyzer Source #PwN3D

Jul 28th, 2014
606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 80.17 KB | None | 0 0
  1. //PwN3D By BaSs_HaXoR
  2. //Energyzer Source
  3. //THREAD: http://adf.ly/rt53k
  4. //Download: http://adf.ly/rt54p
  5. //How: MegaDumper => (Energyzer(2).exe) -> Nofuser (-fc1_9) => .Net Reflector => Visual Studio
  6. namespace Energyzed
  7. {
  8.     /*    
  9.           _____                    _____                    _____                    _____                    _____                    _____                                           _______                   _____          
  10.          /\    \                  /\    \                  /\    \                  /\    \                  /\    \                  /\    \                 ______                  /::\    \                 /\    \        
  11.         /::\    \                /::\    \                /::\    \                /::\    \                /::\____\                /::\    \               |::|   |                /::::\    \               /::\    \        
  12.        /::::\    \              /::::\    \              /::::\    \              /::::\    \              /:::/    /               /::::\    \              |::|   |               /::::::\    \             /::::\    \      
  13.       /::::::\    \            /::::::\    \            /::::::\    \            /::::::\    \            /:::/    /               /::::::\    \             |::|   |              /::::::::\    \           /::::::\    \      
  14.      /:::/\:::\    \          /:::/\:::\    \          /:::/\:::\    \          /:::/\:::\    \          /:::/    /               /:::/\:::\    \            |::|   |             /:::/~~\:::\    \         /:::/\:::\    \    
  15.     /:::/__\:::\    \        /:::/__\:::\    \        /:::/__\:::\    \        /:::/__\:::\    \        /:::/____/               /:::/__\:::\    \           |::|   |            /:::/    \:::\    \       /:::/__\:::\    \    
  16.    /::::\   \:::\    \      /::::\   \:::\    \       \:::\   \:::\    \       \:::\   \:::\    \      /::::\    \              /::::\   \:::\    \          |::|   |           /:::/    / \:::\    \     /::::\   \:::\    \  
  17.   /::::::\   \:::\    \    /::::::\   \:::\    \    ___\:::\   \:::\    \    ___\:::\   \:::\    \    /::::::\    \   _____    /::::::\   \:::\    \         |::|   |          /:::/____/   \:::\____\   /::::::\   \:::\    \  
  18.  /:::/\:::\   \:::\ ___\  /:::/\:::\   \:::\    \  /\   \:::\   \:::\    \  /\   \:::\   \:::\    \  /:::/\:::\    \ /\    \  /:::/\:::\   \:::\    \  ______|::|___|___ ____ |:::|    |     |:::|    | /:::/\:::\   \:::\____\
  19. /:::/__\:::\   \:::|    |/:::/  \:::\   \:::\____\/::\   \:::\   \:::\____\/::\   \:::\   \:::\____\/:::/  \:::\    /::\____\/:::/  \:::\   \:::\____\|:::::::::::::::::|    ||:::|____|     |:::|    |/:::/  \:::\   \:::|    |
  20. \:::\   \:::\  /:::|____|\::/    \:::\  /:::/    /\:::\   \:::\   \::/    /\:::\   \:::\   \::/    /\::/    \:::\  /:::/    /\::/    \:::\  /:::/    /|:::::::::::::::::|____| \:::\    \   /:::/    / \::/   |::::\  /:::|____|
  21.  \:::\   \:::\/:::/    /  \/____/ \:::\/:::/    /  \:::\   \:::\   \/____/  \:::\   \:::\   \/____/  \/____/ \:::\/:::/    /  \/____/ \:::\/:::/    /  ~~~~~~|::|~~~|~~~        \:::\    \ /:::/    /   \/____|:::::\/:::/    /
  22.   \:::\   \::::::/    /            \::::::/    /    \:::\   \:::\    \       \:::\   \:::\    \               \::::::/    /            \::::::/    /         |::|   |            \:::\    /:::/    /          |:::::::::/    /  
  23.    \:::\   \::::/    /              \::::/    /      \:::\   \:::\____\       \:::\   \:::\____\               \::::/    /              \::::/    /          |::|   |             \:::\__/:::/    /           |::|\::::/    /  
  24.     \:::\  /:::/    /               /:::/    /        \:::\  /:::/    /        \:::\  /:::/    /               /:::/    /               /:::/    /           |::|   |              \::::::::/    /            |::| \::/____/    
  25.      \:::\/:::/    /               /:::/    /          \:::\/:::/    /          \:::\/:::/    /               /:::/    /               /:::/    /            |::|   |               \::::::/    /             |::|  ~|          
  26.       \::::::/    /               /:::/    /            \::::::/    /            \::::::/    /               /:::/    /               /:::/    /             |::|   |                \::::/    /              |::|   |          
  27.        \::::/    /               /:::/    /              \::::/    /              \::::/    /               /:::/    /               /:::/    /              |::|   |                 \::/____/               \::|   |          
  28.         \::/____/                \::/    /                \::/    /                \::/    /                \::/    /                \::/    /               |::|___|                  ~~                      \:|   |          
  29.          ~~                       \/____/                  \/____/                  \/____/                  \/____/                  \/____/                 ~~                                                \|___|                                                                                                                                                                                                                                    
  30.  
  31.                                                                                                                                                                                                    
  32.                                                                                                                                                                                                    
  33.      OOOOOOOOO                                                                       SSSSSSSSSSSSSSS                                                                                              
  34.    OO:::::::::OO                                                                   SS:::::::::::::::S                                                                                              
  35.  OO:::::::::::::OO                                                                S:::::SSSSSS::::::S                                                                                              
  36. O:::::::OOO:::::::O                                                               S:::::S     SSSSSSS                                                                                              
  37. O::::::O   O::::::Oppppp   ppppppppp       eeeeeeeeeeee    nnnn  nnnnnnnn         S:::::S               ooooooooooo   uuuuuu    uuuuuu rrrrr   rrrrrrrrr       cccccccccccccccc    eeeeeeeeeeee    
  38. O:::::O     O:::::Op::::ppp:::::::::p    ee::::::::::::ee  n:::nn::::::::nn       S:::::S             oo:::::::::::oo u::::u    u::::u r::::rrr:::::::::r    cc:::::::::::::::c  ee::::::::::::ee  
  39. O:::::O     O:::::Op:::::::::::::::::p  e::::::eeeee:::::een::::::::::::::nn       S::::SSSS         o:::::::::::::::ou::::u    u::::u r:::::::::::::::::r  c:::::::::::::::::c e::::::eeeee:::::ee
  40. O:::::O     O:::::Opp::::::ppppp::::::pe::::::e     e:::::enn:::::::::::::::n       SS::::::SSSSS    o:::::ooooo:::::ou::::u    u::::u rr::::::rrrrr::::::rc:::::::cccccc:::::ce::::::e     e:::::e
  41. O:::::O     O:::::O p:::::p     p:::::pe:::::::eeeee::::::e  n:::::nnnn:::::n         SSS::::::::SS  o::::o     o::::ou::::u    u::::u  r:::::r     r:::::rc::::::c     ccccccce:::::::eeeee::::::e
  42. O:::::O     O:::::O p:::::p     p:::::pe:::::::::::::::::e   n::::n    n::::n            SSSSSS::::S o::::o     o::::ou::::u    u::::u  r:::::r     rrrrrrrc:::::c             e:::::::::::::::::e
  43. O:::::O     O:::::O p:::::p     p:::::pe::::::eeeeeeeeeee    n::::n    n::::n                 S:::::So::::o     o::::ou::::u    u::::u  r:::::r            c:::::c             e::::::eeeeeeeeeee  
  44. O::::::O   O::::::O p:::::p    p::::::pe:::::::e             n::::n    n::::n                 S:::::So::::o     o::::ou:::::uuuu:::::u  r:::::r            c::::::c     ccccccce:::::::e          
  45. O:::::::OOO:::::::O p:::::ppppp:::::::pe::::::::e            n::::n    n::::n     SSSSSSS     S:::::So:::::ooooo:::::ou:::::::::::::::uur:::::r            c:::::::cccccc:::::ce::::::::e          
  46.  OO:::::::::::::OO  p::::::::::::::::p  e::::::::eeeeeeee    n::::n    n::::n     S::::::SSSSSS:::::So:::::::::::::::o u:::::::::::::::ur:::::r             c:::::::::::::::::c e::::::::eeeeeeee  
  47.    OO:::::::::OO    p::::::::::::::pp    ee:::::::::::::e    n::::n    n::::n     S:::::::::::::::SS  oo:::::::::::oo   uu::::::::uu:::ur:::::r              cc:::::::::::::::c  ee:::::::::::::e  
  48.      OOOOOOOOO      p::::::pppppppp        eeeeeeeeeeeeee    nnnnnn    nnnnnn      SSSSSSSSSSSSSSS      ooooooooooo       uuuuuuuu  uuuurrrrrrr                cccccccccccccccc    eeeeeeeeeeeeee  
  49.                     p:::::p                                                                                                                                                                        
  50.                     p:::::p                                                                                                                                                                        
  51.                    p:::::::p                                                                                                                                                                      
  52.                    p:::::::p                                                                                                                                                                      
  53.                    p:::::::p                                                                                                                                                                      
  54.                    ppppppppp                                                                                                                                                                      
  55.                                                                                                                                                                                                    
  56.  
  57. Yb        dP 8           w      .d88b.                       w  w          dP"Yb
  58.  Yb  db  dP  8d8b. .d88 w8ww    YPwww. .d88b .d8b 8   8 8d8b w w8ww Yb  dP "  d8
  59.   YbdPYbdP   8P Y8 8  8  8          d8 8.dP' 8    8b d8 8P   8  8    YbdP    dP  
  60.    YP  YP    8   8 `Y88  Y8P    `Y88P' `Y88P `Y8P `Y8P8 8    8  Y8P   dP     w  
  61.                                                                      dP      x  
  62.      *
  63. ██████╗  █████╗ ███████╗███████╗        ██╗  ██╗ █████╗ ██╗  ██╗ ██████╗ ██████╗
  64. ██╔══██╗██╔══██╗██╔════╝██╔════╝        ██║  ██║██╔══██╗╚██╗██╔╝██╔═══██╗██╔══██╗
  65. ██████╔╝███████║███████╗███████╗        ███████║███████║ ╚███╔╝ ██║   ██║██████╔╝
  66. ██╔══██╗██╔══██║╚════██║╚════██║        ██╔══██║██╔══██║ ██╔██╗ ██║   ██║██╔══██╗
  67. ██████╔╝██║  ██║███████║███████║███████╗██║  ██║██║  ██║██╔╝ ██╗╚██████╔╝██║  ██║
  68. ╚═════╝ ╚═╝  ╚═╝╚══════╝╚══════╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝
  69.      */
  70.     using MetroFramework;
  71.     using MetroFramework.Components;
  72.     using MetroFramework.Controls;
  73.     using MetroFramework.Forms;
  74.     using MW3Lib;
  75.     using PS3Lib;
  76.     using System;
  77.     using System.ComponentModel;
  78.     using System.Drawing;
  79.     using System.IO;
  80.     using System.Runtime.InteropServices;
  81.     using System.Threading;
  82.     using System.Windows.Forms;
  83.  
  84.     public class Energyzed : MetroForm
  85.     {
  86.         public Shader[] Background = new Shader[12];
  87.         private BackgroundWorker backgroundWorker1;
  88.         public LocalString[] Clan1 = new LocalString[12];
  89.         public LocalString[] Clan2 = new LocalString[12];
  90.         private int ClientInt = 0;
  91.         private uint ClientUInt = 0;
  92.         private IContainer components = null;
  93.         public LocalString[] Credits = new LocalString[12];
  94.         public LocalString[] Crosshair = new LocalString[12];
  95.         public LocalString[] CustomDoHeart = new LocalString[12];
  96.         public static bool[] CustomDoHeartActive = new bool[12];
  97.         public static Thread[] CustomDoHeartThread = new Thread[12];
  98.         public LocalString[] DoHeart = new LocalString[12];
  99.         public static bool[] DoHeartActive = new bool[12];
  100.         public static Thread[] DoHeartThread = new Thread[12];
  101.         private bool DrugsTog;
  102.         private const uint G_Client = 0xf44400;
  103.         public LocalString[] GTFO = new LocalString[12];
  104.         public LocalString[] HostDoHeart = new LocalString[12];
  105.         public static bool[] HostDoHeartActive = new bool[12];
  106.         public static Thread[] HostDoHeartThread = new Thread[12];
  107.         public bool[] isVer = new bool[12];
  108.         public Shader[] Linker = new Shader[12];
  109.         private bool LobbyJumpTog;
  110.         private bool LobbySpeedTog;
  111.         public int[] MaxScroll = new int[12];
  112.         public LocalString[] Menu = new LocalString[12];
  113.         public bool[] MenuOpen = new bool[12];
  114.         public LocalString[] MenuText = new LocalString[12];
  115.         public LocalString[] MenuTitle = new LocalString[12];
  116.         private MetroButton metroButton1;
  117.         private MetroButton metroButton2;
  118.         private MetroStyleManager metroStyleManager1;
  119.         private MetroTextBox metroTextBox1;
  120.         private uint mFlag = 0xf4771f;
  121.         public LocalString[] NextGenUpdate = new LocalString[12];
  122.         private int noclipbindonandoff = 0;
  123.         private int noClipBindTog = 0;
  124.         private bool Person;
  125.         public LocalString[] PlayerSpawned = new LocalString[12];
  126.         public static PS3API PS3 = new PS3API(SelectAPI.TargetManager);
  127.         public Shader[] rechter = new Shader[12];
  128.         public int[] Scroll = new int[12];
  129.         public Shader[] Scrollbar = new Shader[12];
  130.         private const uint SpinningMode = 0xf4446c;
  131.         public string[] SubMenu = new string[12];
  132.         public int[] TargetedClient = new int[12];
  133.         public static uint TeleportOffset = 0xf4441c;
  134.         private int ThirdTog = 0;
  135.         private System.Windows.Forms.Timer timer1;
  136.         private System.Windows.Forms.Timer timer2;
  137.         private System.Windows.Forms.Timer timer3;
  138.         private int TripModeSwitch = 0;
  139.         public LocalString[] Typewriter = new LocalString[12];
  140.         private bool UfoSwitch;
  141.         private Label label1;
  142.         public LocalString[] Youtube = new LocalString[12];
  143.  
  144.         public Energyzed()
  145.         {
  146.             this.InitializeComponent();
  147.         }
  148.  
  149.         public void Ammo(int client)
  150.         {
  151.             Mods.iPrintlnBold(client, "Ammo : ^2Enabled");
  152.             PS3.SetMemory((uint) (0xf44958 + (client * 0x3700)), new byte[] { 15, 0xff, 0xff, 0xff });
  153.             PS3.SetMemory((uint) (0xf44938 + (client * 0x3700)), new byte[] { 15, 0xff, 0xff, 0xff });
  154.             PS3.SetMemory((uint) (0xf44948 + (client * 0x3700)), new byte[] { 15, 0xff, 0xff, 0xff });
  155.         }
  156.  
  157.         private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
  158.         {
  159.             Debug.Reconnect();
  160.             while (true)
  161.             {
  162.                 for (int i = 0; i < Utility.GetNumPlayers(); i++)
  163.                 {
  164.                     this.onPlayerSpawned(i);
  165.                     if ((ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.DpadRight) && this.isVer[i]) && !this.MenuOpen[i])
  166.                     {
  167.                         this.Shaders(i, true);
  168.                     }
  169.                     if (ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.DpadLeft) && this.isVer[i])
  170.                     {
  171.                         this.Scrollbar[i].FadeOverTime(1, 0, 0, 0, 0xff);
  172.                         this.Scrollbar[i].FadeOverTime(1, 0xff, 0x6a, 0, 0xff);
  173.                         if (this.MenuOpen[i])
  174.                         {
  175.                             if (this.SubMenu[i] == "Main")
  176.                             {
  177.                                 this.Scrolling(i, 0);
  178.                                 this.Shaders(i, false);
  179.                             }
  180.                             else if (this.SubMenu[i] == "COpts")
  181.                             {
  182.                                 this.Scrolling(i, 0);
  183.                                 this.OpenSub(i, "Clients");
  184.                             }
  185.                             else
  186.                             {
  187.                                 this.Scrolling(i, 0);
  188.                                 this.OpenSub(i, "Main");
  189.                             }
  190.                         }
  191.                     }
  192.                     if (this.noClipBindTog == 0)
  193.                     {
  194.                         if (ButtonMonitoring.ButtonPressed(0, ButtonMonitoring.Buttonz.R2))
  195.                         {
  196.                             Mods.iPrintlnBold(0, "Bind NoClip: ^2ON");
  197.                             PS3.SetMemory(0xf4771f, new byte[] { 1 });
  198.                             this.noClipBindTog++;
  199.                         }
  200.                     }
  201.                     else if ((this.noClipBindTog == 1) && ButtonMonitoring.ButtonPressed(0, ButtonMonitoring.Buttonz.R2))
  202.                     {
  203.                         Mods.iPrintlnBold(0, "Bind NoClip: ^1OFF");
  204.                         Debug.SetMemory(0xf4771f, new byte[1]);
  205.                         this.noClipBindTog = 0;
  206.                     }
  207.                     if (ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.DpadUp) && this.isVer[i])
  208.                     {
  209.                         this.MoveScroller(i, "Up");
  210.                     }
  211.                     if (ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.Cross))
  212.                     {
  213.                         this.JetPack(i);
  214.                     }
  215.                     if (ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.DpadDown) && this.isVer[i])
  216.                     {
  217.                         this.MoveScroller(i, "Down");
  218.                     }
  219.                     this.onPlayerSpawned(i);
  220.                     if ((ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.Square) && this.isVer[i]) && this.MenuOpen[i])
  221.                     {
  222.                         this.Scrollbar[i].FadeOverTime(1, 0, 0, 0, 0xff);
  223.                         this.Scrollbar[i].FadeOverTime(1, 0xff, 0x6a, 0, 0xff);
  224.                         if (this.SubMenu[i] == "Main")
  225.                         {
  226.                             if (this.Scroll[i] == 0)
  227.                             {
  228.                                 this.OpenSub(i, "Account Menu");
  229.                             }
  230.                             else if (this.Scroll[i] == 1)
  231.                             {
  232.                                 this.OpenSub(i, "Vision Menu");
  233.                             }
  234.                             else if (this.Scroll[i] == 2)
  235.                             {
  236.                                 this.OpenSub(i, "Weapon Menu");
  237.                             }
  238.                             else if (this.Scroll[i] == 3)
  239.                             {
  240.                                 this.OpenSub(i, "Message Menu");
  241.                             }
  242.                             else if (this.Scroll[i] == 4)
  243.                             {
  244.                                 this.OpenSub(i, "Model Menu");
  245.                             }
  246.                             else if (this.Scroll[i] == 5)
  247.                             {
  248.                                 this.OpenSub(i, "Host Menu");
  249.                             }
  250.                             else if (this.Scroll[i] == 6)
  251.                             {
  252.                                 this.OpenSub(i, "Fun Menu");
  253.                             }
  254.                             else if (this.Scroll[i] == 7)
  255.                             {
  256.                                 this.OpenSub(i, "DoHeart Menu");
  257.                             }
  258.                             else if (this.Scroll[i] == 8)
  259.                             {
  260.                                 this.OpenSub(i, "Teleport Menu");
  261.                             }
  262.                             else if (this.Scroll[i] == 9)
  263.                             {
  264.                                 this.OpenSub(i, "Aimbot Menu");
  265.                             }
  266.                             else if (this.Scroll[i] == 10)
  267.                             {
  268.                                 this.OpenSub(i, "Theme Menu");
  269.                             }
  270.                             else if (this.Scroll[i] == 11)
  271.                             {
  272.                                 this.OpenSub(i, "Lobby Settings");
  273.                             }
  274.                         }
  275.                         if (this.SubMenu[i] == "Account Menu")
  276.                         {
  277.                             if (this.Scroll[i] == 0)
  278.                             {
  279.                                 this.Unlock();
  280.                             }
  281.                             else if (this.Scroll[i] == 1)
  282.                             {
  283.                                 Mods.iPrintlnBold(i, "Level 60 : ^2Given");
  284.                             }
  285.                             else if (this.Scroll[i] == 2)
  286.                             {
  287.                                 Mods.iPrintlnBold(i, "High Stats : ^2Given");
  288.                             }
  289.                             else if (this.Scroll[i] == 3)
  290.                             {
  291.                                 Mods.iPrintlnBold(i, "Normal Stats : ^2Given");
  292.                             }
  293.                             else if (this.Scroll[i] == 4)
  294.                             {
  295.                                 this.PrestigeToogle(i);
  296.                             }
  297.                         }
  298.                         if (this.SubMenu[i] == "Vision Menu")
  299.                         {
  300.                             if (this.Scroll[i] == 0)
  301.                             {
  302.                                 RPC.SetVision(i, "missilecam");
  303.                             }
  304.                             else if (this.Scroll[i] == 1)
  305.                             {
  306.                                 RPC.SetVision(i, "default_night_mp");
  307.                             }
  308.                             else if (this.Scroll[i] == 2)
  309.                             {
  310.                                 RPC.SetVision(i, "ac130");
  311.                             }
  312.                             else if (this.Scroll[i] == 3)
  313.                             {
  314.                                 RPC.SetVision(i, "mpnuke");
  315.                             }
  316.                             else if (this.Scroll[i] == 4)
  317.                             {
  318.                                 RPC.SetVision(i, "end_game");
  319.                             }
  320.                             else if (this.Scroll[i] == 5)
  321.                             {
  322.                                 RPC.SetVision(i, "thermal_mp");
  323.                             }
  324.                             else if (this.Scroll[i] == 6)
  325.                             {
  326.                                 RPC.SetVision(i, "default");
  327.                             }
  328.                         }
  329.                         if (this.SubMenu[i] == "Weapon Menu")
  330.                         {
  331.                             if (this.Scroll[i] == 0)
  332.                             {
  333.                                 RPC.G_GivePlayerWeapon(i, 0x26, true);
  334.                             }
  335.                             else if (this.Scroll[i] == 1)
  336.                             {
  337.                                 RPC.G_GivePlayerWeapon(i, 0x5f, false);
  338.                             }
  339.                             else if (this.Scroll[i] == 2)
  340.                             {
  341.                                 RPC.G_GivePlayerWeapon(i, 0x56, false);
  342.                             }
  343.                             else if (this.Scroll[i] == 3)
  344.                             {
  345.                                 RPC.G_GivePlayerWeapon(i, 0x40, true);
  346.                             }
  347.                             else if (this.Scroll[i] == 4)
  348.                             {
  349.                                 RPC.G_GivePlayerWeapon(i, 0x43, false);
  350.                             }
  351.                             else if (this.Scroll[i] == 5)
  352.                             {
  353.                                 RPC.G_GivePlayerWeapon(i, 0x43, true);
  354.                             }
  355.                         }
  356.                         if (this.SubMenu[i] == "Message Menu")
  357.                         {
  358.                             if (this.Scroll[i] == 0)
  359.                             {
  360.                                 this.Menu[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  361.                             }
  362.                             else if (this.Scroll[i] == 1)
  363.                             {
  364.                                 this.Clan1[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  365.                             }
  366.                             else if (this.Scroll[i] == 2)
  367.                             {
  368.                                 this.Clan2[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  369.                             }
  370.                             else if (this.Scroll[i] == 3)
  371.                             {
  372.                                 this.Youtube[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  373.                             }
  374.                             else if (this.Scroll[i] == 4)
  375.                             {
  376.                                 this.NextGenUpdate[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  377.                             }
  378.                             else if (this.Scroll[i] == 5)
  379.                             {
  380.                                 this.GTFO[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  381.                             }
  382.                             else if (this.Scroll[i] == 6)
  383.                             {
  384.                                 this.Credits[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  385.                             }
  386.                             else if (this.Scroll[i] == 7)
  387.                             {
  388.                                 this.CustomiPrint(i);
  389.                             }
  390.                             if (this.Scroll[i] == 8)
  391.                             {
  392.                                 this.CustomiPrintBold(i);
  393.                             }
  394.                             if (this.Scroll[i] == 9)
  395.                             {
  396.                                 this.CustomTypewriter(i);
  397.                             }
  398.                         }
  399.                         if (this.SubMenu[i] == "Model Menu")
  400.                         {
  401.                             if (this.Scroll[i] == 0)
  402.                             {
  403.                                 this.PersonTog(i);
  404.                             }
  405.                             else if (this.Scroll[i] == 1)
  406.                             {
  407.                                 RPC.SetModel(i, "vehicle_ac130_low_mp");
  408.                             }
  409.                             else if (this.Scroll[i] == 2)
  410.                             {
  411.                                 RPC.SetModel(i, "vehicle_battle_hind");
  412.                             }
  413.                             else if (this.Scroll[i] == 3)
  414.                             {
  415.                                 RPC.SetModel(i, "mp_fullbody_dog_a");
  416.                             }
  417.                             else if (this.Scroll[i] == 4)
  418.                             {
  419.                                 RPC.SetModel(i, "com_woodlog_16_192_d");
  420.                             }
  421.                             else if (this.Scroll[i] == 5)
  422.                             {
  423.                                 RPC.SetModel(i, "weapon_sentry_chaingun_obj_red");
  424.                             }
  425.                             else if (this.Scroll[i] == 6)
  426.                             {
  427.                                 RPC.SetModel(i, "vehicle_a10_warthog_iw6_mp");
  428.                             }
  429.                         }
  430.                         if (this.SubMenu[i] == "Host Menu")
  431.                         {
  432.                             if (this.Scroll[i] == 0)
  433.                             {
  434.                                 this.Godmode(i);
  435.                             }
  436.                             else if (this.Scroll[i] == 1)
  437.                             {
  438.                                 this.Ammo(i);
  439.                             }
  440.                             else if (this.Scroll[i] == 2)
  441.                             {
  442.                                 this.UfoTog1(i);
  443.                             }
  444.                             else if (this.Scroll[i] == 3)
  445.                             {
  446.                                 Mods.iPrintlnBold(i, "^5Bind NoClip Enabled || Press [{+frag}]");
  447.                             }
  448.                             else if (this.Scroll[i] == 4)
  449.                             {
  450.                                 Mods.iPrintlnBold(i, "^5JetPack Enabled  Press [{+gostand}]");
  451.                             }
  452.                         }
  453.                         if (this.SubMenu[i] == "Fun Menu")
  454.                         {
  455.                             if (this.Scroll[i] == 0)
  456.                             {
  457.                                 Mods.iPrintlnBold(i, "^5Bind NoClip Enabled || Press [{+frag}]");
  458.                             }
  459.                             else if (this.Scroll[i] == 1)
  460.                             {
  461.                                 Mods.iPrintlnBold(i, "^5JetPack Enabled  Press [{+gostand}]");
  462.                             }
  463.                             else if (this.Scroll[i] == 2)
  464.                             {
  465.                                 this.DoSpinningMod(i);
  466.                             }
  467.                         }
  468.                         if (this.SubMenu[i] == "DoHeart Menu")
  469.                         {
  470.                             if (this.Scroll[i] == 0)
  471.                             {
  472.                                 this.InitDoHeart(i);
  473.                             }
  474.                             if (this.Scroll[i] == 1)
  475.                             {
  476.                                 this.InitHostDoHeart(i);
  477.                             }
  478.                             if (this.Scroll[i] == 2)
  479.                             {
  480.                                 this.CustomDoHeartStart(i);
  481.                             }
  482.                         }
  483.                         if (this.SubMenu[i] == "Teleport Menu")
  484.                         {
  485.                             if (this.Scroll[i] == 0)
  486.                             {
  487.                                 this.SavePosition(i);
  488.                             }
  489.                             else if (this.Scroll[i] == 1)
  490.                             {
  491.                                 this.TeleportEveryoneToPosition(i);
  492.                             }
  493.                             else if (this.Scroll[i] == 2)
  494.                             {
  495.                                 this.TeleportEveryoneToHost(i);
  496.                             }
  497.                         }
  498.                         if ((this.SubMenu[i] == "Aimbot Menu") && (this.Scroll[i] == 0))
  499.                         {
  500.                             this.StartAimbot(i);
  501.                         }
  502.                         if (this.SubMenu[i] == "Theme Menu")
  503.                         {
  504.                             if (this.Scroll[i] == 0)
  505.                             {
  506.                                 this.ThemeDefault(i);
  507.                             }
  508.                             else if (this.Scroll[i] == 1)
  509.                             {
  510.                                 this.ThemeBlue(i);
  511.                             }
  512.                             if (this.Scroll[i] == 2)
  513.                             {
  514.                                 this.ThemeGreen(i);
  515.                             }
  516.                             else if (this.Scroll[i] == 3)
  517.                             {
  518.                                 this.ThemePurple(i);
  519.                             }
  520.                             else if (this.Scroll[i] == 4)
  521.                             {
  522.                                 this.ThemeBlack(i);
  523.                             }
  524.                         }
  525.                         if (this.SubMenu[i] == "Lobby Settings")
  526.                         {
  527.                             if (this.Scroll[i] == 0)
  528.                             {
  529.                                 this.SpeedTog(0);
  530.                             }
  531.                             if (this.Scroll[i] == 1)
  532.                             {
  533.                                 this.JumpTog(0);
  534.                             }
  535.                         }
  536.                     }
  537.                 }
  538.             }
  539.         }
  540.  
  541.         private void button1_Click(object sender, EventArgs e)
  542.         {
  543.             try
  544.             {
  545.                 Debug.Init();
  546.                 Debug.EnableStringCaching();
  547.                 RPC.WritePPC();
  548.             }
  549.             catch
  550.             {
  551.                 MessageBox.Show("Failed To Connect/Attach");
  552.             }
  553.         }
  554.  
  555.         private void button2_Click(object sender, EventArgs e)
  556.         {
  557.             this.InitMenu(Utility.getHostNumber());
  558.             this.PlayerSpawned[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  559.             if (!this.backgroundWorker1.IsBusy)
  560.             {
  561.                 this.backgroundWorker1.RunWorkerAsync();
  562.             }
  563.             else
  564.             {
  565.                 MessageBox.Show("Background worker is busy, please restart");
  566.             }
  567.         }
  568.  
  569.         private void button3_Click(object sender, EventArgs e)
  570.         {
  571.             this.CustomDoHeartStart(0);
  572.         }
  573.  
  574.         public void CustomDoHeartStart(int client)
  575.         {
  576.             uint num = Convert.ToUInt32(client);
  577.             string str = this.RunKeyBoard(client, "Energyzed - Enter your DoHeart Text", "^5FusionMoDz", 20);
  578.             this.CustomDoHeart[client] = new LocalString(0x3d + (num * 3), client, str ?? "", 9, 2f, 440f, 330f, 0, 0f, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0);
  579.             this.InitCustomDoHeart(client);
  580.         }
  581.  
  582.         private void CustomiPrint(int index)
  583.         {
  584.             Mods.iPrintln(index, "^5Keyboard opened");
  585.             string str = this.RunKeyBoard(index, "Energyzed - Enter your iPrintln Message", "", 20);
  586.             Mods.iPrintln(index, str ?? "");
  587.         }
  588.  
  589.         private void CustomiPrintBold(int index)
  590.         {
  591.             Mods.iPrintlnBold(index, "^5Keyboard opened");
  592.             string str = this.RunKeyBoard(index, "Energyzed - Enter your iPrintlnBold Message", "", 20);
  593.             Mods.iPrintlnBold(index, str ?? "");
  594.         }
  595.  
  596.         private void CustomTypewriter(int client)
  597.         {
  598.             Mods.iPrintlnBold(client, "^5Keyboard Open ");
  599.             string str = this.RunKeyBoard(client, "Energyzed - Enter your Typewriter Message", "^2Sw444444444444444gggg", 20);
  600.             this.Typewriter[client] = new LocalString((uint) (0x2d + (client * 3)), client, str ?? "", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  601.             this.Typewriter[client].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  602.         }
  603.  
  604.         protected override void Dispose(bool disposing)
  605.         {
  606.             if (disposing && (this.components != null))
  607.             {
  608.                 this.components.Dispose();
  609.             }
  610.             base.Dispose(disposing);
  611.         }
  612.  
  613.         public void doHeart(int client)
  614.         {
  615.             Debug.Reconnect();
  616.             while (true)
  617.             {
  618.                 this.DoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
  619.                 this.DoHeart[client].fontScaleOverTime(1, 3f);
  620.                 this.DoHeart[client].SetGlow(0M, 0M, 255M, 255M);
  621.                 Thread.Sleep(0x3e8);
  622.                 this.DoHeart[client].fontScaleOverTime(3, 1f);
  623.                 this.DoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
  624.                 Thread.Sleep(0x3fc);
  625.             }
  626.         }
  627.  
  628.         public void doHeartCustom(int client)
  629.         {
  630.             Debug.Reconnect();
  631.             while (true)
  632.             {
  633.                 this.CustomDoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
  634.                 this.CustomDoHeart[client].fontScaleOverTime(1, 3f);
  635.                 this.CustomDoHeart[client].SetGlow(0M, 0M, 255M, 255M);
  636.                 Thread.Sleep(0x3e8);
  637.                 this.CustomDoHeart[client].fontScaleOverTime(3, 1f);
  638.                 this.CustomDoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
  639.                 Thread.Sleep(0x3fc);
  640.             }
  641.         }
  642.  
  643.         public void doHeartHost(int client)
  644.         {
  645.             Debug.Reconnect();
  646.             while (true)
  647.             {
  648.                 this.HostDoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
  649.                 this.HostDoHeart[client].fontScaleOverTime(1, 3f);
  650.                 this.HostDoHeart[client].SetGlow(255M, 106M, 0M, 255M);
  651.                 Thread.Sleep(0x3e8);
  652.                 this.HostDoHeart[client].fontScaleOverTime(3, 1f);
  653.                 this.HostDoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
  654.                 Thread.Sleep(0x3fc);
  655.             }
  656.         }
  657.  
  658.         private void DoSpinningMod(int client)
  659.         {
  660.             if (!this.DrugsTog)
  661.             {
  662.                 Mods.iPrintlnBold(client, "Spinninge Mode : ^2Enabled");
  663.                 this.timer3.Start();
  664.                 this.DrugsTog = true;
  665.             }
  666.             else
  667.             {
  668.                 Mods.iPrintlnBold(client, "Spinninge Mode : ^1Disabled");
  669.                 this.timer3.Stop();
  670.                 this.DrugsTog = false;
  671.             }
  672.         }
  673.  
  674.         private void Energyzed_FormClosing(object sender, FormClosedEventArgs e)
  675.         {
  676.         }
  677.  
  678.         public uint findPS(int client)
  679.         {
  680.             return (uint) (0xf44430 + (client * 0x3700));
  681.         }
  682.  
  683.         private void Form1_Load(object sender, EventArgs e)
  684.         {
  685.             this.metroButton1.Enabled = true;
  686.             this.metroButton2.Enabled = true;
  687.             MessageBox.Show("Thanks for looking at Energyzed V1's SOURCE \n To get the Maximum PwN open in Visual Studio ;p");
  688.         }
  689.  
  690.         public void FreezeOff()
  691.         {
  692.             PS3.SetMemory(0xf4771f, new byte[1]);
  693.         }
  694.  
  695.         public void Freezeon()
  696.         {
  697.             PS3.SetMemory(0xf4771f, new byte[] { 15 });
  698.         }
  699.  
  700.         public int GetMaxScroll(int client)
  701.         {
  702.             if (this.SubMenu[client] == "Main")
  703.             {
  704.                 return 11;
  705.             }
  706.             if (this.SubMenu[client] == "Account Menu")
  707.             {
  708.                 return 4;
  709.             }
  710.             if (this.SubMenu[client] == "Vision Menu")
  711.             {
  712.                 return 6;
  713.             }
  714.             if (this.SubMenu[client] == "Weapon Menu")
  715.             {
  716.                 return 5;
  717.             }
  718.             if (this.SubMenu[client] == "Message Menu")
  719.             {
  720.                 return 9;
  721.             }
  722.             if (this.SubMenu[client] == "Model Menu")
  723.             {
  724.                 return 6;
  725.             }
  726.             if (this.SubMenu[client] == "Host Menu")
  727.             {
  728.                 return 8;
  729.             }
  730.             if (this.SubMenu[client] == "Fun Menu")
  731.             {
  732.                 return 2;
  733.             }
  734.             if (this.SubMenu[client] == "DoHeart Menu")
  735.             {
  736.                 return 2;
  737.             }
  738.             if (this.SubMenu[client] == "Teleport Menu")
  739.             {
  740.                 return 2;
  741.             }
  742.             if (this.SubMenu[client] != "Aimbot Menu")
  743.             {
  744.                 if (this.SubMenu[client] == "Theme Menu")
  745.                 {
  746.                     return 4;
  747.                 }
  748.                 if (this.SubMenu[client] == "Lobby Settings")
  749.                 {
  750.                     return 1;
  751.                 }
  752.             }
  753.             return 0;
  754.         }
  755.  
  756.         public string GetMenuString(int client)
  757.         {
  758.             if (this.SubMenu[client] == "Main")
  759.             {
  760.                 return "Account Menu\nVision Menu\nWeapon Menu\nMessage Menu\nModel Menu\nHost Menu\nFun Menu\nDoHeart Menu\nTeleport Menu\nAimbot Menu\nTheme Menu\nLobby Settings";
  761.             }
  762.             if (this.SubMenu[client] == "Account Menu")
  763.             {
  764.                 return "Unlock All\nLevel 60\nHigh Stats\nNormal Stats\nPrestige";
  765.             }
  766.             if (this.SubMenu[client] == "Vision Menu")
  767.             {
  768.                 return "missilecam\ndefault night\nac130\nmp_Nuke\nend_game\nthermal_mp\nDefault";
  769.             }
  770.             if (this.SubMenu[client] == "Weapon Menu")
  771.             {
  772.                 return "Ak12 Akimbo\nLaptop\nUSR Scopeless\nMagnum Akimbo\nMiniGun\nAkimbo Minigun";
  773.             }
  774.             if (this.SubMenu[client] == "Message Menu")
  775.             {
  776.                 return "Menu\nModdingClan1\nModdingClan2\nYoutube\nNextgenupdate\nGTFO\nCredits\nCustom iPrintln\nCustom iPrintlnBold\nCustom Typewriter";
  777.             }
  778.             if (this.SubMenu[client] == "Model Menu")
  779.             {
  780.                 return "Third Person\nAc130\nBattlehind\nDog\nTree\nSentry Gun\nWarthog";
  781.             }
  782.             if (this.SubMenu[client] == "Host Menu")
  783.             {
  784.                 return "Godmode\nAmmo\nUfo Mode\nNoClip to [{+frag}]\nJetPack to [{+gostand}]";
  785.             }
  786.             if (this.SubMenu[client] == "Fun Menu")
  787.             {
  788.                 return "NoClip to [{+frag}]\nJetPack to [{+gostand}]\nSpinning Mode";
  789.             }
  790.             if (this.SubMenu[client] == "DoHeart Menu")
  791.             {
  792.                 return "Do Heart\nHost Do Heart\nCustom Do Heart";
  793.             }
  794.             if (this.SubMenu[client] == "Teleport Menu")
  795.             {
  796.                 return "Save Position\nTeleport Everyone\nEveryone to Host";
  797.             }
  798.             if (this.SubMenu[client] == "Aimbot Menu")
  799.             {
  800.                 return "Aimbot";
  801.             }
  802.             if (this.SubMenu[client] == "Theme Menu")
  803.             {
  804.                 return "Orange Theme\nBlue Theme\nGreen Theme\nPurple Theme\nBlack Theme";
  805.             }
  806.             if (this.SubMenu[client] == "Lobby Settings")
  807.             {
  808.                 return "Toggle Speed\nToggle Jump";
  809.             }
  810.             return "";
  811.         }
  812.  
  813.         public void Godmode(int client)
  814.         {
  815.             PS3.SetMemory((uint) (0xe045a8 + (client * 0x3700)), new byte[] { 0xff, 0xff });
  816.             Mods.iPrintlnBold(client, "Godmode : ^2Enabled");
  817.         }
  818.  
  819.         public void InitCustomDoHeart(int client)
  820.         {
  821.             ThreadStart start = null;
  822.             if (!HostDoHeartActive[client])
  823.             {
  824.                 CustomDoHeartActive[client] = true;
  825.                 if (start == null)
  826.                 {
  827.                     start = () => this.doHeartCustom(client);
  828.                 }
  829.                 CustomDoHeartThread[client] = new Thread(start);
  830.                 Mods.iPrintlnBold(client, "Custom DoHearts: ^2Active");
  831.                 CustomDoHeartThread[client].IsBackground = true;
  832.                 CustomDoHeartThread[client].Start();
  833.                 CustomDoHeartActive[client] = true;
  834.             }
  835.             else
  836.             {
  837.                 CustomDoHeartActive[client] = false;
  838.                 CustomDoHeartThread[client].Abort();
  839.                 Mods.iPrintlnBold(client, "Custom DoHearts: ^1Disabled");
  840.             }
  841.         }
  842.  
  843.         public void InitDoHeart(int client)
  844.         {
  845.             ThreadStart start = null;
  846.             if (!DoHeartActive[client])
  847.             {
  848.                 DoHeartActive[client] = true;
  849.                 if (start == null)
  850.                 {
  851.                     start = () => this.doHeart(client);
  852.                 }
  853.                 DoHeartThread[client] = new Thread(start);
  854.                 Mods.iPrintlnBold(client, "DoHearts: ^2Active");
  855.                 DoHeartThread[client].IsBackground = true;
  856.                 DoHeartThread[client].Start();
  857.                 DoHeartActive[client] = true;
  858.             }
  859.             else
  860.             {
  861.                 DoHeartActive[client] = false;
  862.                 DoHeartThread[client].Abort();
  863.                 Mods.iPrintlnBold(client, "DoHearts: ^1Disabled");
  864.             }
  865.         }
  866.  
  867.         public void InitHostDoHeart(int client)
  868.         {
  869.             ThreadStart start = null;
  870.             if (!HostDoHeartActive[client])
  871.             {
  872.                 HostDoHeartActive[client] = true;
  873.                 if (start == null)
  874.                 {
  875.                     start = () => this.doHeartHost(client);
  876.                 }
  877.                 HostDoHeartThread[client] = new Thread(start);
  878.                 Mods.iPrintlnBold(client, "Host DoHearts: ^2Active");
  879.                 HostDoHeartThread[client].IsBackground = true;
  880.                 HostDoHeartThread[client].Start();
  881.                 HostDoHeartActive[client] = true;
  882.             }
  883.             else
  884.             {
  885.                 HostDoHeartActive[client] = false;
  886.                 HostDoHeartThread[client].Abort();
  887.                 Mods.iPrintlnBold(client, "Host DoHearts: ^1Disabled");
  888.             }
  889.         }
  890.  
  891.         private void InitializeComponent()
  892.         {
  893.             this.components = new System.ComponentModel.Container();
  894.             this.timer2 = new System.Windows.Forms.Timer(this.components);
  895.             this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
  896.             this.timer1 = new System.Windows.Forms.Timer(this.components);
  897.             this.timer3 = new System.Windows.Forms.Timer(this.components);
  898.             this.metroStyleManager1 = new MetroFramework.Components.MetroStyleManager();
  899.             this.metroButton1 = new MetroFramework.Controls.MetroButton();
  900.             this.metroButton2 = new MetroFramework.Controls.MetroButton();
  901.             this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox();
  902.             this.label1 = new System.Windows.Forms.Label();
  903.             this.SuspendLayout();
  904.             //
  905.             // timer2
  906.             //
  907.             this.timer2.Tick += new System.EventHandler(this.timer2_Tick_1);
  908.             //
  909.             // backgroundWorker1
  910.             //
  911.             this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
  912.             //
  913.             // timer1
  914.             //
  915.             this.timer1.Tick += new System.EventHandler(this.timer1_Tick_1);
  916.             //
  917.             // timer3
  918.             //
  919.             this.timer3.Tick += new System.EventHandler(this.timer3_Tick_1);
  920.             //
  921.             // metroStyleManager1
  922.             //
  923.             this.metroStyleManager1.OwnerForm = this;
  924.             this.metroStyleManager1.Style = MetroFramework.MetroColorStyle.Orange;
  925.             this.metroStyleManager1.Theme = MetroFramework.MetroThemeStyle.Dark;
  926.             //
  927.             // metroButton1
  928.             //
  929.             this.metroButton1.Highlight = true;
  930.             this.metroButton1.Location = new System.Drawing.Point(95, 63);
  931.             this.metroButton1.Name = "metroButton1";
  932.             this.metroButton1.Size = new System.Drawing.Size(176, 32);
  933.             this.metroButton1.Style = MetroFramework.MetroColorStyle.Orange;
  934.             this.metroButton1.StyleManager = this.metroStyleManager1;
  935.             this.metroButton1.TabIndex = 0;
  936.             this.metroButton1.Text = "Connect n Attach";
  937.             this.metroButton1.Theme = MetroFramework.MetroThemeStyle.Dark;
  938.             this.metroButton1.Click += new System.EventHandler(this.metroButton1_Click);
  939.             //
  940.             // metroButton2
  941.             //
  942.             this.metroButton2.Highlight = true;
  943.             this.metroButton2.Location = new System.Drawing.Point(95, 101);
  944.             this.metroButton2.Name = "metroButton2";
  945.             this.metroButton2.Size = new System.Drawing.Size(176, 32);
  946.             this.metroButton2.Style = MetroFramework.MetroColorStyle.Orange;
  947.             this.metroButton2.StyleManager = this.metroStyleManager1;
  948.             this.metroButton2.TabIndex = 1;
  949.             this.metroButton2.Text = "Start Menu";
  950.             this.metroButton2.Theme = MetroFramework.MetroThemeStyle.Dark;
  951.             this.metroButton2.Click += new System.EventHandler(this.metroButton2_Click);
  952.             //
  953.             // metroTextBox1
  954.             //
  955.             this.metroTextBox1.CustomBackground = false;
  956.             this.metroTextBox1.CustomForeColor = false;
  957.             this.metroTextBox1.FontSize = MetroFramework.MetroTextBoxSize.Small;
  958.             this.metroTextBox1.FontWeight = MetroFramework.MetroTextBoxWeight.Regular;
  959.             this.metroTextBox1.Location = new System.Drawing.Point(68, 8);
  960.             this.metroTextBox1.Multiline = false;
  961.             this.metroTextBox1.Name = "metroTextBox1";
  962.             this.metroTextBox1.SelectedText = "";
  963.             this.metroTextBox1.Size = new System.Drawing.Size(0, 0);
  964.             this.metroTextBox1.Style = MetroFramework.MetroColorStyle.Orange;
  965.             this.metroTextBox1.StyleManager = this.metroStyleManager1;
  966.             this.metroTextBox1.TabIndex = 2;
  967.             this.metroTextBox1.Text = "metroTextBox1";
  968.             this.metroTextBox1.Theme = MetroFramework.MetroThemeStyle.Dark;
  969.             this.metroTextBox1.UseStyleColors = false;
  970.             //
  971.             // label1
  972.             //
  973.             this.label1.AutoSize = true;
  974.             this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
  975.             this.label1.Location = new System.Drawing.Point(118, 153);
  976.             this.label1.Name = "label1";
  977.             this.label1.Size = new System.Drawing.Size(135, 13);
  978.             this.label1.TabIndex = 3;
  979.             this.label1.Text = "#PwN3D By BaSs_HaXoR";
  980.             //
  981.             // Energyzed
  982.             //
  983.             this.ClientSize = new System.Drawing.Size(372, 186);
  984.             this.Controls.Add(this.label1);
  985.             this.Controls.Add(this.metroTextBox1);
  986.             this.Controls.Add(this.metroButton2);
  987.             this.Controls.Add(this.metroButton1);
  988.             this.Location = new System.Drawing.Point(0, 0);
  989.             this.Name = "Energyzed";
  990.             this.Style = MetroFramework.MetroColorStyle.Orange;
  991.             this.StyleManager = this.metroStyleManager1;
  992.             this.Text = "Energyzed #PwN3D By BaSs";
  993.             this.Theme = MetroFramework.MetroThemeStyle.Dark;
  994.             this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Energyzed_FormClosing);
  995.             this.Load += new System.EventHandler(this.Form1_Load);
  996.             this.ResumeLayout(false);
  997.             this.PerformLayout();
  998.  
  999.         }
  1000.  
  1001.         public void InitMenu(int client)
  1002.         {
  1003.             for (int i = 0; i < Utility.GetNumPlayers(); i++)
  1004.             {
  1005.                 uint num2 = Convert.ToUInt32(client);
  1006.                 this.Clan1[client] = new LocalString(0x17 + (num2 * 3), client, "WeRuleModding", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1007.                 this.Clan2[client] = new LocalString(13 + (num2 * 3), client, "UnitedModdingTeam", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1008.                 this.Credits[client] = new LocalString(13 + (num2 * 3), client, "Energyzed V1 Credits : \nMango_Knife\nAlmightSo\nPrime Notorius\nSeb5594\nSony Entertainment Network\nActivision\nModzByAhmad", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1009.                 this.Youtube[client] = new LocalString(0x21 + (num2 * 3), client, "Check out \n www.youtube.com/FusionMoDzHD", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1010.                 this.NextGenUpdate[client] = new LocalString(0x26 + (num2 * 3), client, "Check out \n Nextgenupdate.com/Forums", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1011.                 this.GTFO[client] = new LocalString(0x30 + (num2 * 3), client, "Get The Fuck Out !", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1012.                 this.PlayerSpawned[client] = new LocalString(0x2d + (num2 * 3), client, "Welcome to Energyzed V1\nYour Host Today is : ^5^7\nOpen Menu with [{+actionslot 4}] ", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1013.                 this.Menu[client] = new LocalString(0x335 + (num2 * 3), client, "This is Energyzed V1                           \nFor Ghosts 1.12", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1014.                 this.MenuTitle[client] = new LocalString(0x7b + (num2 * 3), client, "Energyzed", 9, 2f, 38f, 39f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
  1015.                 this.DoHeart[client] = new LocalString(0x7e + (num2 * 3), client, "Energyzed V1", 9, 2f, 440f, 130f, 0, 0f, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0);
  1016.                 this.Background[client] = new Shader(120 + (num2 * 3), num2, 12, 200, 0x3e8, 10f, 0f, 0, 0f, 0, 0, 0xff, 0);
  1017.                 this.HostDoHeart[client] = new LocalString(0x7e + (num2 * 3), client, this.metroTextBox1.Text ?? "", 9, 2f, 440f, 230f, 0, 0f, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0);
  1018.                 this.Linker[client] = new Shader(0xbc + (num2 * 3), num2, 12, 3, 500, 9f, 0f, 0, 0f, 0, 0, 0, 0);
  1019.                 this.rechter[client] = new Shader(0xc7 + (num2 * 3), num2, 12, 3, 500, 210f, 0f, 0, 0f, 0, 0, 0, 0);
  1020.                 this.Scrollbar[client] = new Shader(0x79 + (num2 * 3), num2, 12, 200, 20, 10f, 100f, 0, 0f, 0, 0, 0, 0);
  1021.                 this.MenuText[client] = new LocalString(0x7a + (num2 * 3), client, "Account Menu\nVision Menu\nWeapon Menu\nMessage Menu\nModel Menu\nHost Menu\nFun Menu\nDoHeart Menu\nTeleport Menu\nAimbot Menu\nTheme Menu\nLobby Settings", 4, 1.8f, 20f, 100f, 0, 0f, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0);
  1022.                 if (client != Utility.getHostNumber())
  1023.                 {
  1024.                     this.InitVars(client, false);
  1025.                 }
  1026.                 else
  1027.                 {
  1028.                     this.InitVars(client, true);
  1029.                 }
  1030.             }
  1031.         }
  1032.  
  1033.         public void InitVars(int client, bool bool_0)
  1034.         {
  1035.             if (!bool_0)
  1036.             {
  1037.                 this.MenuOpen[client] = false;
  1038.                 this.Scroll[client] = 0;
  1039.                 this.MaxScroll[client] = 0;
  1040.                 this.isVer[client] = false;
  1041.                 this.SubMenu[client] = "None";
  1042.             }
  1043.             else
  1044.             {
  1045.                 this.MenuOpen[client] = false;
  1046.                 this.Scroll[client] = 0;
  1047.                 this.MaxScroll[client] = 5;
  1048.                 this.isVer[client] = true;
  1049.                 this.SubMenu[client] = "Main";
  1050.                 Mods.iPrintlnBold(client, "^5MENU IS READY");
  1051.             }
  1052.         }
  1053.  
  1054.         public void JetPack(int client)
  1055.         {
  1056.             float input = PS3.Extension.ReadFloat(this.findPS(client)) + 100f;
  1057.             PS3.Extension.WriteFloat(this.findPS(client), input);
  1058.         }
  1059.  
  1060.         private void JumpTog(int client)
  1061.         {
  1062.             if (!this.LobbyJumpTog)
  1063.             {
  1064.                 PS3.SetMemory(0xeb374, new byte[] { 0x45, 0x48 });
  1065.                 Mods.iPrintlnBold(client, "Host Changed Lobby Jump to : ^2High");
  1066.                 this.LobbyJumpTog = true;
  1067.             }
  1068.             else
  1069.             {
  1070.                 PS3.SetMemory(0xeb374, new byte[] { 0x42, 0x9c });
  1071.                 Mods.iPrintlnBold(client, "Host Changed Lobby Jump to : ^2Normal");
  1072.                 this.LobbyJumpTog = false;
  1073.             }
  1074.         }
  1075.  
  1076.         private void metroButton1_Click(object sender, EventArgs e)
  1077.         {
  1078.             try
  1079.             {
  1080.                 Debug.Init();
  1081.                 Debug.EnableStringCaching();
  1082.                 this.metroTextBox1.Text = PS3.Extension.ReadString(Offsets.PlayerName);
  1083.                 RPC.WritePPC();
  1084.                 MessageBox.Show("Ba55_H4X0R w4s h3r3");
  1085.             }
  1086.             catch
  1087.             {
  1088.                 MessageBox.Show("Bro you F*k'd up!");
  1089.             }
  1090.         }
  1091.  
  1092.         private void metroButton2_Click(object sender, EventArgs e)
  1093.         {
  1094.             this.InitMenu(Utility.getHostNumber());
  1095.             this.PlayerSpawned[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  1096.             if (!this.backgroundWorker1.IsBusy)
  1097.             {
  1098.                 this.backgroundWorker1.RunWorkerAsync();
  1099.                 MessageBox.Show("Sup Naqqua. #PwN3D");
  1100.             }
  1101.             else
  1102.             {
  1103.                 MessageBox.Show("Background worker is busy, please restart <#Dumb -.->");
  1104.             }
  1105.         }
  1106.  
  1107.         private void metroButton3_Click(object sender, EventArgs e)
  1108.         {
  1109.         }
  1110.  
  1111.         private void metroButton5_Click(object sender, EventArgs e)
  1112.         {
  1113.         }
  1114.  
  1115.         public void MoveScroller(int client, string dir)
  1116.         {
  1117.             if (this.MenuOpen[client])
  1118.             {
  1119.                 if (dir == "Down")
  1120.                 {
  1121.                     if (this.Scroll[client] == this.MaxScroll[client])
  1122.                     {
  1123.                         this.Scrolling(client, 0);
  1124.                     }
  1125.                     else
  1126.                     {
  1127.                         this.Scroll[client]++;
  1128.                         this.Scrolling(client, this.Scroll[client]);
  1129.                     }
  1130.                 }
  1131.                 else if (dir == "Up")
  1132.                 {
  1133.                     if (this.Scroll[client] == 0)
  1134.                     {
  1135.                         this.Scrolling(client, this.MaxScroll[client]);
  1136.                     }
  1137.                     else
  1138.                     {
  1139.                         this.Scroll[client]--;
  1140.                         this.Scrolling(client, this.Scroll[client]);
  1141.                     }
  1142.                 }
  1143.             }
  1144.         }
  1145.  
  1146.         public void onPlayerSpawned(int int_0)
  1147.         {
  1148.             if (PS3.Extension.ReadByte(0xf47383) == 1)
  1149.             {
  1150.                 this.PlayerSpawned[int_0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
  1151.             }
  1152.         }
  1153.  
  1154.         public void OpenClient(int client, int Target)
  1155.         {
  1156.             if (client != Utility.getHostNumber())
  1157.             {
  1158.                 this.Shaders(client, false);
  1159.                 Mods.iPrintlnBold(client, "your not host");
  1160.             }
  1161.             else
  1162.             {
  1163.                 this.TargetedClient[client] = Target;
  1164.                 this.Scrolling(client, 0);
  1165.                 Mods.iPrintlnBold(client, "Selected: " + Utility.getClientName(Target));
  1166.                 this.MenuText[client].SetText("^1Remove Access\n^7Verify\nOption 3\nOption 4");
  1167.                 this.MaxScroll[client] = 3;
  1168.                 this.SubMenu[client] = "COpts";
  1169.             }
  1170.         }
  1171.  
  1172.         public void OpenSub(int client, string sub)
  1173.         {
  1174.             this.SubMenu[client] = sub;
  1175.             if (sub == "Main")
  1176.             {
  1177.                 this.Scrolling(client, 0);
  1178.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1179.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1180.             }
  1181.             else if (sub == "Account Menu")
  1182.             {
  1183.                 this.Scrolling(client, 0);
  1184.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1185.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1186.             }
  1187.             else if (sub == "Vision Menu")
  1188.             {
  1189.                 this.Scrolling(client, 0);
  1190.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1191.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1192.             }
  1193.             else if (sub == "Weapon Menu")
  1194.             {
  1195.                 this.Scrolling(client, 0);
  1196.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1197.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1198.             }
  1199.             else if (sub == "Message Menu")
  1200.             {
  1201.                 this.Scrolling(client, 0);
  1202.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1203.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1204.             }
  1205.             else if (sub == "Model Menu")
  1206.             {
  1207.                 this.Scrolling(client, 0);
  1208.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1209.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1210.             }
  1211.             else if (sub == "Host Menu")
  1212.             {
  1213.                 this.Scrolling(client, 0);
  1214.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1215.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1216.             }
  1217.             else if (sub == "Fun Menu")
  1218.             {
  1219.                 this.Scrolling(client, 0);
  1220.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1221.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1222.             }
  1223.             else if (sub == "DoHeart Menu")
  1224.             {
  1225.                 this.Scrolling(client, 0);
  1226.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1227.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1228.             }
  1229.             else if (sub == "Teleport Menu")
  1230.             {
  1231.                 this.Scrolling(client, 0);
  1232.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1233.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1234.             }
  1235.             else if (sub == "Aimbot Menu")
  1236.             {
  1237.                 this.Scrolling(client, 0);
  1238.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1239.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1240.             }
  1241.             else if (sub == "Theme Menu")
  1242.             {
  1243.                 this.Scrolling(client, 0);
  1244.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1245.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1246.             }
  1247.             else if (sub == "Lobby Settings")
  1248.             {
  1249.                 this.Scrolling(client, 0);
  1250.                 this.MenuText[client].SetText(this.GetMenuString(client));
  1251.                 this.MaxScroll[client] = this.GetMaxScroll(client);
  1252.             }
  1253.         }
  1254.  
  1255.         private void PersonTog(int client)
  1256.         {
  1257.             if (!this.Person)
  1258.             {
  1259.                 PS3.SetMemory(0xf44413, new byte[] { 7 });
  1260.                 Mods.iPrintlnBold(0, "Third Person : ^2Enabled");
  1261.                 this.Person = true;
  1262.             }
  1263.             else
  1264.             {
  1265.                 PS3.SetMemory(0xf44413, new byte[1]);
  1266.                 Mods.iPrintlnBold(0, "Third Person : ^1Disabled ");
  1267.                 this.Person = false;
  1268.             }
  1269.         }
  1270.  
  1271.         private void PrestigeToogle(int client)
  1272.         {
  1273.             int input = (PS3.Extension.ReadInt32(0x179651c) == 10) ? 0 : (PS3.Extension.ReadInt32(0x179651c) + 1);
  1274.             PS3.Extension.WriteInt32(0x179651c, input);
  1275.             Mods.iPrintlnBold(client, "Prestige Set To^5:" + input.ToString());
  1276.         }
  1277.  
  1278.         public string RunKeyBoard(int clientIndex, string Title, string PresetText = "", int MaxLength = 20)
  1279.         {
  1280.             RPC.CallFunction(0x363af0, new object[] { clientIndex, Title, PresetText, MaxLength, 0, 0xa69488, 0xa6c2f0 });
  1281.             while (PS3.Extension.ReadInt32(0xa8cc64) != 0)
  1282.             {
  1283.             }
  1284.             return PS3.Extension.ReadString(0x29f0e22);
  1285.         }
  1286.  
  1287.         private void SavePosition(int ClientInt)
  1288.         {
  1289.             Mods.iPrintlnBold(0, "Position : ^2Saved");
  1290.             byte[] bytes = PS3.Extension.ReadBytes(TeleportOffset + ((uint) (ClientInt * 0x3700)), 14);
  1291.             File.WriteAllBytes("Position.txt", bytes);
  1292.         }
  1293.  
  1294.         public void Scrolling(int client, int scroll)
  1295.         {
  1296.             this.Scroll[client] = scroll;
  1297.             int num2 = 100 + (scroll * 0x16);
  1298.             this.Scrollbar[client].MoveScroller(1, 10f, (float) num2);
  1299.         }
  1300.  
  1301.         public void SelectClientMod(int client, int Target)
  1302.         {
  1303.             if (client != Utility.getHostNumber())
  1304.             {
  1305.                 this.Shaders(client, false);
  1306.             }
  1307.             else if (this.Scroll[client] == 0)
  1308.             {
  1309.                 this.Shaders(Target, false);
  1310.                 this.isVer[Target] = false;
  1311.                 this.SubMenu[Target] = "";
  1312.                 this.InitVars(Target, false);
  1313.                 this.Background[Target].Destroy();
  1314.                 this.Scrollbar[Target].Destroy();
  1315.                 this.MenuText[Target].Destroy();
  1316.                 Mods.iPrintlnBold(client, "Remove Access To: ^1" + Utility.getClientName(Target));
  1317.             }
  1318.             else if (this.Scroll[client] == 1)
  1319.             {
  1320.                 this.InitMenu(Target);
  1321.                 this.InitVars(Target, true);
  1322.                 Mods.iPrintlnBold(client, "Gave Access To: ^2" + Utility.getClientName(Target));
  1323.             }
  1324.         }
  1325.  
  1326.         public void Shaders(int client, bool onScreen)
  1327.         {
  1328.             if (!onScreen)
  1329.             {
  1330.                 PS3.SetMemory(0x268e1e0, new byte[1]);
  1331.                 this.MenuTitle[client].FadeOverTime(1, 0, 0, 0, 0);
  1332.                 this.Background[client].FadeOverTime(1, 0, 0, 0, 0);
  1333.                 this.Scrollbar[client].FadeOverTime(1, 0, 0, 0, 0);
  1334.                 this.MenuText[client].FadeOverTime(1, 0, 0, 0, 0);
  1335.                 this.rechter[client].FadeOverTime(1, 0, 0, 0, 0);
  1336.                 this.Linker[client].FadeOverTime(1, 0, 0, 0, 0);
  1337.                 this.MenuOpen[client] = false;
  1338.             }
  1339.             else
  1340.             {
  1341.                 PS3.SetMemory(0x268e1e0, new byte[] { 1 });
  1342.                 this.rechter[client].FadeQuick(1, 0, 0, 0, 0xff);
  1343.                 this.MenuTitle[client].SetGlow(255M, 106M, 0M, 255M);
  1344.                 this.rechter[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
  1345.                 this.Linker[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
  1346.                 this.MenuTitle[client].FadeToFast(1, 0xff, 0xff, 0xff, 0xff);
  1347.                 this.Background[client].FadeQuick(1, 0, 0, 0, 180);
  1348.                 this.Scrollbar[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
  1349.                 this.MenuText[client].FadeToFast(1, 0xff, 0xff, 0xff, 0xff);
  1350.                 this.MenuOpen[client] = true;
  1351.             }
  1352.         }
  1353.  
  1354.         private void SpeedTog(int client)
  1355.         {
  1356.             if (!this.LobbySpeedTog)
  1357.             {
  1358.                 PS3.SetMemory(0x22c98c, new byte[] { 0x20, 160, 5, 190 });
  1359.                 Mods.iPrintlnBold(client, "Host Changed Lobby Speed to : ^2High");
  1360.                 this.LobbySpeedTog = true;
  1361.             }
  1362.             else
  1363.             {
  1364.                 PS3.SetMemory(0x22c98c, new byte[] { 0x38, 160, 0, 190 });
  1365.                 Mods.iPrintlnBold(client, "Host Changed Lobby Speed to : ^2Normal");
  1366.                 this.LobbySpeedTog = false;
  1367.             }
  1368.         }
  1369.  
  1370.         private void StartAimbot(int client)
  1371.         {
  1372.             this.timer2.Start();
  1373.             Mods.iPrintlnBold(client, "Aimbot : ^2Enabled");
  1374.         }
  1375.  
  1376.         private void StartSpinningMode()
  1377.         {
  1378.             if (this.TripModeSwitch == 0)
  1379.             {
  1380.                 PS3.SetMemory(0xf4446c, new byte[] { 0x49 });
  1381.                 Mods.SV_GameSendServerCommand(0, "J ac130_thermal");
  1382.                 Thread.Sleep(300);
  1383.                 this.TripModeSwitch++;
  1384.             }
  1385.             else if (this.TripModeSwitch == 1)
  1386.             {
  1387.                 PS3.SetMemory(0xf4446c, new byte[] { 0x48 });
  1388.                 Mods.SV_GameSendServerCommand(0, "J aftermath");
  1389.                 Thread.Sleep(300);
  1390.                 this.TripModeSwitch++;
  1391.             }
  1392.             else if (this.TripModeSwitch == 2)
  1393.             {
  1394.                 PS3.SetMemory(0xf4446c, new byte[] { 0x47 });
  1395.                 Mods.SV_GameSendServerCommand(0, "J default_night_mp");
  1396.                 Thread.Sleep(300);
  1397.                 this.TripModeSwitch++;
  1398.             }
  1399.             else if (this.TripModeSwitch == 3)
  1400.             {
  1401.                 PS3.SetMemory(0xf4446c, new byte[] { 70 });
  1402.                 Mods.SV_GameSendServerCommand(0, "J near_death_mp");
  1403.                 Thread.Sleep(300);
  1404.                 this.TripModeSwitch++;
  1405.             }
  1406.             else if (this.TripModeSwitch == 4)
  1407.             {
  1408.                 PS3.SetMemory(0xf4446c, new byte[] { 0x45 });
  1409.                 Mods.SV_GameSendServerCommand(0, "J mpnuke_aftermath");
  1410.                 Thread.Sleep(300);
  1411.                 this.TripModeSwitch++;
  1412.             }
  1413.             else if (this.TripModeSwitch == 5)
  1414.             {
  1415.                 PS3.SetMemory(0xf4446c, new byte[] { 0x44 });
  1416.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1417.                 Thread.Sleep(100);
  1418.                 this.TripModeSwitch++;
  1419.             }
  1420.             else if (this.TripModeSwitch == 6)
  1421.             {
  1422.                 PS3.SetMemory(0xf4446c, new byte[] { 0x43 });
  1423.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1424.                 Thread.Sleep(100);
  1425.                 this.TripModeSwitch++;
  1426.             }
  1427.             else if (this.TripModeSwitch == 7)
  1428.             {
  1429.                 PS3.SetMemory(0xf4446c, new byte[] { 0x42 });
  1430.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1431.                 Thread.Sleep(100);
  1432.                 this.TripModeSwitch++;
  1433.             }
  1434.             else if (this.TripModeSwitch == 8)
  1435.             {
  1436.                 PS3.SetMemory(0xf4446c, new byte[] { 0x41 });
  1437.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1438.                 Thread.Sleep(100);
  1439.                 this.TripModeSwitch++;
  1440.             }
  1441.             else if (this.TripModeSwitch == 9)
  1442.             {
  1443.                 PS3.SetMemory(0xf4446c, new byte[] { 0x40 });
  1444.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1445.                 Thread.Sleep(100);
  1446.                 this.TripModeSwitch = 0;
  1447.             }
  1448.         }
  1449.  
  1450.         private void TeleportClientToPosition(int ClientInt)
  1451.         {
  1452.             byte[] input = File.ReadAllBytes("Position.txt");
  1453.             PS3.Extension.WriteBytes(TeleportOffset + ((uint) (ClientInt * 0x3700)), input);
  1454.         }
  1455.  
  1456.         private void TeleportEveryoneToHost(int ClientInt)
  1457.         {
  1458.             Mods.iPrintlnBold(0, "^2EVERYONE TELEPORTET TO HOST");
  1459.             byte[] input = PS3.Extension.ReadBytes(TeleportOffset, 14);
  1460.             for (uint i = 1; i < 11; i++)
  1461.             {
  1462.                 uint offset = TeleportOffset + (0x3700 * i);
  1463.                 PS3.Extension.WriteBytes(offset, input);
  1464.             }
  1465.         }
  1466.  
  1467.         private void TeleportEveryoneToPosition(int ClientInt)
  1468.         {
  1469.             Mods.iPrintlnBold(0, "^2EVERYONE TELEPORTET TO SAVED POSITION");
  1470.             byte[] input = File.ReadAllBytes("Position.txt");
  1471.             for (uint i = 1; i < 11; i++)
  1472.             {
  1473.                 uint offset = TeleportOffset + (0x3700 * i);
  1474.                 PS3.Extension.WriteBytes(offset, input);
  1475.             }
  1476.         }
  1477.  
  1478.         private void ThemeBlack(int client)
  1479.         {
  1480.             Mods.iPrintlnBold(client, "Theme : Black");
  1481.             this.MenuTitle[client].FadeGlow(1, 0, 0, 0, 0xff);
  1482.             this.Linker[client].FadeQuick(1, 0, 0, 0, 0xff);
  1483.             this.rechter[client].FadeQuick(1, 0, 0, 0, 0xff);
  1484.             this.Scrollbar[client].FadeQuick(1, 0, 0, 0, 0xff);
  1485.         }
  1486.  
  1487.         private void ThemeBlue(int client)
  1488.         {
  1489.             Mods.iPrintlnBold(client, "Theme : ^4Blue");
  1490.             this.MenuTitle[client].FadeGlow(1, 0, 0, 0xff, 0xff);
  1491.             this.Linker[client].FadeQuick(1, 0, 0, 0xff, 0xff);
  1492.             this.rechter[client].FadeQuick(1, 0, 0, 0xff, 0xff);
  1493.             this.Scrollbar[client].FadeQuick(1, 0, 0, 0xff, 0xff);
  1494.         }
  1495.  
  1496.         private void ThemeDefault(int client)
  1497.         {
  1498.             Mods.iPrintlnBold(client, "Theme : Default");
  1499.             this.MenuTitle[client].FadeGlow(1, 0xff, 0x6a, 0, 0xff);
  1500.             this.Linker[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
  1501.             this.rechter[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
  1502.             this.Scrollbar[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
  1503.         }
  1504.  
  1505.         private void ThemeGreen(int client)
  1506.         {
  1507.             Mods.iPrintlnBold(client, "Theme : ^2Green");
  1508.             this.MenuTitle[client].FadeGlow(1, 0, 0xff, 0, 0xff);
  1509.             this.Linker[client].FadeQuick(1, 0, 0xff, 0, 0xff);
  1510.             this.rechter[client].FadeQuick(1, 0, 0xff, 0, 0xff);
  1511.             this.Scrollbar[client].FadeQuick(1, 0, 0xff, 0, 0xff);
  1512.         }
  1513.  
  1514.         private void ThemePurple(int client)
  1515.         {
  1516.             Mods.iPrintlnBold(client, "Theme : ^6Purple");
  1517.             this.MenuTitle[client].FadeGlow(1, 0x94, 0, 0xd3, 0xff);
  1518.             this.Linker[client].FadeQuick(1, 0x94, 0, 0xd3, 0xff);
  1519.             this.rechter[client].FadeQuick(1, 0x94, 0, 0xd3, 0xff);
  1520.             this.Scrollbar[client].FadeQuick(1, 0x94, 0, 0xd3, 0xff);
  1521.         }
  1522.  
  1523.         private void timer1_Tick(object sender, EventArgs e)
  1524.         {
  1525.         }
  1526.  
  1527.         private void timer1_Tick_1(object sender, EventArgs e)
  1528.         {
  1529.         }
  1530.  
  1531.         private void timer2_Tick(object sender, EventArgs e)
  1532.         {
  1533.             Aimbot.setClientViewAngles(0);
  1534.         }
  1535.  
  1536.         private void timer2_Tick_1(object sender, EventArgs e)
  1537.         {
  1538.             Aimbot.setClientViewAngles(0);
  1539.         }
  1540.  
  1541.         private void timer3_Tick(object sender, EventArgs e)
  1542.         {
  1543.             if (this.TripModeSwitch == 0)
  1544.             {
  1545.                 PS3.SetMemory(0xf4446c, new byte[] { 0x49 });
  1546.                 Mods.SV_GameSendServerCommand(0, "J ac130_thermal");
  1547.                 Thread.Sleep(300);
  1548.                 this.TripModeSwitch++;
  1549.             }
  1550.             else if (this.TripModeSwitch == 1)
  1551.             {
  1552.                 PS3.SetMemory(0xf4446c, new byte[] { 0x48 });
  1553.                 Mods.SV_GameSendServerCommand(0, "J aftermath");
  1554.                 Thread.Sleep(300);
  1555.                 this.TripModeSwitch++;
  1556.             }
  1557.             else if (this.TripModeSwitch == 2)
  1558.             {
  1559.                 PS3.SetMemory(0xf4446c, new byte[] { 0x47 });
  1560.                 Mods.SV_GameSendServerCommand(0, "J missilecam");
  1561.                 Thread.Sleep(300);
  1562.                 this.TripModeSwitch++;
  1563.             }
  1564.             else if (this.TripModeSwitch == 3)
  1565.             {
  1566.                 PS3.SetMemory(0xf4446c, new byte[] { 70 });
  1567.                 Mods.SV_GameSendServerCommand(0, "J ac130");
  1568.                 Thread.Sleep(300);
  1569.                 this.TripModeSwitch++;
  1570.             }
  1571.             else if (this.TripModeSwitch == 4)
  1572.             {
  1573.                 PS3.SetMemory(0xf4446c, new byte[] { 0x45 });
  1574.                 Mods.SV_GameSendServerCommand(0, "J mpnuke_aftermath");
  1575.                 Thread.Sleep(300);
  1576.                 this.TripModeSwitch++;
  1577.             }
  1578.             else if (this.TripModeSwitch == 5)
  1579.             {
  1580.                 PS3.SetMemory(0xf4446c, new byte[] { 0x44 });
  1581.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1582.                 Thread.Sleep(100);
  1583.                 this.TripModeSwitch++;
  1584.             }
  1585.             else if (this.TripModeSwitch == 6)
  1586.             {
  1587.                 PS3.SetMemory(0xf4446c, new byte[] { 0x43 });
  1588.                 Mods.SV_GameSendServerCommand(0, "J missilecam");
  1589.                 Thread.Sleep(100);
  1590.                 this.TripModeSwitch++;
  1591.             }
  1592.             else if (this.TripModeSwitch == 7)
  1593.             {
  1594.                 PS3.SetMemory(0xf4446c, new byte[] { 0x42 });
  1595.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1596.                 Thread.Sleep(100);
  1597.                 this.TripModeSwitch++;
  1598.             }
  1599.             else if (this.TripModeSwitch == 8)
  1600.             {
  1601.                 PS3.SetMemory(0xf4446c, new byte[] { 0x41 });
  1602.                 Mods.SV_GameSendServerCommand(0, "J thermal_mo");
  1603.                 Thread.Sleep(100);
  1604.                 this.TripModeSwitch++;
  1605.             }
  1606.             else if (this.TripModeSwitch == 9)
  1607.             {
  1608.                 PS3.SetMemory(0xf4446c, new byte[] { 0x40 });
  1609.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1610.                 Thread.Sleep(100);
  1611.                 this.TripModeSwitch = 0;
  1612.             }
  1613.         }
  1614.  
  1615.         private void timer3_Tick_1(object sender, EventArgs e)
  1616.         {
  1617.             if (this.TripModeSwitch == 0)
  1618.             {
  1619.                 PS3.SetMemory(0xf4446c, new byte[] { 0x49 });
  1620.                 Mods.SV_GameSendServerCommand(0, "J ac130_thermal");
  1621.                 Thread.Sleep(300);
  1622.                 this.TripModeSwitch++;
  1623.             }
  1624.             else if (this.TripModeSwitch == 1)
  1625.             {
  1626.                 PS3.SetMemory(0xf4446c, new byte[] { 0x48 });
  1627.                 Mods.SV_GameSendServerCommand(0, "J aftermath");
  1628.                 Thread.Sleep(300);
  1629.                 this.TripModeSwitch++;
  1630.             }
  1631.             else if (this.TripModeSwitch == 2)
  1632.             {
  1633.                 PS3.SetMemory(0xf4446c, new byte[] { 0x47 });
  1634.                 Mods.SV_GameSendServerCommand(0, "J missilecam");
  1635.                 Thread.Sleep(300);
  1636.                 this.TripModeSwitch++;
  1637.             }
  1638.             else if (this.TripModeSwitch == 3)
  1639.             {
  1640.                 PS3.SetMemory(0xf4446c, new byte[] { 70 });
  1641.                 Mods.SV_GameSendServerCommand(0, "J ac130");
  1642.                 Thread.Sleep(300);
  1643.                 this.TripModeSwitch++;
  1644.             }
  1645.             else if (this.TripModeSwitch == 4)
  1646.             {
  1647.                 PS3.SetMemory(0xf4446c, new byte[] { 0x45 });
  1648.                 Mods.SV_GameSendServerCommand(0, "J mpnuke_aftermath");
  1649.                 Thread.Sleep(300);
  1650.                 this.TripModeSwitch++;
  1651.             }
  1652.             else if (this.TripModeSwitch == 5)
  1653.             {
  1654.                 PS3.SetMemory(0xf4446c, new byte[] { 0x44 });
  1655.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1656.                 Thread.Sleep(100);
  1657.                 this.TripModeSwitch++;
  1658.             }
  1659.             else if (this.TripModeSwitch == 6)
  1660.             {
  1661.                 PS3.SetMemory(0xf4446c, new byte[] { 0x43 });
  1662.                 Mods.SV_GameSendServerCommand(0, "J missilecam");
  1663.                 Thread.Sleep(100);
  1664.                 this.TripModeSwitch++;
  1665.             }
  1666.             else if (this.TripModeSwitch == 7)
  1667.             {
  1668.                 PS3.SetMemory(0xf4446c, new byte[] { 0x42 });
  1669.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1670.                 Thread.Sleep(100);
  1671.                 this.TripModeSwitch++;
  1672.             }
  1673.             else if (this.TripModeSwitch == 8)
  1674.             {
  1675.                 PS3.SetMemory(0xf4446c, new byte[] { 0x41 });
  1676.                 Mods.SV_GameSendServerCommand(0, "J thermal_mo");
  1677.                 Thread.Sleep(100);
  1678.                 this.TripModeSwitch++;
  1679.             }
  1680.             else if (this.TripModeSwitch == 9)
  1681.             {
  1682.                 PS3.SetMemory(0xf4446c, new byte[] { 0x40 });
  1683.                 Mods.SV_GameSendServerCommand(0, "J end_game");
  1684.                 Thread.Sleep(100);
  1685.                 this.TripModeSwitch = 0;
  1686.             }
  1687.         }
  1688.  
  1689.         private void UfoTog1(int client)
  1690.         {
  1691.             if (!this.UfoSwitch)
  1692.             {
  1693.                 Mods.iPrintlnBold(client, "Ufo Mod : ^2Enabled");
  1694.                 PS3.SetMemory((uint) (0xf4771f + (client * 0x3700)), new byte[] { 2 });
  1695.                 this.UfoSwitch = true;
  1696.             }
  1697.             else
  1698.             {
  1699.                 Mods.iPrintlnBold(client, "Ufo Mod : ^1Disabled");
  1700.                 PS3.SetMemory((uint) (0xf4771f + (client * 0x3700)), new byte[1]);
  1701.                 this.UfoSwitch = false;
  1702.             }
  1703.         }
  1704.  
  1705.         public void Unlock()
  1706.         {
  1707.             this.Freezeon();
  1708.             Mods.iPrintlnBold(0, "Unlocking All ... ");
  1709.             Thread.Sleep(900);
  1710.             Mods.iPrintlnBold(0, "Unlocking All ... || ^220/100%");
  1711.             Thread.Sleep(900);
  1712.             Mods.iPrintlnBold(0, "Unlocking All ... || ^240/100%");
  1713.             Thread.Sleep(900);
  1714.             Mods.iPrintlnBold(0, "Unlocking All ... || ^260/100%");
  1715.             Thread.Sleep(900);
  1716.             Mods.iPrintlnBold(0, "Unlocking All ... || ^280/100%");
  1717.             Thread.Sleep(900);
  1718.             Mods.iPrintlnBold(0, "Unlocking All ... || ^2100/100%");
  1719.             Thread.Sleep(900);
  1720.             Mods.iPrintlnBold(0, "Unlocked : ^2Everything ");
  1721.             this.FreezeOff();
  1722.         }
  1723.     }
  1724. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement