Advertisement
Guest User

Untitled

a guest
Dec 9th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. using System.Threading;
  11. using JRPC_Client;
  12. using XDevkit;
  13.  
  14. namespace NoInfectionUsers
  15. {
  16. public partial class Form1 : Form
  17. {
  18. IXboxConsole NoInfectionUsers;
  19.  
  20. public Form1()
  21. {
  22. Thread t = new Thread(new ThreadStart(SplashScreen));
  23. t.Start();
  24. Thread.Sleep(5000);
  25. InitializeComponent();
  26. t.Abort();
  27. }
  28.  
  29. public void SplashScreen()
  30. {
  31. Application.Run(new SplashScreen());
  32. }
  33.  
  34. private void Form1_Load(object sender, EventArgs e)
  35. {
  36.  
  37. }
  38.  
  39. private void getinfo(object sender, EventArgs e)
  40. {
  41. label1.Text = NoInfectionUsers.XamGetCurrentTitleId().ToString();
  42. label2.Text = NoInfectionUsers.GetTemperature(JRPC.TemperatureType.CPU).ToString();
  43. label3.Text = NoInfectionUsers.GetTemperature(JRPC.TemperatureType.GPU).ToString();
  44. label4.Text = NoInfectionUsers.GetKernalVersion().ToString();
  45. }
  46.  
  47. private void tabPage2_Click(object sender, EventArgs e)
  48. {
  49.  
  50. }
  51.  
  52. private void flatButton1_Click(object sender, EventArgs e)
  53. {
  54. if (NoInfectionUsers.Connect(out NoInfectionUsers))
  55. {
  56. NoInfectionUsers.XNotify("Welcome to my first ever tool! <3");
  57. NoInfectionUsers.XNotify("NoInfectionUser <3");
  58. MessageBox.Show("Connected Nigga!");
  59. }
  60. else
  61. {
  62. MessageBox.Show("Mission Failed");
  63. }
  64. }
  65.  
  66.  
  67.  
  68. private void flatGroupBox1_Click(object sender, EventArgs e)
  69. {
  70.  
  71. }
  72.  
  73. private void flatLabel2_Click(object sender, EventArgs e)
  74. {
  75.  
  76. }
  77.  
  78. private void flatLabel5_Click(object sender, EventArgs e)
  79. {
  80.  
  81. }
  82.  
  83. private void flatLabel1_Click(object sender, EventArgs e)
  84. {
  85.  
  86. }
  87.  
  88. private void flatButton2_Click_1(object sender, EventArgs e) //Redboxes On
  89. {
  90. NoInfectionUsers.WriteByte(0x821f5b7f, 1);
  91. MessageBox.Show("Redboxes Toggled");
  92. }
  93.  
  94. private void flatButton3_Click_1(object sender, EventArgs e) //Redboxes Off
  95. {
  96. NoInfectionUsers.WriteByte(0x821f5b7f, 0);
  97. MessageBox.Show("Redboxes Disabled");
  98. }
  99.  
  100. private void flatButton4_Click_1(object sender, EventArgs e) //Charms On
  101. {
  102. NoInfectionUsers.SetMemory(0x821fc04c, new byte[] { 0x38, 0xc0, 0xff, 0xff });
  103. }
  104.  
  105. private void flatButton5_Click_1(object sender, EventArgs e) //Charms Off
  106. {
  107. NoInfectionUsers.SetMemory(0x821fc04c, new byte[] { 0x7f, 0xa6, 0xeb, 120 });
  108. }
  109.  
  110. private void flatButton6_Click(object sender, EventArgs e) //Orbital VSAT Off
  111. {
  112. NoInfectionUsers.WriteByte(0x82259BC8, 0x0);
  113. }
  114.  
  115. private void flatButton7_Click(object sender, EventArgs e) //No Recoil On
  116. {
  117. NoInfectionUsers.SetMemory(0x82259BC8, new byte[] { 0x60, 0x00, 0x00, 0x00 });
  118. }
  119.  
  120. private void flatButton8_Click(object sender, EventArgs e)
  121. {
  122. NoInfectionUsers.SetMemory(0x82259BC8, new byte[] { 0x48, 0x46, 0x13, 0x4 }); //No Recoil Off
  123. }
  124.  
  125. private void flatButton9_Click(object sender, EventArgs e)
  126. {
  127. NoInfectionUsers.XNotify("ScreenShotted");
  128. string a = Application.StartupPath + "\\Xboxscreenshot.bmp";
  129. if (!System.IO.Directory.Exists(Application.StartupPath + "\\xboxscreenshots"))
  130. System.IO.Directory.CreateDirectory(Application.StartupPath + "\\xboxscreenshots.bmp");
  131. NoInfectionUsers.ScreenShot(a);
  132. System.Diagnostics.Process.Start(Application.StartupPath + "\\xboxscreenshot.bmp");
  133. }
  134.  
  135. private void tabPage1_Click(object sender, EventArgs e)
  136. {
  137.  
  138. }
  139.  
  140. private void button1_Click(object sender, EventArgs e)
  141. {
  142. NoInfectionUsers.XNotify("" + textn.Text);
  143. }
  144.  
  145. private void groupBox1_Enter(object sender, EventArgs e)
  146. {
  147.  
  148. }
  149.  
  150. private void flatButton10_Click(object sender, EventArgs e)
  151. {
  152. label1.Text = NoInfectionUsers.XamGetCurrentTitleId().ToString();
  153. label2.Text = NoInfectionUsers.GetTemperature(JRPC.TemperatureType.CPU).ToString();
  154. label3.Text = NoInfectionUsers.GetTemperature(JRPC.TemperatureType.GPU).ToString();
  155. label4.Text = NoInfectionUsers.GetKernalVersion().ToString();
  156. }
  157.  
  158. private void flatButton11_Click(object sender, EventArgs e)
  159. {
  160. NoInfectionUsers.WriteByte(0x82259BC8, 0x1); //Orbital VSAT On
  161. }
  162.  
  163. private void textn_TextChanged(object sender, EventArgs e)
  164. {
  165.  
  166. }
  167.  
  168. public byte[] WideChar(string text)
  169. {
  170. byte[] array = new byte[text.Length * 2 + 2];
  171. int num = 1;
  172. array[0] = 0;
  173. for (int i = 0; i < text.Length; i++)
  174. {
  175. char value = text[i];
  176. array[num] = Convert.ToByte(value);
  177. num += 2;
  178. }
  179. return array;
  180. }
  181.  
  182. private void flatButton12_Click(object sender, EventArgs e)
  183. {
  184. //Class 2
  185. NoInfectionUsers.SetMemory(0x84353AA2, new byte[] { 0x10, 0x7A });
  186.  
  187. //Class 4
  188. NoInfectionUsers.SetMemory(0x84353B0B, new byte[] { 0x10, 0x7A });
  189.  
  190. //Class 6
  191. NoInfectionUsers.SetMemory(0x84353B74, new byte[] { 0x10, 0x7A });
  192.  
  193. //Class 8
  194. NoInfectionUsers.SetMemory(0x84353BDD, new byte[] { 0x10, 0x7A });
  195.  
  196. //Class 10
  197. NoInfectionUsers.SetMemory(0x84353C46, new byte[] { 0x10, 0x7A });
  198. }
  199.  
  200. private void textBox1_TextChanged(object sender, EventArgs e)
  201. {
  202.  
  203. }
  204.  
  205.  
  206. private void button2_Click(object sender, EventArgs e)
  207. {
  208. JRPC.SetMemory(NoInfectionUsers, 0xc035261c, this.WideChar(textBox1.Text));
  209. }
  210.  
  211. private void flatButton15_Click_1(object sender, EventArgs e)
  212. {
  213. NoInfectionUsers.SetMemory(0x826BB50C, new byte[] { 0x39, 0x60, 0x00, 0x02 });
  214. }
  215.  
  216. private void flatButton16_Click_1(object sender, EventArgs e)
  217. {
  218. NoInfectionUsers.SetMemory(0x826BB50C, new byte[] { 0x81, 0x7B, 0x01, 0xEC });
  219. }
  220.  
  221. private void flatButton18_Click(object sender, EventArgs e)
  222. {
  223. NoInfectionUsers.SetMemory(0x821F608C, new byte[] { 0x41, 0x99, 00, 0xC8 });
  224. }
  225.  
  226. private void flatButton17_Click(object sender, EventArgs e)
  227. {
  228. NoInfectionUsers.SetMemory(0x821F608C, new byte[] { 0x60, 00, 00, 00 });
  229. }
  230.  
  231. private void flatButton19_Click(object sender, EventArgs e)
  232. {
  233.  
  234. }
  235.  
  236. private void formSkin1_Click(object sender, EventArgs e)
  237. {
  238.  
  239. }
  240. }
  241. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement