Advertisement
BaSs_HaXoR

Sticky's Unnamed/released MW3 Modmenu (Open Source)

Jul 23rd, 2014
530
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.30 KB | None | 0 0
  1. // Download: http://adf.ly/rt5Ic
  2. //PwN3D
  3.  
  4.  
  5. //Modmenu.cs
  6. using System;
  7. using System.Threading;
  8. namespace MW3_Mod_Menu
  9. {/*
  10. * °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
  11. * °°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°PwN3D°°°°°°°°°°
  12. ____ __ __ __ __ __ ____
  13. /\ _`\ /\ \ __/\ \/\ \/\ \ /'__`\ /\ _`\
  14. \ \ \L\ \ \ \/\ \ \ \ \ `\\ \/\_\L\ \\ \ \/\ \
  15. \ \ ,__/\ \ \ \ \ \ \ \ , ` \/_/_\_<_\ \ \ \ \
  16. \ \ \/ \ \ \_/ \_\ \ \ \`\ \/\ \L\ \\ \ \_\ \
  17. \ \_\ \ `\___x___/\ \_\ \_\ \____/ \ \____/
  18. \/_/ '\/__//__/ \/_/\/_/\/___/ \/___/
  19.  
  20. * _ _ _
  21. / /\ /\ \ /\_\ _
  22. / / \\ \ \ / / //\_\
  23. / / /\ \\ \ \_/ / / \/_/
  24. / / /\ \ \\ \___/ /
  25. / / /\ \_\ \\ \ \_/
  26. / / /\ \ \___\\ \ \
  27. / / / \ \ \__/ \ \ \ _
  28. / / /____\_\ \ \ \ \ /_/\
  29. / / /__________\ \ \_\ \_\/
  30. \/_____________/ \/_/
  31. °
  32. _____ _____ _____ _____ _____ _____ _______ _____
  33. /\ \ /\ \ /\ \ /\ \ /\ \ /\ \ ______ /::\ \ /\ \
  34. /::\ \ /::\ \ /::\ \ /::\ \ /::\____\ /::\ \ |::| | /::::\ \ /::\ \
  35. /::::\ \ /::::\ \ /::::\ \ /::::\ \ /:::/ / /::::\ \ |::| | /::::::\ \ /::::\ \
  36. /::::::\ \ /::::::\ \ /::::::\ \ /::::::\ \ /:::/ / /::::::\ \ |::| | /::::::::\ \ /::::::\ \
  37. /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/ / /:::/\:::\ \ |::| | /:::/~~\:::\ \ /:::/\:::\ \
  38. /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/____/ /:::/__\:::\ \ |::| | /:::/ \:::\ \ /:::/__\:::\ \
  39. /::::\ \:::\ \ /::::\ \:::\ \ \:::\ \:::\ \ \:::\ \:::\ \ /::::\ \ /::::\ \:::\ \ |::| | /:::/ / \:::\ \ /::::\ \:::\ \
  40. /::::::\ \:::\ \ /::::::\ \:::\ \ ___\:::\ \:::\ \ ___\:::\ \:::\ \ /::::::\ \ _____ /::::::\ \:::\ \ |::| | /:::/____/ \:::\____\ /::::::\ \:::\ \
  41. /:::/\:::\ \:::\ ___\ /:::/\:::\ \:::\ \ /\ \:::\ \:::\ \ /\ \:::\ \:::\ \ /:::/\:::\ \ /\ \ /:::/\:::\ \:::\ \ ______|::|___|___ ____ |:::| | |:::| | /:::/\:::\ \:::\____\
  42. /:::/__\:::\ \:::| |/:::/ \:::\ \:::\____\/::\ \:::\ \:::\____\/::\ \:::\ \:::\____\/:::/ \:::\ /::\____\/:::/ \:::\ \:::\____\|:::::::::::::::::| ||:::|____| |:::| |/:::/ \:::\ \:::| |
  43. \:::\ \:::\ /:::|____|\::/ \:::\ /:::/ /\:::\ \:::\ \::/ /\:::\ \:::\ \::/ /\::/ \:::\ /:::/ /\::/ \:::\ /:::/ /|:::::::::::::::::|____| \:::\ \ /:::/ / \::/ |::::\ /:::|____|
  44. \:::\ \:::\/:::/ / \/____/ \:::\/:::/ / \:::\ \:::\ \/____/ \:::\ \:::\ \/____/ \/____/ \:::\/:::/ / \/____/ \:::\/:::/ / ~~~~~~|::|~~~|~~~ \:::\ \ /:::/ / \/____|:::::\/:::/ /
  45. \:::\ \::::::/ / \::::::/ / \:::\ \:::\ \ \:::\ \:::\ \ \::::::/ / \::::::/ / |::| | \:::\ /:::/ / |:::::::::/ /
  46. \:::\ \::::/ / \::::/ / \:::\ \:::\____\ \:::\ \:::\____\ \::::/ / \::::/ / |::| | \:::\__/:::/ / |::|\::::/ /
  47. \:::\ /:::/ / /:::/ / \:::\ /:::/ / \:::\ /:::/ / /:::/ / /:::/ / |::| | \::::::::/ / |::| \::/____/
  48. \:::\/:::/ / /:::/ / \:::\/:::/ / \:::\/:::/ / /:::/ / /:::/ / |::| | \::::::/ / |::| ~|
  49. \::::::/ / /:::/ / \::::::/ / \::::::/ / /:::/ / /:::/ / |::| | \::::/ / |::| |
  50. \::::/ / /:::/ / \::::/ / \::::/ / /:::/ / /:::/ / |::| | \::/____/ \::| |
  51. \::/____/ \::/ / \::/ / \::/ / \::/ / \::/ / |::|___| ~~ \:| |
  52. ~~ \/____/ \/____/ \/____/ \/____/ \/____/ ~~ \|___|
  53.  
  54. *
  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
  62.  
  63.  
  64.  
  65.  
  66. *
  67. *
  68. ::: ::::::::
  69. :+: :+: :+:
  70. +:+ +:+
  71. +#+ +#++:
  72. +#+ +#+
  73. #+# #+# #+#
  74. ### ######## _ _ _
  75. | | | | | |
  76. _ _ _ __ ___ _ __ ___ _ __ _ _ _ __ | |_ ___ __| | | |__ ___ ___ __ _ _ _ ___ ___ __ _____ ___ __ _ _ __ ___
  77. | | | | '_ \ / _ \ '_ \ / __| '__| | | | '_ \| __/ _ \/ _` | | '_ \ / _ \/ __/ _` | | | / __|/ _ \ \ \ /\ / / _ \ / __/ _` | '__/ _ \
  78. | |_| | | | | __/ | | | (__| | | |_| | |_) | || __/ (_| | | |_) | __/ (_| (_| | |_| \__ \ __/ \ V V / __/ | (_| (_| | | | __/
  79. \__,_|_| |_|\___|_| |_|\___|_| \__, | .__/ \__\___|\__,_| |_.__/ \___|\___\__,_|\__,_|___/\___| \_/\_/ \___| \___\__,_|_| \___|
  80. __/ | |
  81. |___/|_|
  82. ::: ::::::::
  83. :+: :+: :+:
  84. +:+ +:+
  85. +#+ +#++:
  86. +#+ +#+
  87. #+# #+# #+#
  88. ### ########
  89. */
  90. internal class ModMenu
  91. {
  92. public class SubMenus
  93. {
  94. public static string MainMenu = "Account Menu\nVisions Menu\nWeapons Menu\nBullet Menu\nModels Menu\nAimbot Menu\nModifications\nFun Menu\nTeleport Menu\nPlayers Menu\nAll Players\nHost Menu\nGame Settings\nGametype Menu\nTheme Selector";
  95. public static string AccountMenu = "Suicide\nColor Classes\nClan Tag Editor\nThird Person\n15 Custom Classes\nUnlock All\nLevel 80\nChoose Prestige";
  96. public static string VisionMenu = "Default\nThermal\nChaplin Night\nCobra Sunset\nAC-130\nCheat Inverted\nOilrig\nWaterfall";
  97. public static string WeaponsMenu = "Default Weapon\nAC-130 105mm\nAC-130 40mm\nAC-130 25mm\nG Launcher\nMW2 AUG\nDesert Eagle\nNaked Barrett\nNaked MSR";
  98. public static string ModelMenu = "Normal\nCarepackage\nNeutral Flag\nAC-130\nDev Sphere\nRed Dev Sphere\nJuggernaut\nChicken (Seatown)";
  99. public static string BulletMenu = "Harrier Missles\nHarrier 20mm\nCobra 20mm\nLittlebird 20mm\nOsprey Bullets\nIMS Bullets\nAGR Missles";
  100. public static string Modifications = "Unlimited Ammo\nUFO Mode\nNoclip\nToggle FOV\nAll Perks\nNight Vision\nWallhack\nExplosive Bullets\nClone\nJetpack\nJavi Rain";
  101. public static string FunMenu = "Forge Mode\nEdit Dvar\nToggle Team\nLeft Gun\nDouble Jump\nDolphin Dive\nMake Gun Gold\nCycle Camo\nSpin Mode\nDrugs";
  102. public static string GameOptions = "Doheart\nNewsbar\nRestart\nUnlimited\nForce Host\nToggle Join\nJump Height\nRun Speed\nGravity\nTimescale\nBig XP";
  103. public static string Gametypes = "Team Deathmatch\nFree For All\nSearch & Destroy\nDomination\nCapture The Flag\nDemolition\nKill Confirmed\nGun Game\nOne In The Chamber\nOne Flag CTF\nArena";
  104. public static string Players = "";
  105. public static string AimbotMenu = "Fair Aimbot\nAiming Required\nUnfair Aimbot";
  106. public static string Teleport = "Teleport To Sky\nAll To Sky\nTeleport To Me\nTeleport To Nearest\nTeleport Nearest To Me\nSave Position\nLoad Position";
  107. public static string Stats = "Insane Stats\nHigh Stats\nModerate Stats\nLegit Stats\nLow Stats\nReset Account";
  108. public static string AllPlayers = "UFO Mode\nUnlimited Ammo\nAll Perks\nDrugs\nSpin Mode\nKick\nFake Derank\nFake Rank Up";
  109. public static string PlayersMods = "UFO Mode\nUnlimited Ammo\nAll Perks\nDrugs\nSpin Mode\nKick\nFake Derank\nFake Rank Up\nGive V.I.P\nGive Admin\nGive Co-Host";
  110. public static string Host = "God Mode\nInvisible\nMelee Range\nRed Boxes\nLaser\nChrome Players\nNo Recoil\nRapid Fire\nSpeed X2\nAdvertise\nChange Name";
  111. public static string Theme = "NextGenUpdate Theme\nSe7ensins Theme\nTree Patch Theme\nToggle Scroller Color\nToggle Shader Color\nReset Theme";
  112. }
  113. public static bool[] DoubleJump = new bool[Functions.GetActiveClients()];
  114. public static bool[] FairAimbot = new bool[Functions.GetActiveClients()];
  115. public static bool[] UnfairAimbot = new bool[Functions.GetActiveClients()];
  116. public static bool[] AimingRequired = new bool[Functions.GetActiveClients()];
  117. public static bool[] Jetpack = new bool[Functions.GetActiveClients()];
  118. public static bool[] DrugsMode = new bool[Functions.GetActiveClients()];
  119. public static bool[] SpinMode = new bool[Functions.GetActiveClients()];
  120. public static bool[] ForgeMode = new bool[Functions.GetActiveClients()];
  121. public static bool[] CycleCamo = new bool[Functions.GetActiveClients()];
  122. public static bool[] MenuOpen = new bool[Functions.GetActiveClients()];
  123. public static int[] Scroll = new int[Functions.GetActiveClients()];
  124. public static int[] MaxScroll = new int[Functions.GetActiveClients()];
  125. public static int[] Ver = new int[Functions.GetActiveClients()];
  126. public static int[] SelectedClient = new int[Functions.GetActiveClients()];
  127. public static int[] Back = new int[Functions.GetActiveClients()];
  128. public static string[] SubMenu = new string[Functions.GetActiveClients()];
  129. public static uint[] BG = new uint[Functions.GetActiveClients()];
  130. public static uint[] Scroller = new uint[Functions.GetActiveClients()];
  131. public static uint[] Title = new uint[Functions.GetActiveClients()];
  132. public static uint[] Text = new uint[Functions.GetActiveClients()];
  133. public static uint[] Controls = new uint[Functions.GetActiveClients()];
  134. public static uint[] Line = new uint[Functions.GetActiveClients()];
  135. public static void BooleanToggle(int client, bool[] Mod, string ModName)
  136. {
  137. if (!Mod[client])
  138. {
  139. Mod[client] = true;
  140. Functions.iPrintln(client, ModName + ": ^2On");
  141. }
  142. else
  143. {
  144. Mod[client] = false;
  145. Functions.iPrintln(client, ModName + ": ^1Off");
  146. }
  147. }
  148. public static string Key_IsDown(int client)
  149. {
  150. byte[] value = new byte[3];
  151. PS3.GetMemory((uint)(17880545 + 14720 * client), ref value);
  152. string text = BitConverter.ToString(value);
  153. string text2 = text.Replace("-", "");
  154. string text3 = text2.Replace(" ", "");
  155. string text4 = text3;
  156. string result;
  157. if (text4 == "000000")
  158. {
  159. result = "NONE";
  160. }
  161. else
  162. {
  163. if (text4 == "000400")
  164. {
  165. result = "X";
  166. }
  167. else
  168. {
  169. if (text4 == "000020")
  170. {
  171. result = "[ ]";
  172. }
  173. else
  174. {
  175. if (text4 == "000200")
  176. {
  177. result = "Crouch";
  178. }
  179. else
  180. {
  181. if (text4 == "000100")
  182. {
  183. result = "Prone";
  184. }
  185. else
  186. {
  187. if (text4 == "000400")
  188. {
  189. result = "X";
  190. }
  191. else
  192. {
  193. if (text4 == "000004")
  194. {
  195. result = "R3";
  196. }
  197. else
  198. {
  199. if (text4 == "002002")
  200. {
  201. result = "L3";
  202. }
  203. else
  204. {
  205. if (text4 == "004000")
  206. {
  207. result = "R2";
  208. }
  209. else
  210. {
  211. if (text4 == "008000")
  212. {
  213. result = "L2";
  214. }
  215. else
  216. {
  217. if (text4 == "080800")
  218. {
  219. result = "L1";
  220. }
  221. else
  222. {
  223. if (text4 == "000001")
  224. {
  225. result = "R1";
  226. }
  227. else
  228. {
  229. if (text4 == "002006")
  230. {
  231. result = "R3 + L3";
  232. }
  233. else
  234. {
  235. if (text4 == "000204")
  236. {
  237. result = "R3";
  238. }
  239. else
  240. {
  241. if (text4 == "002202")
  242. {
  243. result = "L3";
  244. }
  245. else
  246. {
  247. if (text4 == "004200")
  248. {
  249. result = "R2";
  250. }
  251. else
  252. {
  253. if (text4 == "008200")
  254. {
  255. result = "L2";
  256. }
  257. else
  258. {
  259. if (text4 == "00C100")
  260. {
  261. result = "Prone + R2 + L2";
  262. }
  263. else
  264. {
  265. if (text4 == "00C000")
  266. {
  267. result = "R2 + L2";
  268. }
  269. else
  270. {
  271. result = text4;
  272. }
  273. }
  274. }
  275. }
  276. }
  277. }
  278. }
  279. }
  280. }
  281. }
  282. }
  283. }
  284. }
  285. }
  286. }
  287. }
  288. }
  289. }
  290. }
  291. return result;
  292. }
  293. public static void StoreMenu(int client)
  294. {
  295. if (Functions.cl_ingame())
  296. {
  297. ModMenu.BG[client] = HudElems.SetShader(client, 2, 300f, 1000f, 470f, 0f, 0, 0, 0, 0);
  298. ModMenu.Scroller[client] = HudElems.SetShader(client, 2, 300f, 16f, 470f, 80f, 0, 0, 0, 0);
  299. ModMenu.Title[client] = HudElems.SetText(client, "Main Menu", 6, 1.0, 480f, 50f, 255, 255, 255, 0, 255, 0, 0, 255);
  300. ModMenu.Text[client] = HudElems.SetText(client, ModMenu.SubMenus.MainMenu, 4, 1.25, 480f, 80f, 255, 255, 255, 0, 0, 0, 0, 0);
  301. ModMenu.Controls[client] = HudElems.SetText(client, "[{+attack}]/[{+speed_throw}]: Scroll\n[{+gostand}]: Select\n[{+usereload}]: Back", 4, 1.25, 480f, 400f, 255, 255, 255, 0, 0, 0, 0, 0);
  302. ModMenu.Line[client] = HudElems.SetShader(client, 1, 1f, 1000f, 470f, 0f, 255, 255, 255, 0);
  303. Functions.SaveOriginalModel(client);
  304. }
  305. }
  306. public static void OpenMenu(int client)
  307. {
  308. HudElems.FadeAlphaOverTime(ModMenu.BG[client], 1000, 0, 180);
  309. HudElems.FadeAlphaOverTime(ModMenu.Scroller[client], 1000, 0, 255);
  310. HudElems.FadeAlphaOverTime(ModMenu.Title[client], 1000, 0, 255);
  311. HudElems.FadeAlphaOverTime(ModMenu.Text[client], 1000, 0, 255);
  312. HudElems.FadeAlphaOverTime(ModMenu.Controls[client], 1000, 0, 255);
  313. HudElems.FadeAlphaOverTime(ModMenu.Line[client], 1000, 0, 255);
  314. PS3.SetMemory((uint)(17881215 + 14720 * client), new byte[]
  315. {
  316. 4
  317. });
  318. }
  319. public static void CloseMenu(int client)
  320. {
  321. uint arg_16_0 = (uint)(17881215 + 14720 * client);
  322. byte[] bytes = new byte[1];
  323. PS3.SetMemory(arg_16_0, bytes);
  324. HudElems.FadeAlphaOverTime(ModMenu.BG[client], 1000, 180, 0);
  325. HudElems.FadeAlphaOverTime(ModMenu.Scroller[client], 1000, 255, 0);
  326. HudElems.FadeAlphaOverTime(ModMenu.Title[client], 1000, 255, 0);
  327. HudElems.FadeAlphaOverTime(ModMenu.Text[client], 1000, 255, 0);
  328. HudElems.FadeAlphaOverTime(ModMenu.Controls[client], 1000, 255, 0);
  329. HudElems.FadeAlphaOverTime(ModMenu.Line[client], 1000, 255, 0);
  330. }
  331. public static void MoveScroller(int client)
  332. {
  333. HudElems.MoveShaderY(ModMenu.Scroller[client], 80f + (float)ModMenu.Scroll[client] * 15.65f);
  334. }
  335. public static void ChangeSubMenu(int client, string SubMenuOptions, int maxScroll, string SubMenuName, int BackNum)
  336. {
  337. HudElems.FadeAlphaOverTime(ModMenu.Text[client], 250, 255, 0);
  338. HudElems.FadeAlphaOverTime(ModMenu.Title[client], 250, 255, 0);
  339. HudElems.ChangeText(ModMenu.Text[client], SubMenuOptions);
  340. ModMenu.SubMenu[client] = SubMenuName;
  341. HudElems.ChangeText(ModMenu.Title[client], ModMenu.SubMenu[client] + " Menu");
  342. HudElems.MoveOverTime(ModMenu.Scroller[client], 250f, 470f, 80f);
  343. HudElems.FadeAlphaOverTime(ModMenu.Title[client], 250, 0, 255);
  344. HudElems.FadeAlphaOverTime(ModMenu.Text[client], 250, 0, 255);
  345. ModMenu.Scroll[client] = 0;
  346. ModMenu.Back[client] = BackNum;
  347. ModMenu.MaxScroll[client] = maxScroll;
  348. ModMenu.SubMenu[client] = SubMenuName;
  349. Thread.Sleep(1000);
  350. }
  351. public static void BackToMain(int client)
  352. {
  353. HudElems.FadeAlphaOverTime(ModMenu.Text[client], 250, 255, 0);
  354. HudElems.FadeAlphaOverTime(ModMenu.Title[client], 250, 255, 0);
  355. HudElems.ChangeText(ModMenu.Text[client], ModMenu.SubMenus.MainMenu);
  356. ModMenu.SubMenu[client] = "Main";
  357. HudElems.ChangeText(ModMenu.Title[client], ModMenu.SubMenu[client] + " Menu");
  358. HudElems.MoveOverTime(ModMenu.Scroller[client], 250f, 470f, 80f + (float)ModMenu.Back[client] * 15.65f);
  359. HudElems.FadeAlphaOverTime(ModMenu.Title[client], 250, 0, 255);
  360. HudElems.FadeAlphaOverTime(ModMenu.Text[client], 250, 0, 255);
  361. ModMenu.Scroll[client] = ModMenu.Back[client];
  362. ModMenu.MaxScroll[client] = 14;
  363. ModMenu.SubMenu[client] = "Main";
  364. }
  365. public static void HostMenu(int client)
  366. {
  367. string text = ModMenu.Key_IsDown(client);
  368. if (text != null)
  369. {
  370. if (!(text == "R3"))
  371. {
  372. if (!(text == "[ ]"))
  373. {
  374. if (!(text == "R1"))
  375. {
  376. if (!(text == "L1"))
  377. {
  378. if (text == "X")
  379. {
  380. if (ModMenu.MenuOpen[client])
  381. {
  382. if (ModMenu.SubMenu[client] == "Main")
  383. {
  384. if (ModMenu.Scroll[client] == 0)
  385. {
  386. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.AccountMenu, 7, "Account", 0);
  387. }
  388. if (ModMenu.Scroll[client] == 1)
  389. {
  390. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.VisionMenu, 7, "Visions", 1);
  391. }
  392. if (ModMenu.Scroll[client] == 2)
  393. {
  394. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.WeaponsMenu, 8, "Weapon", 2);
  395. }
  396. if (ModMenu.Scroll[client] == 3)
  397. {
  398. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.BulletMenu, 6, "Bullet", 3);
  399. }
  400. if (ModMenu.Scroll[client] == 4)
  401. {
  402. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.ModelMenu, 7, "Models", 4);
  403. }
  404. if (ModMenu.Scroll[client] == 5)
  405. {
  406. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.AimbotMenu, 2, "Aimbot", 5);
  407. }
  408. if (ModMenu.Scroll[client] == 6)
  409. {
  410. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Modifications, 10, "Mods", 6);
  411. }
  412. if (ModMenu.Scroll[client] == 7)
  413. {
  414. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.FunMenu, 9, "Fun", 8);
  415. }
  416. if (ModMenu.Scroll[client] == 8)
  417. {
  418. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Teleport, 6, "Teleport", 8);
  419. }
  420. if (ModMenu.Scroll[client] == 9)
  421. {
  422. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Players, 17, "Players", 9);
  423. }
  424. if (ModMenu.Scroll[client] == 10)
  425. {
  426. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.AllPlayers, 7, "All Players", 10);
  427. }
  428. if (ModMenu.Scroll[client] == 11)
  429. {
  430. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Host, 9, "Host", 11);
  431. }
  432. if (ModMenu.Scroll[client] == 12)
  433. {
  434. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.GameOptions, 10, "Settings", 12);
  435. }
  436. if (ModMenu.Scroll[client] == 13)
  437. {
  438. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Gametypes, 10, "Gametype", 13);
  439. }
  440. if (ModMenu.Scroll[client] == 14)
  441. {
  442. ModMenu.ChangeSubMenu(client, ModMenu.SubMenus.Theme, 5, "Theme", 14);
  443. }
  444. }
  445. if (ModMenu.SubMenu[client] == "Account")
  446. {
  447. if (ModMenu.Scroll[client] == 0)
  448. {
  449. }
  450. if (ModMenu.Scroll[client] == 1)
  451. {
  452. }
  453. if (ModMenu.Scroll[client] == 2)
  454. {
  455. }
  456. if (ModMenu.Scroll[client] == 3)
  457. {
  458. Functions.thirdPerson(client);
  459. }
  460. if (ModMenu.Scroll[client] == 4)
  461. {
  462. }
  463. if (ModMenu.Scroll[client] == 5)
  464. {
  465. Functions.FakeUnlockAll(client);
  466. }
  467. if (ModMenu.Scroll[client] == 6)
  468. {
  469. }
  470. if (ModMenu.Scroll[client] == 7)
  471. {
  472. Functions.TogglePrestige(client);
  473. }
  474. }
  475. if (ModMenu.SubMenu[client] == "Visions")
  476. {
  477. if (ModMenu.Scroll[client] == 0)
  478. {
  479. Functions.SetVision(client, "default_mp", 1);
  480. }
  481. if (ModMenu.Scroll[client] == 1)
  482. {
  483. Functions.SetVision(client, "ac130_thermal", 1);
  484. }
  485. if (ModMenu.Scroll[client] == 2)
  486. {
  487. Functions.SetVision(client, "cheat_chaplinnight", 1);
  488. }
  489. if (ModMenu.Scroll[client] == 3)
  490. {
  491. Functions.SetVision(client, "cobra_sunset2", 1);
  492. }
  493. if (ModMenu.Scroll[client] == 4)
  494. {
  495. Functions.SetVision(client, "ac130", 1);
  496. }
  497. if (ModMenu.Scroll[client] == 5)
  498. {
  499. Functions.SetVision(client, "cheat_bw_invert_contrast", 1);
  500. }
  501. if (ModMenu.Scroll[client] == 6)
  502. {
  503. Functions.SetVision(client, "oilrig_underwater", 1);
  504. }
  505. if (ModMenu.Scroll[client] == 7)
  506. {
  507. }
  508. }
  509. if (ModMenu.SubMenu[client] == "Weapon")
  510. {
  511. if (ModMenu.Scroll[client] == 0)
  512. {
  513. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.defaultweapon_mp);
  514. Functions.iPrintln(client, "Default Weapon");
  515. }
  516. if (ModMenu.Scroll[client] == 1)
  517. {
  518. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.ac130_105mm_mp);
  519. Functions.iPrintln(client, "AC-130 105mm");
  520. }
  521. if (ModMenu.Scroll[client] == 2)
  522. {
  523. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.ac130_40mm_mp);
  524. Functions.iPrintln(client, "AC-130 40mm");
  525. }
  526. if (ModMenu.Scroll[client] == 3)
  527. {
  528. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.ac130_25mm_mp);
  529. Functions.iPrintln(client, "AC-130 25mm");
  530. }
  531. if (ModMenu.Scroll[client] == 4)
  532. {
  533. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.iw5_gl_mp);
  534. Functions.iPrintln(client, "G Launcher");
  535. }
  536. if (ModMenu.Scroll[client] == 5)
  537. {
  538. Functions.iPrintln(client, "MW2 AUG");
  539. }
  540. if (ModMenu.Scroll[client] == 6)
  541. {
  542. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.iw5_deserteagle_mp);
  543. Functions.iPrintln(client, "Desert Eagle");
  544. }
  545. if (ModMenu.Scroll[client] == 7)
  546. {
  547. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.iw5_barrett_mp);
  548. Functions.iPrintln(client, "Naked Barrett");
  549. }
  550. if (ModMenu.Scroll[client] == 8)
  551. {
  552. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.iw5_msr_mp);
  553. Functions.iPrintln(client, "Naked MSR");
  554. }
  555. }
  556. if (ModMenu.SubMenu[client] == "Bullet")
  557. {
  558. if (ModMenu.Scroll[client] == 0)
  559. {
  560. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.harrier_missile_mp);
  561. Functions.iPrintln(client, "Harrier Missles");
  562. }
  563. if (ModMenu.Scroll[client] == 1)
  564. {
  565. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.harrier_ffar_mp);
  566. Functions.iPrintln(client, "Harrier 20mm");
  567. }
  568. if (ModMenu.Scroll[client] == 2)
  569. {
  570. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.cobra_20mm_mp);
  571. Functions.iPrintln(client, "Cobra 20mm");
  572. }
  573. if (ModMenu.Scroll[client] == 3)
  574. {
  575. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.littlebird_20mm_mp);
  576. Functions.iPrintln(client, "Littlebird 20mm");
  577. }
  578. if (ModMenu.Scroll[client] == 4)
  579. {
  580. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.osprey_minigun_mp);
  581. Functions.iPrintln(client, "Osprey Bullets");
  582. }
  583. if (ModMenu.Scroll[client] == 5)
  584. {
  585. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.ims_projectile_mp);
  586. Functions.iPrintln(client, "IMS Bullets");
  587. }
  588. if (ModMenu.Scroll[client] == 6)
  589. {
  590. Functions.Weapons.GiveWeapon(client, Offsets.Weapons.remotemissile_projectile_mp);
  591. Functions.iPrintln(client, "AGR Bullets");
  592. }
  593. }
  594. if (ModMenu.SubMenu[client] == "Models")
  595. {
  596. if (ModMenu.Scroll[client] == 0)
  597. {
  598. Functions.ChangeModel(client, Functions.SavedModel);
  599. Functions.iPrintlnBold(client, "Model: ^2Default");
  600. }
  601. if (ModMenu.Scroll[client] == 1)
  602. {
  603. Functions.SetModel(client, "com_plasticcase_green_big_us_dirt", "Carepackage");
  604. }
  605. if (ModMenu.Scroll[client] == 2)
  606. {
  607. Functions.SetModel(client, "prop_flag_neutral", "Flag");
  608. }
  609. if (ModMenu.Scroll[client] == 3)
  610. {
  611. Functions.SetModel(client, "vehicle_ac130_coop", "AC-130");
  612. }
  613. if (ModMenu.Scroll[client] == 4)
  614. {
  615. Functions.SetModel(client, "dev_sphere", "Dev Sphere");
  616. }
  617. if (ModMenu.Scroll[client] == 5)
  618. {
  619. Functions.SetModel(client, "dev_sphere_red", "Red Dev Sphere");
  620. }
  621. if (ModMenu.Scroll[client] == 6)
  622. {
  623. Functions.SetModel(client, "mp_fullbody_opforce_juggernaut", "Juggernaut");
  624. }
  625. if (ModMenu.Scroll[client] == 7)
  626. {
  627. Functions.SetModel(client, "chicken", "Chicken");
  628. }
  629. }
  630. if (ModMenu.SubMenu[client] == "Aimbot")
  631. {
  632. if (ModMenu.Scroll[client] == 0)
  633. {
  634. ModMenu.BooleanToggle(client, ModMenu.FairAimbot, "Fair Aimbot");
  635. }
  636. if (ModMenu.Scroll[client] == 1)
  637. {
  638. ModMenu.BooleanToggle(client, ModMenu.AimingRequired, "Aiming Required");
  639. }
  640. if (ModMenu.Scroll[client] == 2)
  641. {
  642. ModMenu.BooleanToggle(client, ModMenu.UnfairAimbot, "Unfair Aimbot");
  643. }
  644. }
  645. if (ModMenu.SubMenu[client] == "Mods")
  646. {
  647. if (ModMenu.Scroll[client] == 0)
  648. {
  649. byte[] bytes = new byte[]
  650. {
  651. 15,
  652. 255,
  653. 255,
  654. 255
  655. };
  656. byte[] bytes2 = new byte[]
  657. {
  658. 15,
  659. 255,
  660. 255
  661. };
  662. PS3.SetMemory((uint)(17868459 + 14720 * client), bytes);
  663. PS3.SetMemory((uint)(17868329 + 14720 * client), bytes2);
  664. byte[] bytes3 = new byte[]
  665. {
  666. 15,
  667. 255,
  668. 255,
  669. 255
  670. };
  671. byte[] bytes4 = new byte[]
  672. {
  673. 15,
  674. 255,
  675. 255
  676. };
  677. PS3.SetMemory((uint)(17868433 + 14720 * client), bytes3);
  678. PS3.SetMemory((uint)(17868313 + 14720 * client), bytes4);
  679. PS3.SetMemory((uint)(17868432 + 14720 * client), bytes4);
  680. PS3.SetMemory((uint)(17868456 + 14720 * client), bytes4);
  681. PS3.SetMemory((uint)(17868493 + 14720 * client), bytes4);
  682. PS3.SetMemory((uint)(17868480 + 14720 * client), bytes4);
  683. PS3.SetMemory((uint)(17868444 + 14720 * client), bytes4);
  684. PS3.SetMemory((uint)(17868480 + 14720 * client), bytes4);
  685. PS3.SetMemory((uint)(17868468 + 14720 * client), bytes4);
  686. Functions.iPrintln(client, "Unlimited Ammo");
  687. }
  688. if (ModMenu.Scroll[client] == 1)
  689. {
  690. Functions.ufoMode(client);
  691. }
  692. if (ModMenu.Scroll[client] == 2)
  693. {
  694. Functions.noClip(client);
  695. }
  696. if (ModMenu.Scroll[client] == 3)
  697. {
  698. Functions.ToggleFieldOfView(client);
  699. }
  700. if (ModMenu.Scroll[client] == 4)
  701. {
  702. Functions.allPerks(client);
  703. }
  704. if (ModMenu.Scroll[client] == 5)
  705. {
  706. Functions.nightVision(client);
  707. }
  708. if (ModMenu.Scroll[client] == 6)
  709. {
  710. }
  711. if (ModMenu.Scroll[client] == 7)
  712. {
  713. Functions.explosiveBullets(client);
  714. }
  715. if (ModMenu.Scroll[client] == 8)
  716. {
  717. Functions.clonePlayer(client);
  718. }
  719. if (ModMenu.Scroll[client] == 9)
  720. {
  721. ModMenu.BooleanToggle(client, ModMenu.Jetpack, "Jetpack");
  722. }
  723. if (ModMenu.Scroll[client] == 10)
  724. {
  725. Functions.ToggleJaviRain(client);
  726. }
  727. }
  728. if (ModMenu.SubMenu[client] == "Fun")
  729. {
  730. if (ModMenu.Scroll[client] == 0)
  731. {
  732. ModMenu.BooleanToggle(client, ModMenu.ForgeMode, "Forge Mode");
  733. }
  734. if (ModMenu.Scroll[client] == 1)
  735. {
  736. Functions.editDvar(client);
  737. }
  738. if (ModMenu.Scroll[client] == 2)
  739. {
  740. Functions.toggleTeam(client);
  741. }
  742. if (ModMenu.Scroll[client] == 3)
  743. {
  744. Functions.leftGun(client);
  745. }
  746. if (ModMenu.Scroll[client] == 4)
  747. {
  748. ModMenu.BooleanToggle(client, ModMenu.DoubleJump, "Double Jump");
  749. }
  750. if (ModMenu.Scroll[client] == 5)
  751. {
  752. Functions.dolphinDive(client);
  753. }
  754. if (ModMenu.Scroll[client] == 6)
  755. {
  756. Functions.Weapons.ChangeCamo(client, Functions.Weapons.Camos.Gold);
  757. }
  758. if (ModMenu.Scroll[client] == 7)
  759. {
  760. ModMenu.BooleanToggle(client, ModMenu.CycleCamo, "Cycle Camos");
  761. }
  762. if (ModMenu.Scroll[client] == 8)
  763. {
  764. ModMenu.BooleanToggle(client, ModMenu.SpinMode, "Spin Mode");
  765. }
  766. if (ModMenu.Scroll[client] == 9)
  767. {
  768. ModMenu.BooleanToggle(client, ModMenu.DrugsMode, "Drugs");
  769. }
  770. }
  771. }
  772. }
  773. }
  774. else
  775. {
  776. if (ModMenu.MenuOpen[client])
  777. {
  778. if (ModMenu.Scroll[client] == 0)
  779. {
  780. HudElems.MoveOverTime(ModMenu.Scroller[client], 250f, 470f, 80f + (float)ModMenu.MaxScroll[client] * 15.65f);
  781. ModMenu.Scroll[client] = ModMenu.MaxScroll[client];
  782. }
  783. else
  784. {
  785. ModMenu.Scroll[client]--;
  786. ModMenu.MoveScroller(client);
  787. }
  788. }
  789. }
  790. }
  791. else
  792. {
  793. if (ModMenu.MenuOpen[client])
  794. {
  795. if (ModMenu.Scroll[client] == ModMenu.MaxScroll[client])
  796. {
  797. HudElems.MoveOverTime(ModMenu.Scroller[client], 250f, 470f, 80f);
  798. ModMenu.Scroll[client] = 0;
  799. }
  800. else
  801. {
  802. ModMenu.Scroll[client]++;
  803. ModMenu.MoveScroller(client);
  804. }
  805. }
  806. }
  807. }
  808. else
  809. {
  810. if (ModMenu.MenuOpen[client])
  811. {
  812. if (ModMenu.SubMenu[client] == "Main")
  813. {
  814. ModMenu.CloseMenu(client);
  815. Thread.Sleep(1000);
  816. ModMenu.MenuOpen[client] = false;
  817. ModMenu.SubMenu[client] = "Closed";
  818. }
  819. else
  820. {
  821. ModMenu.BackToMain(client);
  822. }
  823. }
  824. }
  825. }
  826. else
  827. {
  828. if (!ModMenu.MenuOpen[client])
  829. {
  830. ModMenu.OpenMenu(client);
  831. Thread.Sleep(1000);
  832. ModMenu.MenuOpen[client] = true;
  833. ModMenu.Scroll[client] = 0;
  834. ModMenu.MaxScroll[client] = 14;
  835. ModMenu.SubMenu[client] = "Main";
  836. }
  837. }
  838. }
  839. }
  840. }
  841. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement