Advertisement
BaSs_HaXoR

1.09 Ghost New Anti-Ban + more !!! PwN3D

Mar 7th, 2014
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 47.88 KB | None | 0 0
  1. /*1.09 Ghost New Anti-Ban + more !!!
  2.  
  3. http://www.nextgenupdate.com/forums/call-duty-ghosts-modding-tools/720445-1-09-ghost-new-anti-ban-more-7.html
  4. 3/7/14    
  5.    ::: ::::::::  
  6.   :+: :+:    :+:
  7.  +:+         +:+
  8. +#+       +#++:  
  9.  +#+         +#+
  10.   #+# #+#    #+#
  11.    ### ########                    
  12.     ___           _    _    _                    _                        
  13.    /   \___  ___ | |__( )__| |   ___ _   _ ____ (_)   ___ __ _ _ __ ___  
  14.   / /\ / _ \/ _ \| '_ \// _` |  / __| | | |_  / | |  / __/ _` | '__/ _ \  
  15.  / /_//  __/ (_) | |_) | (_| | | (__| |_| |/ /  | | | (_| (_| | | |  __/_
  16. /___,' \___|\___/|_.__/ \__,_|  \___|\__,_/___| |_|  \___\__,_|_|  \___(_)
  17.                                                                                                                                        
  18.    ::: ::::::::  
  19.   :+: :+:    :+:
  20.  +:+         +:+
  21. +#+       +#++:  
  22.  +#+         +#+
  23.   #+# #+#    #+#
  24.    ### ########            
  25.  ____    __      __  __  __     __    ____      
  26. /\  _`\ /\ \  __/\ \/\ \/\ \  /'__`\ /\  _`\    
  27. \ \ \L\ \ \ \/\ \ \ \ \ `\\ \/\_\L\ \\ \ \/\ \  
  28.  \ \ ,__/\ \ \ \ \ \ \ \ , ` \/_/_\_<_\ \ \ \ \
  29.   \ \ \/  \ \ \_/ \_\ \ \ \`\ \/\ \L\ \\ \ \_\ \
  30.    \ \_\   \ `\___x___/\ \_\ \_\ \____/ \ \____/
  31.     \/_/    '\/__//__/  \/_/\/_/\/___/   \/___/
  32.                                                
  33.      *     _    _        _      
  34.           / /\ /\ \     /\_\ _  
  35.          / /  \\ \ \   / / //\_\
  36.         / / /\ \\ \ \_/ / / \/_/
  37.        / / /\ \ \\ \___/ /      
  38.       / / /\ \_\ \\ \ \_/        
  39.      / / /\ \ \___\\ \ \        
  40.     / / /  \ \ \__/ \ \ \     _  
  41.    / / /____\_\ \    \ \ \  /_/\
  42.   / / /__________\    \ \_\ \_\/
  43.   \/_____________/     \/_/                      
  44.  
  45.  
  46. ______       _____        _   _      __   __     ______
  47. | ___ \     /  ___|      | | | |     \ \ / /     | ___ \
  48. | |_/ / __ _\ `--.  ___  | |_| | __ _ \ V /  ___ | |_/ /
  49. | ___ \/ _` |`--. \/ __| |  _  |/ _` |/   \ / _ \|    /
  50. | |_/ / (_| /\__/ /\__ \ | | | | (_| / /^\ \ (_) | |\ \
  51. \____/ \__,_\____/ |___/ \_| |_/\__,_\/   \/\___/\_| \_|
  52.                      ______                            
  53.                     |______|                          
  54. Yb        dP 8           w      .d88b.                       w  w          dP"Yb
  55.  Yb  db  dP  8d8b. .d88 w8ww    YPwww. .d88b .d8b 8   8 8d8b w w8ww Yb  dP "  d8
  56.   YbdPYbdP   8P Y8 8  8  8          d8 8.dP' 8    8b d8 8P   8  8    YbdP    dP  
  57.    YP  YP    8   8 `Y88  Y8P    `Y88P' `Y88P `Y8P `Y8P8 8    8  Y8P   dP     w  
  58.                                                                      dP      x  
  59. */
  60. namespace ImSooCool_and_ErasedDev_COD_Tool
  61. {
  62.     using DevExpress.LookAndFeel;
  63.     using DevExpress.Skins;
  64.     using DevExpress.UserSkins;
  65.     using DevExpress.XtraBars;
  66.     using DevExpress.XtraBars.Helpers;
  67.     using DevExpress.XtraBars.Ribbon;
  68.     using DevExpress.XtraEditors;
  69.     using PS3Lib;
  70.     using System;
  71.     using System.ComponentModel;
  72.     using System.Diagnostics;
  73.     using System.Drawing;
  74.     using System.Reflection;
  75.     using System.Text;
  76.     using System.Windows.Forms;
  77.     using System.Xml;
  78.  
  79.     public class AwesomeNonHost : XtraForm
  80.     {
  81.         private Bar bar2;
  82.         private BarButtonItem barButtonItem1;
  83.         private BarButtonItem barButtonItem2;
  84.         private BarButtonItem barButtonItem3;
  85.         private BarButtonItem barButtonItem4;
  86.         private BarButtonItem barButtonItem5;
  87.         private BarButtonItem barButtonItem6;
  88.         private BarButtonItem barButtonItem7;
  89.         private BarButtonItem barButtonItem8;
  90.         private BarButtonItem barButtonItem9;
  91.         private BarDockControl barDockControlBottom;
  92.         private BarDockControl barDockControlLeft;
  93.         private BarDockControl barDockControlRight;
  94.         private BarDockControl barDockControlTop;
  95.         private BarManager barManager1;
  96.         private BarSubItem barSubItem1;
  97.         private BarSubItem barSubItem2;
  98.         private BarSubItem barSubItem3;
  99.         private CheckBox checkBox1;
  100.         private CheckBox checkBox10;
  101.         private CheckBox checkBox11;
  102.         private CheckBox checkBox2;
  103.         private CheckBox checkBox3;
  104.         private CheckBox checkBox4;
  105.         private CheckBox checkBox5;
  106.         private CheckBox checkBox6;
  107.         private CheckBox checkBox7;
  108.         private CheckBox checkBox8;
  109.         private CheckBox checkBox9;
  110.         private IContainer components;
  111.         private DefaultLookAndFeel defaultLookAndFeel1;
  112.         private Timer FlashName;
  113.         private Timer FlashPrestige;
  114.         public static uint g_client = 0xf43b00;
  115.         public static uint g_entity = 0xe03b00;
  116.         public static uint ghostsclientsize = 0x3700;
  117.         private Label label1;
  118.         private Label label2;
  119.         private Label label3;
  120.         private Label label4;
  121.         private Label label5;
  122.         private Label label6;
  123.         private Label label7;
  124.         private Label label8;
  125.         private Timer Marquee;
  126.         public string mode = "ImSooCool Goes Right-to-Left LOL";
  127.         public static uint NameOffsetGhosts = 0x176a038;
  128.         private PictureBox pictureBox1;
  129.         public static PS3API PS3 = new PS3API(SelectAPI.TargetManager);
  130.         private RadioButton radioButton1;
  131.         private RadioButton radioButton2;
  132.         private XmlTextReader reader;
  133.         private SimpleButton simpleButton1;
  134.         private SimpleButton simpleButton2;
  135.         private SimpleButton simpleButton3;
  136.         private SimpleButton simpleButton4;
  137.         private SimpleButton simpleButton5;
  138.         private SimpleButton simpleButton6;
  139.         private SimpleButton simpleButton7;
  140.         private SimpleButton simpleButton8;
  141.         private BarLinkContainerItem SkinsLink;
  142.         private TextBox textBox1;
  143.         private int xpos;
  144.         private int ypos;
  145.  
  146.         public AwesomeNonHost()
  147.         {
  148.             this.InitializeComponent();
  149.             this.xpos = this.pictureBox1.Location.X;
  150.             this.ypos = this.pictureBox1.Location.Y;
  151.             this.mode = "ImSooCool Goes Right-to-Left LOL";
  152.             this.Marquee.Start();
  153.             BonusSkins.Register();
  154.             SkinManager.EnableFormSkins();
  155.         }
  156.  
  157.         private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e)
  158.         {
  159.             GalleryDropDown gallery = new GalleryDropDown {
  160.                 Manager = this.barManager1
  161.             };
  162.             SkinHelper.InitSkinGalleryDropDown(gallery);
  163.             gallery.ShowPopup(Control.MousePosition);
  164.         }
  165.  
  166.         private void barButtonItem5_ItemClick(object sender, ItemClickEventArgs e)
  167.         {
  168.             Process.Start("http://portalcentric.net/forums/register/");
  169.         }
  170.  
  171.         private void barButtonItem6_ItemClick(object sender, ItemClickEventArgs e)
  172.         {
  173.             Process.Start("http://www.mediafire.com/download/28d9hv2pz0fddf6/Debugged_Ghosts_1.09_EBOOT.BIN");
  174.         }
  175.  
  176.         private void barButtonItem7_ItemClick(object sender, ItemClickEventArgs e)
  177.         {
  178.             Process.Start("http://www.mediafire.com/download/fniz57ccbl7ce5s/Debugged_Ghosts_1.09_default_mp.self");
  179.         }
  180.  
  181.         private void barButtonItem8_ItemClick(object sender, ItemClickEventArgs e)
  182.         {
  183.             Process.Start("http://www.youtube.com/user/imsoocoolpwns");
  184.         }
  185.  
  186.         private void checkBox1_CheckedChanged(object sender, EventArgs e)
  187.         {
  188.             if (this.checkBox1.Checked)
  189.             {
  190.                 byte[] buffer = new byte[1];
  191.                 PS3.SetMemory(0x13dc6b, buffer);
  192.             }
  193.             else
  194.             {
  195.                 byte[] buffer2 = new byte[] { 1 };
  196.                 PS3.SetMemory(0x13dc6b, buffer2);
  197.             }
  198.         }
  199.  
  200.         private void checkBox10_CheckedChanged(object sender, EventArgs e)
  201.         {
  202.             if (this.checkBox9.Checked)
  203.             {
  204.                 byte[] buffer = new byte[] { 0x42 };
  205.                 PS3.SetMemory(0x2516da4, buffer);
  206.             }
  207.             else
  208.             {
  209.                 byte[] buffer2 = new byte[] { 0x40 };
  210.                 PS3.SetMemory(0x2516da4, buffer2);
  211.             }
  212.         }
  213.  
  214.         private void checkBox11_CheckedChanged(object sender, EventArgs e)
  215.         {
  216.             if (this.checkBox11.Checked)
  217.             {
  218.                 byte[] buffer = new byte[] { 0x2c, 3, 0, 1 };
  219.                 PS3.SetMemory(0x13ee24, buffer);
  220.             }
  221.             else
  222.             {
  223.                 byte[] buffer3 = new byte[4];
  224.                 buffer3[0] = 0x2c;
  225.                 buffer3[1] = 3;
  226.                 byte[] buffer2 = buffer3;
  227.                 PS3.SetMemory(0x13ee24, buffer2);
  228.             }
  229.         }
  230.  
  231.         private void checkBox13_CheckedChanged(object sender, EventArgs e)
  232.         {
  233.         }
  234.  
  235.         private void checkBox15_CheckedChanged(object sender, EventArgs e)
  236.         {
  237.             bool flag1 = this.checkBox1.Checked;
  238.         }
  239.  
  240.         private void checkBox2_CheckedChanged(object sender, EventArgs e)
  241.         {
  242.             if (this.checkBox2.Checked)
  243.             {
  244.                 byte[] buffer3 = new byte[4];
  245.                 buffer3[0] = 0x60;
  246.                 byte[] buffer = buffer3;
  247.                 PS3.SetMemory(0x146364, buffer);
  248.             }
  249.             else
  250.             {
  251.                 byte[] buffer2 = new byte[] { 0x41, 130, 0, 12 };
  252.                 PS3.SetMemory(0x146364, buffer2);
  253.             }
  254.         }
  255.  
  256.         private void checkBox3_CheckedChanged(object sender, EventArgs e)
  257.         {
  258.             if (this.checkBox3.Checked)
  259.             {
  260.                 byte[] buffer3 = new byte[4];
  261.                 buffer3[0] = 0x60;
  262.                 byte[] buffer = buffer3;
  263.                 PS3.SetMemory(0x608950, buffer);
  264.             }
  265.             else
  266.             {
  267.                 byte[] buffer2 = new byte[] { 0x4b, 0xb1, 0x52, 9 };
  268.                 PS3.SetMemory(0x608950, buffer2);
  269.             }
  270.         }
  271.  
  272.         private void checkBox4_CheckedChanged(object sender, EventArgs e)
  273.         {
  274.             if (this.checkBox4.Checked)
  275.             {
  276.                 byte[] buffer = new byte[] { 1 };
  277.                 PS3.SetMemory(0x59a333, buffer);
  278.             }
  279.             else
  280.             {
  281.                 byte[] buffer2 = new byte[1];
  282.                 PS3.SetMemory(0x59a333, buffer2);
  283.             }
  284.         }
  285.  
  286.         private void checkBox5_CheckedChanged(object sender, EventArgs e)
  287.         {
  288.             if (this.checkBox5.Checked)
  289.             {
  290.                 byte[] buffer = new byte[] { 1 };
  291.                 PS3.SetMemory(0x47494b, buffer);
  292.             }
  293.             else
  294.             {
  295.                 byte[] buffer2 = new byte[1];
  296.                 PS3.SetMemory(0x47494b, buffer2);
  297.             }
  298.         }
  299.  
  300.         private void checkBox6_CheckedChanged(object sender, EventArgs e)
  301.         {
  302.             if (this.checkBox6.Checked)
  303.             {
  304.                 byte[] buffer = new byte[] { 1 };
  305.                 PS3.SetMemory(0x253373c, buffer);
  306.             }
  307.             else
  308.             {
  309.                 byte[] buffer2 = new byte[1];
  310.                 PS3.SetMemory(0x253373c, buffer2);
  311.             }
  312.         }
  313.  
  314.         private void checkBox7_CheckedChanged(object sender, EventArgs e)
  315.         {
  316.             if (this.checkBox7.Checked)
  317.             {
  318.                 byte[] buffer = new byte[1];
  319.                 PS3.SetMemory(0x11e8b7, buffer);
  320.             }
  321.             else
  322.             {
  323.                 byte[] buffer2 = new byte[] { 2 };
  324.                 PS3.SetMemory(0x11e8b7, buffer2);
  325.             }
  326.         }
  327.  
  328.         private void checkBox8_CheckedChanged(object sender, EventArgs e)
  329.         {
  330.             if (this.checkBox8.Checked)
  331.             {
  332.                 byte[] buffer = new byte[] { 2 };
  333.                 PS3.SetMemory(0x6f6317, buffer);
  334.                 byte[] buffer2 = new byte[] { 2 };
  335.                 PS3.SetMemory(0x6f529b, buffer2);
  336.                 byte[] buffer3 = new byte[] { 2 };
  337.                 PS3.SetMemory(0x6f560f, buffer3);
  338.                 byte[] buffer4 = new byte[1];
  339.                 PS3.SetMemory(0x6f631b, buffer4);
  340.             }
  341.             else
  342.             {
  343.                 byte[] buffer5 = new byte[] { 1 };
  344.                 PS3.SetMemory(0x6f6317, buffer5);
  345.                 byte[] buffer6 = new byte[] { 1 };
  346.                 PS3.SetMemory(0x6f529b, buffer6);
  347.                 byte[] buffer7 = new byte[] { 1 };
  348.                 PS3.SetMemory(0x6f560f, buffer7);
  349.                 byte[] buffer8 = new byte[] { 1 };
  350.                 PS3.SetMemory(0x6f631b, buffer8);
  351.             }
  352.         }
  353.  
  354.         private void checkBox9_CheckedChanged(object sender, EventArgs e)
  355.         {
  356.             if (this.checkBox9.Checked)
  357.             {
  358.                 byte[] buffer = new byte[] { 0xdf };
  359.                 PS3.SetMemory(0x252bc55, buffer);
  360.             }
  361.             else
  362.             {
  363.                 byte[] buffer2 = new byte[] { 0x80 };
  364.                 PS3.SetMemory(0x252bc55, buffer2);
  365.             }
  366.         }
  367.  
  368.         protected override void Dispose(bool disposing)
  369.         {
  370.             if (disposing && (this.components != null))
  371.             {
  372.                 this.components.Dispose();
  373.             }
  374.             base.Dispose(disposing);
  375.         }
  376.  
  377.         public void EnableOthersBox(bool active)
  378.         {
  379.             this.simpleButton2.Enabled = active;
  380.         }
  381.  
  382.         private void FlashPrestige_Tick(object sender, EventArgs e)
  383.         {
  384.             Random random = new Random();
  385.             byte[] bytes = BitConverter.GetBytes(random.Next(1, 10));
  386.             Array.Resize<byte>(ref bytes, bytes.Length + 1);
  387.             PS3.SetMemory(NameOffsetGhosts + 0x28ae4, bytes);
  388.             this.FlashPrestige.Start();
  389.         }
  390.  
  391.         private void Form1_Load(object sender, EventArgs e)
  392.         {
  393.             BonusSkins.Register();
  394.             SkinHelper.InitSkinPopupMenu(this.SkinsLink);
  395.             this.EnableOthersBox(false);
  396.             if (PS3.GetCurrentAPI() == SelectAPI.TargetManager)
  397.             {
  398.                 PS3.PS3TMAPI_NET();
  399.             }
  400.         }
  401.  
  402.         private void InitializeComponent()
  403.         {
  404.             this.components = new Container();
  405.             ComponentResourceManager manager = new ComponentResourceManager(typeof(AwesomeNonHost));
  406.             this.defaultLookAndFeel1 = new DefaultLookAndFeel(this.components);
  407.             this.barManager1 = new BarManager(this.components);
  408.             this.bar2 = new Bar();
  409.             this.barButtonItem1 = new BarButtonItem();
  410.             this.barSubItem3 = new BarSubItem();
  411.             this.barButtonItem5 = new BarButtonItem();
  412.             this.barButtonItem6 = new BarButtonItem();
  413.             this.barButtonItem7 = new BarButtonItem();
  414.             this.barButtonItem8 = new BarButtonItem();
  415.             this.barDockControlTop = new BarDockControl();
  416.             this.barDockControlBottom = new BarDockControl();
  417.             this.barDockControlLeft = new BarDockControl();
  418.             this.barDockControlRight = new BarDockControl();
  419.             this.barSubItem2 = new BarSubItem();
  420.             this.barButtonItem2 = new BarButtonItem();
  421.             this.barSubItem1 = new BarSubItem();
  422.             this.SkinsLink = new BarLinkContainerItem();
  423.             this.barButtonItem3 = new BarButtonItem();
  424.             this.barButtonItem4 = new BarButtonItem();
  425.             this.barButtonItem9 = new BarButtonItem();
  426.             this.Marquee = new Timer(this.components);
  427.             this.FlashName = new Timer(this.components);
  428.             this.label4 = new Label();
  429.             this.simpleButton8 = new SimpleButton();
  430.             this.simpleButton7 = new SimpleButton();
  431.             this.simpleButton6 = new SimpleButton();
  432.             this.simpleButton5 = new SimpleButton();
  433.             this.simpleButton4 = new SimpleButton();
  434.             this.textBox1 = new TextBox();
  435.             this.label3 = new Label();
  436.             this.checkBox6 = new CheckBox();
  437.             this.checkBox1 = new CheckBox();
  438.             this.checkBox2 = new CheckBox();
  439.             this.checkBox3 = new CheckBox();
  440.             this.checkBox4 = new CheckBox();
  441.             this.checkBox7 = new CheckBox();
  442.             this.label2 = new Label();
  443.             this.label1 = new Label();
  444.             this.simpleButton3 = new SimpleButton();
  445.             this.simpleButton2 = new SimpleButton();
  446.             this.simpleButton1 = new SimpleButton();
  447.             this.radioButton2 = new RadioButton();
  448.             this.pictureBox1 = new PictureBox();
  449.             this.radioButton1 = new RadioButton();
  450.             this.FlashPrestige = new Timer(this.components);
  451.             this.label5 = new Label();
  452.             this.checkBox8 = new CheckBox();
  453.             this.checkBox9 = new CheckBox();
  454.             this.checkBox10 = new CheckBox();
  455.             this.checkBox11 = new CheckBox();
  456.             this.label6 = new Label();
  457.             this.checkBox5 = new CheckBox();
  458.             this.label7 = new Label();
  459.             this.label8 = new Label();
  460.             this.barManager1.BeginInit();
  461.             ((ISupportInitialize) this.pictureBox1).BeginInit();
  462.             base.SuspendLayout();
  463.             this.defaultLookAndFeel1.LookAndFeel.SkinName = "Metropolis";
  464.             this.barManager1.Bars.AddRange(new Bar[] { this.bar2 });
  465.             this.barManager1.DockControls.Add(this.barDockControlTop);
  466.             this.barManager1.DockControls.Add(this.barDockControlBottom);
  467.             this.barManager1.DockControls.Add(this.barDockControlLeft);
  468.             this.barManager1.DockControls.Add(this.barDockControlRight);
  469.             this.barManager1.Form = this;
  470.             this.barManager1.Items.AddRange(new BarItem[] { this.barButtonItem1, this.barSubItem2, this.barButtonItem2, this.barSubItem1, this.SkinsLink, this.barButtonItem3, this.barButtonItem4, this.barSubItem3, this.barButtonItem5, this.barButtonItem6, this.barButtonItem7, this.barButtonItem8, this.barButtonItem9 });
  471.             this.barManager1.MainMenu = this.bar2;
  472.             this.barManager1.MaxItemId = 0x1f;
  473.             this.bar2.BarName = "Main menu";
  474.             this.bar2.DockCol = 0;
  475.             this.bar2.DockRow = 0;
  476.             this.bar2.DockStyle = BarDockStyle.Top;
  477.             this.bar2.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem1), new LinkPersistInfo(this.barSubItem3), new LinkPersistInfo(this.barButtonItem8) });
  478.             this.bar2.OptionsBar.MultiLine = true;
  479.             this.bar2.OptionsBar.UseWholeRow = true;
  480.             this.bar2.Text = "Main menu";
  481.             this.barButtonItem1.Caption = "Themes";
  482.             this.barButtonItem1.Id = 3;
  483.             this.barButtonItem1.Name = "barButtonItem1";
  484.             this.barButtonItem1.ItemClick += new ItemClickEventHandler(this.barButtonItem1_ItemClick);
  485.             this.barSubItem3.Caption = "Extras";
  486.             this.barSubItem3.Id = 0x17;
  487.             this.barSubItem3.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem5), new LinkPersistInfo(this.barButtonItem6), new LinkPersistInfo(this.barButtonItem7) });
  488.             this.barSubItem3.Name = "barSubItem3";
  489.             this.barButtonItem5.Caption = "Sign Up At PortalCentric.Net";
  490.             this.barButtonItem5.Id = 0x19;
  491.             this.barButtonItem5.Name = "barButtonItem5";
  492.             this.barButtonItem5.ItemClick += new ItemClickEventHandler(this.barButtonItem5_ItemClick);
  493.             this.barButtonItem6.Caption = "Latest Debugged EBOOT.BIN";
  494.             this.barButtonItem6.Id = 0x1a;
  495.             this.barButtonItem6.Name = "barButtonItem6";
  496.             this.barButtonItem6.ItemClick += new ItemClickEventHandler(this.barButtonItem6_ItemClick);
  497.             this.barButtonItem7.Caption = "Latest Debugged default_mp.self";
  498.             this.barButtonItem7.Id = 0x1c;
  499.             this.barButtonItem7.Name = "barButtonItem7";
  500.             this.barButtonItem7.ItemClick += new ItemClickEventHandler(this.barButtonItem7_ItemClick);
  501.             this.barButtonItem8.Caption = "ISC Youtube";
  502.             this.barButtonItem8.Id = 0x1d;
  503.             this.barButtonItem8.Name = "barButtonItem8";
  504.             this.barButtonItem8.ItemClick += new ItemClickEventHandler(this.barButtonItem8_ItemClick);
  505.             this.barDockControlTop.CausesValidation = false;
  506.             this.barDockControlTop.Dock = DockStyle.Top;
  507.             this.barDockControlTop.Location = new Point(0, 0);
  508.             this.barDockControlTop.Size = new Size(0x16f, 0x16);
  509.             this.barDockControlBottom.CausesValidation = false;
  510.             this.barDockControlBottom.Dock = DockStyle.Bottom;
  511.             this.barDockControlBottom.Location = new Point(0, 480);
  512.             this.barDockControlBottom.Size = new Size(0x16f, 0);
  513.             this.barDockControlLeft.CausesValidation = false;
  514.             this.barDockControlLeft.Dock = DockStyle.Left;
  515.             this.barDockControlLeft.Location = new Point(0, 0x16);
  516.             this.barDockControlLeft.Size = new Size(0, 0x1ca);
  517.             this.barDockControlRight.CausesValidation = false;
  518.             this.barDockControlRight.Dock = DockStyle.Right;
  519.             this.barDockControlRight.Location = new Point(0x16f, 0x16);
  520.             this.barDockControlRight.Size = new Size(0, 0x1ca);
  521.             this.barSubItem2.Id = 0x13;
  522.             this.barSubItem2.Name = "barSubItem2";
  523.             this.barButtonItem2.Id = 20;
  524.             this.barButtonItem2.Name = "barButtonItem2";
  525.             this.barSubItem1.Caption = "Themes";
  526.             this.barSubItem1.Id = 11;
  527.             this.barSubItem1.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.SkinsLink) });
  528.             this.barSubItem1.Name = "barSubItem1";
  529.             this.SkinsLink.Caption = "SkinsLink";
  530.             this.SkinsLink.Id = 12;
  531.             this.SkinsLink.Name = "SkinsLink";
  532.             this.barButtonItem3.Id = 0x15;
  533.             this.barButtonItem3.Name = "barButtonItem3";
  534.             this.barButtonItem4.Id = 0x16;
  535.             this.barButtonItem4.Name = "barButtonItem4";
  536.             this.barButtonItem9.Caption = "barButtonItem9";
  537.             this.barButtonItem9.Id = 30;
  538.             this.barButtonItem9.Name = "barButtonItem9";
  539.             this.Marquee.Interval = 1;
  540.             this.Marquee.Tick += new EventHandler(this.timer1_Tick);
  541.             this.FlashName.Tick += new EventHandler(this.timer2_Tick);
  542.             this.label4.AutoSize = true;
  543.             this.label4.ForeColor = Color.FromArgb(0xc0, 0xc0, 0);
  544.             this.label4.Location = new Point(0x8b, 0x124);
  545.             this.label4.Name = "label4";
  546.             this.label4.Size = new Size(0x52, 13);
  547.             this.label4.TabIndex = 0x56;
  548.             this.label4.Text = "Prestige Looper";
  549.             this.simpleButton8.Location = new Point(0xb6, 0x134);
  550.             this.simpleButton8.Name = "simpleButton8";
  551.             this.simpleButton8.Size = new Size(0x2b, 0x17);
  552.             this.simpleButton8.TabIndex = 0x58;
  553.             this.simpleButton8.Text = "OFF";
  554.             this.simpleButton8.Click += new EventHandler(this.simpleButton8_Click);
  555.             this.simpleButton7.Location = new Point(0x85, 0x134);
  556.             this.simpleButton7.Name = "simpleButton7";
  557.             this.simpleButton7.Size = new Size(0x2b, 0x17);
  558.             this.simpleButton7.TabIndex = 0x57;
  559.             this.simpleButton7.Text = "ON";
  560.             this.simpleButton7.Click += new EventHandler(this.simpleButton7_Click);
  561.             this.simpleButton6.Location = new Point(0x72, 0x107);
  562.             this.simpleButton6.Name = "simpleButton6";
  563.             this.simpleButton6.Size = new Size(140, 0x15);
  564.             this.simpleButton6.TabIndex = 0x55;
  565.             this.simpleButton6.Text = "Flash Name OFF";
  566.             this.simpleButton6.Click += new EventHandler(this.simpleButton6_Click);
  567.             this.simpleButton5.Location = new Point(0x72, 0xec);
  568.             this.simpleButton5.Name = "simpleButton5";
  569.             this.simpleButton5.Size = new Size(140, 0x15);
  570.             this.simpleButton5.TabIndex = 0x54;
  571.             this.simpleButton5.Text = "Flash Name ON";
  572.             this.simpleButton5.Click += new EventHandler(this.simpleButton5_Click);
  573.             this.simpleButton4.Location = new Point(0x72, 0xd1);
  574.             this.simpleButton4.Name = "simpleButton4";
  575.             this.simpleButton4.Size = new Size(140, 0x15);
  576.             this.simpleButton4.TabIndex = 0x53;
  577.             this.simpleButton4.Text = "Set Lobby Name";
  578.             this.simpleButton4.Click += new EventHandler(this.simpleButton4_Click);
  579.             this.textBox1.Location = new Point(0x72, 0xb6);
  580.             this.textBox1.MaxLength = 0x20;
  581.             this.textBox1.Name = "textBox1";
  582.             this.textBox1.Size = new Size(140, 0x15);
  583.             this.textBox1.TabIndex = 0x52;
  584.             this.label3.AutoSize = true;
  585.             this.label3.ForeColor = Color.FromArgb(0, 0xc0, 0xc0);
  586.             this.label3.Location = new Point(0x31, 340);
  587.             this.label3.Name = "label3";
  588.             this.label3.Size = new Size(0x56, 13);
  589.             this.label3.TabIndex = 0x51;
  590.             this.label3.Text = "Non - Host Mods";
  591.             this.label3.Click += new EventHandler(this.label3_Click);
  592.             this.checkBox6.AutoSize = true;
  593.             this.checkBox6.FlatStyle = FlatStyle.Flat;
  594.             this.checkBox6.ForeColor = Color.FromArgb(0, 0xc0, 0);
  595.             this.checkBox6.Location = new Point(0x13, 0x1a2);
  596.             this.checkBox6.Margin = new Padding(2);
  597.             this.checkBox6.Name = "checkBox6";
  598.             this.checkBox6.Size = new Size(0x53, 0x11);
  599.             this.checkBox6.TabIndex = 80;
  600.             this.checkBox6.Text = "Third Person";
  601.             this.checkBox6.UseVisualStyleBackColor = true;
  602.             this.checkBox6.CheckedChanged += new EventHandler(this.checkBox6_CheckedChanged);
  603.             this.checkBox1.AutoSize = true;
  604.             this.checkBox1.FlatStyle = FlatStyle.Flat;
  605.             this.checkBox1.ForeColor = Color.Black;
  606.             this.checkBox1.Location = new Point(20, 0x163);
  607.             this.checkBox1.Margin = new Padding(2);
  608.             this.checkBox1.Name = "checkBox1";
  609.             this.checkBox1.Size = new Size(0x5e, 0x11);
  610.             this.checkBox1.TabIndex = 0x4f;
  611.             this.checkBox1.Text = "Advanced UAV";
  612.             this.checkBox1.UseVisualStyleBackColor = true;
  613.             this.checkBox1.CheckedChanged += new EventHandler(this.checkBox1_CheckedChanged);
  614.             this.checkBox2.AutoSize = true;
  615.             this.checkBox2.FlatStyle = FlatStyle.Flat;
  616.             this.checkBox2.ForeColor = Color.FromArgb(0xff, 0x80, 0);
  617.             this.checkBox2.Location = new Point(20, 0x178);
  618.             this.checkBox2.Margin = new Padding(2);
  619.             this.checkBox2.Name = "checkBox2";
  620.             this.checkBox2.Size = new Size(0x5b, 0x11);
  621.             this.checkBox2.TabIndex = 0x4d;
  622.             this.checkBox2.Text = "Orange Boxes";
  623.             this.checkBox2.UseVisualStyleBackColor = true;
  624.             this.checkBox2.CheckedChanged += new EventHandler(this.checkBox2_CheckedChanged);
  625.             this.checkBox3.AutoSize = true;
  626.             this.checkBox3.FlatStyle = FlatStyle.Flat;
  627.             this.checkBox3.ForeColor = Color.FromArgb(0xff, 0x80, 0);
  628.             this.checkBox3.Location = new Point(0x76, 0x178);
  629.             this.checkBox3.Margin = new Padding(2);
  630.             this.checkBox3.Name = "checkBox3";
  631.             this.checkBox3.Size = new Size(0x43, 0x11);
  632.             this.checkBox3.TabIndex = 0x4c;
  633.             this.checkBox3.Text = "No Recoil";
  634.             this.checkBox3.UseVisualStyleBackColor = true;
  635.             this.checkBox3.CheckedChanged += new EventHandler(this.checkBox3_CheckedChanged);
  636.             this.checkBox4.AutoSize = true;
  637.             this.checkBox4.FlatStyle = FlatStyle.Flat;
  638.             this.checkBox4.ForeColor = Color.FromArgb(0xc0, 0xc0, 0);
  639.             this.checkBox4.Location = new Point(20, 0x18d);
  640.             this.checkBox4.Margin = new Padding(2);
  641.             this.checkBox4.Name = "checkBox4";
  642.             this.checkBox4.Size = new Size(0x31, 0x11);
  643.             this.checkBox4.TabIndex = 0x4b;
  644.             this.checkBox4.Text = "Laser";
  645.             this.checkBox4.UseVisualStyleBackColor = true;
  646.             this.checkBox4.CheckedChanged += new EventHandler(this.checkBox4_CheckedChanged);
  647.             this.checkBox7.AutoSize = true;
  648.             this.checkBox7.FlatStyle = FlatStyle.Flat;
  649.             this.checkBox7.ForeColor = Color.FromArgb(0, 0xc0, 0);
  650.             this.checkBox7.Location = new Point(0x76, 0x1a2);
  651.             this.checkBox7.Margin = new Padding(2);
  652.             this.checkBox7.Name = "checkBox7";
  653.             this.checkBox7.Size = new Size(0x4d, 0x11);
  654.             this.checkBox7.TabIndex = 0x4a;
  655.             this.checkBox7.Text = "Steady Aim";
  656.             this.checkBox7.UseVisualStyleBackColor = true;
  657.             this.checkBox7.CheckedChanged += new EventHandler(this.checkBox7_CheckedChanged);
  658.             this.label2.AutoSize = true;
  659.             this.label2.Font = new Font("Times New Roman", 12f, FontStyle.Regular, GraphicsUnit.Point, 0);
  660.             this.label2.ForeColor = Color.Turquoise;
  661.             this.label2.Location = new Point(0xa5, 60);
  662.             this.label2.Name = "label2";
  663.             this.label2.Size = new Size(0, 0x13);
  664.             this.label2.TabIndex = 0x49;
  665.             this.label1.AutoSize = true;
  666.             this.label1.Font = new Font("Times New Roman", 12f, FontStyle.Regular, GraphicsUnit.Point, 0);
  667.             this.label1.ForeColor = Color.FromArgb(0, 0xc0, 0);
  668.             this.label1.Location = new Point(0x5d, 60);
  669.             this.label1.Name = "label1";
  670.             this.label1.Size = new Size(0x49, 0x13);
  671.             this.label1.TabIndex = 0x48;
  672.             this.label1.Text = "Welcome :";
  673.             this.label1.Visible = false;
  674.             this.simpleButton3.Appearance.ForeColor = Color.Red;
  675.             this.simpleButton3.Appearance.Options.UseForeColor = true;
  676.             this.simpleButton3.Location = new Point(0x84, 0x89);
  677.             this.simpleButton3.Name = "simpleButton3";
  678.             this.simpleButton3.Size = new Size(0x67, 0x17);
  679.             this.simpleButton3.TabIndex = 0x47;
  680.             this.simpleButton3.Text = "Check for Update";
  681.             this.simpleButton3.Click += new EventHandler(this.simpleButton3_Click);
  682.             this.simpleButton2.Appearance.ForeColor = Color.DeepPink;
  683.             this.simpleButton2.Appearance.Options.UseForeColor = true;
  684.             this.simpleButton2.Enabled = false;
  685.             this.simpleButton2.Location = new Point(0xb8, 0x6c);
  686.             this.simpleButton2.Name = "simpleButton2";
  687.             this.simpleButton2.Size = new Size(0x67, 0x17);
  688.             this.simpleButton2.TabIndex = 0x45;
  689.             this.simpleButton2.Text = "Attach";
  690.             this.simpleButton2.Click += new EventHandler(this.simpleButton2_Click);
  691.             this.simpleButton1.Appearance.ForeColor = Color.DeepPink;
  692.             this.simpleButton1.Appearance.Options.UseForeColor = true;
  693.             this.simpleButton1.Enabled = false;
  694.             this.simpleButton1.Location = new Point(0x4d, 0x6c);
  695.             this.simpleButton1.Name = "simpleButton1";
  696.             this.simpleButton1.Size = new Size(0x67, 0x17);
  697.             this.simpleButton1.TabIndex = 0x44;
  698.             this.simpleButton1.Text = "Connect";
  699.             this.simpleButton1.Click += new EventHandler(this.simpleButton1_Click);
  700.             this.radioButton2.AutoSize = true;
  701.             this.radioButton2.Font = new Font("Comic Sans MS", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
  702.             this.radioButton2.ForeColor = Color.BlueViolet;
  703.             this.radioButton2.Location = new Point(0xc3, 0x53);
  704.             this.radioButton2.Name = "radioButton2";
  705.             this.radioButton2.Size = new Size(0x2f, 0x13);
  706.             this.radioButton2.TabIndex = 0x43;
  707.             this.radioButton2.TabStop = true;
  708.             this.radioButton2.Text = "CEX";
  709.             this.radioButton2.UseVisualStyleBackColor = true;
  710.             this.radioButton2.CheckedChanged += new EventHandler(this.radioButton2_CheckedChanged);
  711.             this.pictureBox1.Image = (Image) manager.GetObject("pictureBox1.Image");
  712.             this.pictureBox1.Location = new Point(0, 0x1c);
  713.             this.pictureBox1.Name = "pictureBox1";
  714.             this.pictureBox1.Size = new Size(370, 0x1c);
  715.             this.pictureBox1.TabIndex = 0x42;
  716.             this.pictureBox1.TabStop = false;
  717.             this.radioButton1.AutoSize = true;
  718.             this.radioButton1.Font = new Font("Comic Sans MS", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
  719.             this.radioButton1.ForeColor = Color.BlueViolet;
  720.             this.radioButton1.Location = new Point(0x74, 0x53);
  721.             this.radioButton1.Name = "radioButton1";
  722.             this.radioButton1.Size = new Size(0x30, 0x13);
  723.             this.radioButton1.TabIndex = 40;
  724.             this.radioButton1.TabStop = true;
  725.             this.radioButton1.Text = "DEX";
  726.             this.radioButton1.UseVisualStyleBackColor = true;
  727.             this.radioButton1.CheckedChanged += new EventHandler(this.radioButton1_CheckedChanged);
  728.             this.FlashPrestige.Tick += new EventHandler(this.FlashPrestige_Tick);
  729.             this.label5.AutoSize = true;
  730.             this.label5.ForeColor = Color.FromArgb(0xff, 0x80, 0);
  731.             this.label5.Location = new Point(130, 0xa6);
  732.             this.label5.Name = "label5";
  733.             this.label5.Size = new Size(110, 13);
  734.             this.label5.TabIndex = 0x5d;
  735.             this.label5.Text = "Lobby Name Changer";
  736.             this.checkBox8.AutoSize = true;
  737.             this.checkBox8.FlatStyle = FlatStyle.Flat;
  738.             this.checkBox8.ForeColor = Color.Red;
  739.             this.checkBox8.Location = new Point(0xf5, 0x18d);
  740.             this.checkBox8.Margin = new Padding(2);
  741.             this.checkBox8.Name = "checkBox8";
  742.             this.checkBox8.Size = new Size(0x3f, 0x11);
  743.             this.checkBox8.TabIndex = 0x62;
  744.             this.checkBox8.Text = "Anit Ban";
  745.             this.checkBox8.UseVisualStyleBackColor = true;
  746.             this.checkBox8.CheckedChanged += new EventHandler(this.checkBox8_CheckedChanged);
  747.             this.checkBox9.AutoSize = true;
  748.             this.checkBox9.FlatStyle = FlatStyle.Flat;
  749.             this.checkBox9.ForeColor = Color.FromArgb(0, 0xc0, 0xc0);
  750.             this.checkBox9.Location = new Point(20, 0x1b7);
  751.             this.checkBox9.Margin = new Padding(2);
  752.             this.checkBox9.Name = "checkBox9";
  753.             this.checkBox9.Size = new Size(0x52, 0x11);
  754.             this.checkBox9.TabIndex = 0x67;
  755.             this.checkBox9.Text = "Big Mini-Map";
  756.             this.checkBox9.UseVisualStyleBackColor = true;
  757.             this.checkBox9.CheckedChanged += new EventHandler(this.checkBox9_CheckedChanged);
  758.             this.checkBox10.AutoSize = true;
  759.             this.checkBox10.FlatStyle = FlatStyle.Flat;
  760.             this.checkBox10.ForeColor = Color.FromArgb(0, 0xc0, 0xc0);
  761.             this.checkBox10.Location = new Point(0x76, 0x1b7);
  762.             this.checkBox10.Margin = new Padding(2);
  763.             this.checkBox10.Name = "checkBox10";
  764.             this.checkBox10.Size = new Size(0x45, 0x11);
  765.             this.checkBox10.TabIndex = 0x6c;
  766.             this.checkBox10.Text = "Wall Hack";
  767.             this.checkBox10.UseVisualStyleBackColor = true;
  768.             this.checkBox10.CheckedChanged += new EventHandler(this.checkBox10_CheckedChanged);
  769.             this.checkBox11.AutoSize = true;
  770.             this.checkBox11.FlatStyle = FlatStyle.Flat;
  771.             this.checkBox11.ForeColor = Color.Black;
  772.             this.checkBox11.Location = new Point(0x76, 0x163);
  773.             this.checkBox11.Margin = new Padding(2);
  774.             this.checkBox11.Name = "checkBox11";
  775.             this.checkBox11.Size = new Size(0x51, 0x11);
  776.             this.checkBox11.TabIndex = 0x71;
  777.             this.checkBox11.Text = " Normal Uav";
  778.             this.checkBox11.UseVisualStyleBackColor = true;
  779.             this.checkBox11.CheckedChanged += new EventHandler(this.checkBox11_CheckedChanged);
  780.             this.label6.AutoSize = true;
  781.             this.label6.ForeColor = Color.FromArgb(0, 0xc0, 0xc0);
  782.             this.label6.Location = new Point(220, 0x17a);
  783.             this.label6.Name = "label6";
  784.             this.label6.Size = new Size(0x6d, 13);
  785.             this.label6.TabIndex = 0x72;
  786.             this.label6.Text = "Disable DeamonWare";
  787.             this.checkBox5.AutoSize = true;
  788.             this.checkBox5.FlatStyle = FlatStyle.Flat;
  789.             this.checkBox5.ForeColor = Color.FromArgb(0xc0, 0xc0, 0);
  790.             this.checkBox5.Location = new Point(0x76, 0x18d);
  791.             this.checkBox5.Margin = new Padding(2);
  792.             this.checkBox5.Name = "checkBox5";
  793.             this.checkBox5.Size = new Size(0x62, 0x11);
  794.             this.checkBox5.TabIndex = 0x4e;
  795.             this.checkBox5.Text = "Chrome Players";
  796.             this.checkBox5.UseVisualStyleBackColor = true;
  797.             this.checkBox5.CheckedChanged += new EventHandler(this.checkBox5_CheckedChanged);
  798.             this.label7.AutoSize = true;
  799.             this.label7.ForeColor = Color.BlueViolet;
  800.             this.label7.Location = new Point(0xf2, 0x1a6);
  801.             this.label7.Name = "label7";
  802.             this.label7.Size = new Size(0x4e, 13);
  803.             this.label7.TabIndex = 0x73;
  804.             this.label7.Text = "Special thanks ";
  805.             this.label8.AutoSize = true;
  806.             this.label8.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
  807.             this.label8.ForeColor = Color.Black;
  808.             this.label8.Location = new Point(220, 0x1bb);
  809.             this.label8.Name = "label8";
  810.             this.label8.Size = new Size(0x72, 13);
  811.             this.label8.TabIndex = 0x74;
  812.             this.label8.Text = "Kysa aka B1TW153";
  813.             this.label8.Click += new EventHandler(this.label8_Click);
  814.             base.AutoScaleDimensions = new SizeF(6f, 13f);
  815.             base.AutoScaleMode = AutoScaleMode.Font;
  816.             base.ClientSize = new Size(0x16f, 480);
  817.             base.Controls.Add(this.label8);
  818.             base.Controls.Add(this.label7);
  819.             base.Controls.Add(this.label6);
  820.             base.Controls.Add(this.checkBox11);
  821.             base.Controls.Add(this.checkBox10);
  822.             base.Controls.Add(this.checkBox9);
  823.             base.Controls.Add(this.checkBox8);
  824.             base.Controls.Add(this.label5);
  825.             base.Controls.Add(this.radioButton1);
  826.             base.Controls.Add(this.label4);
  827.             base.Controls.Add(this.simpleButton8);
  828.             base.Controls.Add(this.simpleButton7);
  829.             base.Controls.Add(this.simpleButton6);
  830.             base.Controls.Add(this.simpleButton5);
  831.             base.Controls.Add(this.simpleButton4);
  832.             base.Controls.Add(this.textBox1);
  833.             base.Controls.Add(this.label3);
  834.             base.Controls.Add(this.checkBox6);
  835.             base.Controls.Add(this.checkBox1);
  836.             base.Controls.Add(this.checkBox5);
  837.             base.Controls.Add(this.checkBox2);
  838.             base.Controls.Add(this.checkBox3);
  839.             base.Controls.Add(this.checkBox4);
  840.             base.Controls.Add(this.checkBox7);
  841.             base.Controls.Add(this.label2);
  842.             base.Controls.Add(this.label1);
  843.             base.Controls.Add(this.simpleButton3);
  844.             base.Controls.Add(this.simpleButton2);
  845.             base.Controls.Add(this.simpleButton1);
  846.             base.Controls.Add(this.radioButton2);
  847.             base.Controls.Add(this.pictureBox1);
  848.             base.Controls.Add(this.barDockControlLeft);
  849.             base.Controls.Add(this.barDockControlRight);
  850.             base.Controls.Add(this.barDockControlBottom);
  851.             base.Controls.Add(this.barDockControlTop);
  852.             base.Icon = (Icon) manager.GetObject("$this.Icon");
  853.             base.LookAndFeel.SkinName = "Metropolis";
  854.             base.MaximizeBox = false;
  855.             base.Name = "AwesomeNonHost";
  856.             base.Opacity = 0.97;
  857.             base.StartPosition = FormStartPosition.CenterScreen;
  858.             this.Text = "Ghosts Non-Host Mods + AntiBan";
  859.             base.Load += new EventHandler(this.Form1_Load);
  860.             this.barManager1.EndInit();
  861.             ((ISupportInitialize) this.pictureBox1).EndInit();
  862.             base.ResumeLayout(false);
  863.             base.PerformLayout();
  864.         }
  865.  
  866.         private void label3_Click(object sender, EventArgs e)
  867.         {
  868.         }
  869.  
  870.         private void label8_Click(object sender, EventArgs e)
  871.         {
  872.         }
  873.  
  874.         private void radioButton1_CheckedChanged(object sender, EventArgs e)
  875.         {
  876.             this.EnableOthersBox(false);
  877.             PS3.ChangeAPI(SelectAPI.TargetManager);
  878.             if (this.radioButton1.Checked && !this.radioButton2.Checked)
  879.             {
  880.                 this.simpleButton1.Enabled = true;
  881.             }
  882.         }
  883.  
  884.         private void radioButton2_CheckedChanged(object sender, EventArgs e)
  885.         {
  886.             this.EnableOthersBox(false);
  887.             PS3.ChangeAPI(SelectAPI.ControlConsole);
  888.             if (!this.radioButton1.Checked && this.radioButton2.Checked)
  889.             {
  890.                 this.simpleButton1.Enabled = true;
  891.             }
  892.         }
  893.  
  894.         private void simpleButton1_Click(object sender, EventArgs e)
  895.         {
  896.             PS3.ConnectTarget(0);
  897.             if (PS3.ConnectTarget(0))
  898.             {
  899.                 string currentAPIName = PS3.GetCurrentAPIName();
  900.                 string str2 = "Target Manager";
  901.                 string str3 = "Control Console";
  902.                 if (currentAPIName == str2)
  903.                 {
  904.                     this.EnableOthersBox(true);
  905.                     XtraMessageBox.Show("You are now connected with this API : " + PS3.GetCurrentAPIName() + " Sir", "Connected!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  906.                     this.simpleButton1.ForeColor = Color.Lime;
  907.                     this.radioButton1.ForeColor = Color.Lime;
  908.                 }
  909.                 if (currentAPIName == str3)
  910.                 {
  911.                     this.EnableOthersBox(true);
  912.                     XtraMessageBox.Show("You are now connected with this API : " + PS3.GetCurrentAPIName() + " Sir", "Connected!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  913.                     this.simpleButton1.ForeColor = Color.Lime;
  914.                     this.radioButton2.ForeColor = Color.Lime;
  915.                 }
  916.             }
  917.             else
  918.             {
  919.                 this.EnableOthersBox(false);
  920.                 string text = "Unable to connect :(";
  921.                 XtraMessageBox.Show(text, "Error Connecting to PS3", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  922.                 this.simpleButton1.ForeColor = Color.Red;
  923.                 this.radioButton1.ForeColor = Color.Red;
  924.                 this.radioButton2.ForeColor = Color.Red;
  925.             }
  926.         }
  927.  
  928.         private void simpleButton2_Click(object sender, EventArgs e)
  929.         {
  930.             try
  931.             {
  932.                 PS3.AttachProcess();
  933.                 if (PS3.AttachProcess())
  934.                 {
  935.                     XtraMessageBox.Show("Game Attached Successfully ", "Attached!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  936.                 }
  937.                 this.simpleButton2.ForeColor = Color.Lime;
  938.                 this.label1.Visible = true;
  939.                 byte[] buffer = new byte[0x10];
  940.                 PS3.GetMemory(NameOffsetGhosts - 0x30, buffer);
  941.                 string str = Encoding.ASCII.GetString(buffer);
  942.                 this.label2.Text = str;
  943.                 PS3.CCAPI.Notify(CCAPI.NotifyIcon.TEXT, "Thank you for using my Tool <3 ImSooCool and ErasedDev");
  944.                 PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double);
  945.             }
  946.             catch
  947.             {
  948.                 XtraMessageBox.Show("Make Sure you are in the Game", "Error Attaching to PS3", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  949.                 this.simpleButton2.ForeColor = Color.Red;
  950.                 this.label1.Visible = false;
  951.             }
  952.         }
  953.  
  954.         private void simpleButton3_Click(object sender, EventArgs e)
  955.         {
  956.             Version version = null;
  957.             string fileName = "";
  958.             try
  959.             {
  960.                 string name = "";
  961.                 this.reader = new XmlTextReader("http://erasedde.5gbfree.com/nonhosttoolupdate.xml");
  962.                 this.reader.MoveToContent();
  963.                 if ((this.reader.NodeType == XmlNodeType.Element) && (this.reader.Name == "imsoocool"))
  964.                 {
  965.                     while (this.reader.Read())
  966.                     {
  967.                         if (this.reader.NodeType == XmlNodeType.Element)
  968.                         {
  969.                             name = this.reader.Name;
  970.                         }
  971.                         else
  972.                         {
  973.                             string str3;
  974.                             if (((this.reader.NodeType == XmlNodeType.Text) && this.reader.HasValue) && ((str3 = name) != null))
  975.                             {
  976.                                 if (!(str3 == "version"))
  977.                                 {
  978.                                     if (str3 == "url")
  979.                                     {
  980.                                         fileName = this.reader.Value;
  981.                                     }
  982.                                     continue;
  983.                                 }
  984.                                 version = new Version(this.reader.Value);
  985.                             }
  986.                         }
  987.                     }
  988.                 }
  989.             }
  990.             catch (Exception)
  991.             {
  992.             }
  993.             finally
  994.             {
  995.                 if (this.reader != null)
  996.                 {
  997.                     this.reader.Close();
  998.                 }
  999.             }
  1000.             if (Assembly.GetExecutingAssembly().GetName().Version < version)
  1001.             {
  1002.                 if (DialogResult.Yes == XtraMessageBox.Show("New Version Found! Do you wanna update now?", "New Update!", MessageBoxButtons.YesNo, MessageBoxIcon.Question))
  1003.                 {
  1004.                     Process.Start(fileName);
  1005.                 }
  1006.             }
  1007.             else
  1008.             {
  1009.                 XtraMessageBox.Show("No new updates! You have the latest version out :)");
  1010.             }
  1011.         }
  1012.  
  1013.         private void simpleButton4_Click(object sender, EventArgs e)
  1014.         {
  1015.             byte[] bytes = Encoding.ASCII.GetBytes(this.textBox1.Text);
  1016.             Array.Resize<byte>(ref bytes, bytes.Length + 1);
  1017.             PS3.SetMemory(NameOffsetGhosts, bytes);
  1018.         }
  1019.  
  1020.         private void simpleButton5_Click(object sender, EventArgs e)
  1021.         {
  1022.             this.FlashName.Start();
  1023.         }
  1024.  
  1025.         private void simpleButton6_Click(object sender, EventArgs e)
  1026.         {
  1027.             this.FlashName.Stop();
  1028.         }
  1029.  
  1030.         private void simpleButton7_Click(object sender, EventArgs e)
  1031.         {
  1032.             this.FlashPrestige.Start();
  1033.         }
  1034.  
  1035.         private void simpleButton8_Click(object sender, EventArgs e)
  1036.         {
  1037.             this.FlashPrestige.Stop();
  1038.         }
  1039.  
  1040.         private void timer1_Tick(object sender, EventArgs e)
  1041.         {
  1042.             if (this.mode == "ImSooCool Goes Right-to-Left LOL")
  1043.             {
  1044.                 if (this.xpos == 0)
  1045.                 {
  1046.                     this.pictureBox1.Location = new Point(base.Width, this.ypos);
  1047.                     this.xpos = base.Width;
  1048.                 }
  1049.                 else
  1050.                 {
  1051.                     this.pictureBox1.Location = new Point(this.xpos, this.ypos);
  1052.                     this.xpos -= 2;
  1053.                     this.xpos++;
  1054.                 }
  1055.             }
  1056.         }
  1057.  
  1058.         private void timer2_Tick(object sender, EventArgs e)
  1059.         {
  1060.             int num = new Random().Next(1, 6);
  1061.             byte[] bytes = Encoding.ASCII.GetBytes("^" + num + this.textBox1.Text);
  1062.             Array.Resize<byte>(ref bytes, bytes.Length + 1);
  1063.             PS3.SetMemory(NameOffsetGhosts, bytes);
  1064.             this.FlashName.Start();
  1065.         }
  1066.     }
  1067. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement