Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //PwN3D By BaSs_HaXoR
- //Energyzer Source
- //THREAD: http://adf.ly/rt53k
- //Download: http://adf.ly/rt54p
- //How: MegaDumper => (Energyzer(2).exe) -> Nofuser (-fc1_9) => .Net Reflector => Visual Studio
- namespace Energyzed
- {
- /*
- _____ _____ _____ _____ _____ _____ _______ _____
- /\ \ /\ \ /\ \ /\ \ /\ \ /\ \ ______ /::\ \ /\ \
- /::\ \ /::\ \ /::\ \ /::\ \ /::\____\ /::\ \ |::| | /::::\ \ /::\ \
- /::::\ \ /::::\ \ /::::\ \ /::::\ \ /:::/ / /::::\ \ |::| | /::::::\ \ /::::\ \
- /::::::\ \ /::::::\ \ /::::::\ \ /::::::\ \ /:::/ / /::::::\ \ |::| | /::::::::\ \ /::::::\ \
- /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/ / /:::/\:::\ \ |::| | /:::/~~\:::\ \ /:::/\:::\ \
- /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/____/ /:::/__\:::\ \ |::| | /:::/ \:::\ \ /:::/__\:::\ \
- /::::\ \:::\ \ /::::\ \:::\ \ \:::\ \:::\ \ \:::\ \:::\ \ /::::\ \ /::::\ \:::\ \ |::| | /:::/ / \:::\ \ /::::\ \:::\ \
- /::::::\ \:::\ \ /::::::\ \:::\ \ ___\:::\ \:::\ \ ___\:::\ \:::\ \ /::::::\ \ _____ /::::::\ \:::\ \ |::| | /:::/____/ \:::\____\ /::::::\ \:::\ \
- /:::/\:::\ \:::\ ___\ /:::/\:::\ \:::\ \ /\ \:::\ \:::\ \ /\ \:::\ \:::\ \ /:::/\:::\ \ /\ \ /:::/\:::\ \:::\ \ ______|::|___|___ ____ |:::| | |:::| | /:::/\:::\ \:::\____\
- /:::/__\:::\ \:::| |/:::/ \:::\ \:::\____\/::\ \:::\ \:::\____\/::\ \:::\ \:::\____\/:::/ \:::\ /::\____\/:::/ \:::\ \:::\____\|:::::::::::::::::| ||:::|____| |:::| |/:::/ \:::\ \:::| |
- \:::\ \:::\ /:::|____|\::/ \:::\ /:::/ /\:::\ \:::\ \::/ /\:::\ \:::\ \::/ /\::/ \:::\ /:::/ /\::/ \:::\ /:::/ /|:::::::::::::::::|____| \:::\ \ /:::/ / \::/ |::::\ /:::|____|
- \:::\ \:::\/:::/ / \/____/ \:::\/:::/ / \:::\ \:::\ \/____/ \:::\ \:::\ \/____/ \/____/ \:::\/:::/ / \/____/ \:::\/:::/ / ~~~~~~|::|~~~|~~~ \:::\ \ /:::/ / \/____|:::::\/:::/ /
- \:::\ \::::::/ / \::::::/ / \:::\ \:::\ \ \:::\ \:::\ \ \::::::/ / \::::::/ / |::| | \:::\ /:::/ / |:::::::::/ /
- \:::\ \::::/ / \::::/ / \:::\ \:::\____\ \:::\ \:::\____\ \::::/ / \::::/ / |::| | \:::\__/:::/ / |::|\::::/ /
- \:::\ /:::/ / /:::/ / \:::\ /:::/ / \:::\ /:::/ / /:::/ / /:::/ / |::| | \::::::::/ / |::| \::/____/
- \:::\/:::/ / /:::/ / \:::\/:::/ / \:::\/:::/ / /:::/ / /:::/ / |::| | \::::::/ / |::| ~|
- \::::::/ / /:::/ / \::::::/ / \::::::/ / /:::/ / /:::/ / |::| | \::::/ / |::| |
- \::::/ / /:::/ / \::::/ / \::::/ / /:::/ / /:::/ / |::| | \::/____/ \::| |
- \::/____/ \::/ / \::/ / \::/ / \::/ / \::/ / |::|___| ~~ \:| |
- ~~ \/____/ \/____/ \/____/ \/____/ \/____/ ~~ \|___|
- OOOOOOOOO SSSSSSSSSSSSSSS
- OO:::::::::OO SS:::::::::::::::S
- OO:::::::::::::OO S:::::SSSSSS::::::S
- O:::::::OOO:::::::O S:::::S SSSSSSS
- O::::::O O::::::Oppppp ppppppppp eeeeeeeeeeee nnnn nnnnnnnn S:::::S ooooooooooo uuuuuu uuuuuu rrrrr rrrrrrrrr cccccccccccccccc eeeeeeeeeeee
- O:::::O O:::::Op::::ppp:::::::::p ee::::::::::::ee n:::nn::::::::nn S:::::S oo:::::::::::oo u::::u u::::u r::::rrr:::::::::r cc:::::::::::::::c ee::::::::::::ee
- O:::::O O:::::Op:::::::::::::::::p e::::::eeeee:::::een::::::::::::::nn S::::SSSS o:::::::::::::::ou::::u u::::u r:::::::::::::::::r c:::::::::::::::::c e::::::eeeee:::::ee
- O:::::O O:::::Opp::::::ppppp::::::pe::::::e e:::::enn:::::::::::::::n SS::::::SSSSS o:::::ooooo:::::ou::::u u::::u rr::::::rrrrr::::::rc:::::::cccccc:::::ce::::::e e:::::e
- O:::::O O:::::O p:::::p p:::::pe:::::::eeeee::::::e n:::::nnnn:::::n SSS::::::::SS o::::o o::::ou::::u u::::u r:::::r r:::::rc::::::c ccccccce:::::::eeeee::::::e
- O:::::O O:::::O p:::::p p:::::pe:::::::::::::::::e n::::n n::::n SSSSSS::::S o::::o o::::ou::::u u::::u r:::::r rrrrrrrc:::::c e:::::::::::::::::e
- O:::::O O:::::O p:::::p p:::::pe::::::eeeeeeeeeee n::::n n::::n S:::::So::::o o::::ou::::u u::::u r:::::r c:::::c e::::::eeeeeeeeeee
- O::::::O O::::::O p:::::p p::::::pe:::::::e n::::n n::::n S:::::So::::o o::::ou:::::uuuu:::::u r:::::r c::::::c ccccccce:::::::e
- O:::::::OOO:::::::O p:::::ppppp:::::::pe::::::::e n::::n n::::n SSSSSSS S:::::So:::::ooooo:::::ou:::::::::::::::uur:::::r c:::::::cccccc:::::ce::::::::e
- OO:::::::::::::OO p::::::::::::::::p e::::::::eeeeeeee n::::n n::::n S::::::SSSSSS:::::So:::::::::::::::o u:::::::::::::::ur:::::r c:::::::::::::::::c e::::::::eeeeeeee
- OO:::::::::OO p::::::::::::::pp ee:::::::::::::e n::::n n::::n S:::::::::::::::SS oo:::::::::::oo uu::::::::uu:::ur:::::r cc:::::::::::::::c ee:::::::::::::e
- OOOOOOOOO p::::::pppppppp eeeeeeeeeeeeee nnnnnn nnnnnn SSSSSSSSSSSSSSS ooooooooooo uuuuuuuu uuuurrrrrrr cccccccccccccccc eeeeeeeeeeeeee
- p:::::p
- p:::::p
- p:::::::p
- p:::::::p
- p:::::::p
- ppppppppp
- Yb dP 8 w .d88b. w w dP"Yb
- Yb db dP 8d8b. .d88 w8ww YPwww. .d88b .d8b 8 8 8d8b w w8ww Yb dP " d8
- YbdPYbdP 8P Y8 8 8 8 d8 8.dP' 8 8b d8 8P 8 8 YbdP dP
- YP YP 8 8 `Y88 Y8P `Y88P' `Y88P `Y8P `Y8P8 8 8 Y8P dP w
- dP x
- *
- ██████╗ █████╗ ███████╗███████╗ ██╗ ██╗ █████╗ ██╗ ██╗ ██████╗ ██████╗
- ██╔══██╗██╔══██╗██╔════╝██╔════╝ ██║ ██║██╔══██╗╚██╗██╔╝██╔═══██╗██╔══██╗
- ██████╔╝███████║███████╗███████╗ ███████║███████║ ╚███╔╝ ██║ ██║██████╔╝
- ██╔══██╗██╔══██║╚════██║╚════██║ ██╔══██║██╔══██║ ██╔██╗ ██║ ██║██╔══██╗
- ██████╔╝██║ ██║███████║███████║███████╗██║ ██║██║ ██║██╔╝ ██╗╚██████╔╝██║ ██║
- ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
- */
- using MetroFramework;
- using MetroFramework.Components;
- using MetroFramework.Controls;
- using MetroFramework.Forms;
- using MW3Lib;
- using PS3Lib;
- using System;
- using System.ComponentModel;
- using System.Drawing;
- using System.IO;
- using System.Runtime.InteropServices;
- using System.Threading;
- using System.Windows.Forms;
- public class Energyzed : MetroForm
- {
- public Shader[] Background = new Shader[12];
- private BackgroundWorker backgroundWorker1;
- public LocalString[] Clan1 = new LocalString[12];
- public LocalString[] Clan2 = new LocalString[12];
- private int ClientInt = 0;
- private uint ClientUInt = 0;
- private IContainer components = null;
- public LocalString[] Credits = new LocalString[12];
- public LocalString[] Crosshair = new LocalString[12];
- public LocalString[] CustomDoHeart = new LocalString[12];
- public static bool[] CustomDoHeartActive = new bool[12];
- public static Thread[] CustomDoHeartThread = new Thread[12];
- public LocalString[] DoHeart = new LocalString[12];
- public static bool[] DoHeartActive = new bool[12];
- public static Thread[] DoHeartThread = new Thread[12];
- private bool DrugsTog;
- private const uint G_Client = 0xf44400;
- public LocalString[] GTFO = new LocalString[12];
- public LocalString[] HostDoHeart = new LocalString[12];
- public static bool[] HostDoHeartActive = new bool[12];
- public static Thread[] HostDoHeartThread = new Thread[12];
- public bool[] isVer = new bool[12];
- public Shader[] Linker = new Shader[12];
- private bool LobbyJumpTog;
- private bool LobbySpeedTog;
- public int[] MaxScroll = new int[12];
- public LocalString[] Menu = new LocalString[12];
- public bool[] MenuOpen = new bool[12];
- public LocalString[] MenuText = new LocalString[12];
- public LocalString[] MenuTitle = new LocalString[12];
- private MetroButton metroButton1;
- private MetroButton metroButton2;
- private MetroStyleManager metroStyleManager1;
- private MetroTextBox metroTextBox1;
- private uint mFlag = 0xf4771f;
- public LocalString[] NextGenUpdate = new LocalString[12];
- private int noclipbindonandoff = 0;
- private int noClipBindTog = 0;
- private bool Person;
- public LocalString[] PlayerSpawned = new LocalString[12];
- public static PS3API PS3 = new PS3API(SelectAPI.TargetManager);
- public Shader[] rechter = new Shader[12];
- public int[] Scroll = new int[12];
- public Shader[] Scrollbar = new Shader[12];
- private const uint SpinningMode = 0xf4446c;
- public string[] SubMenu = new string[12];
- public int[] TargetedClient = new int[12];
- public static uint TeleportOffset = 0xf4441c;
- private int ThirdTog = 0;
- private System.Windows.Forms.Timer timer1;
- private System.Windows.Forms.Timer timer2;
- private System.Windows.Forms.Timer timer3;
- private int TripModeSwitch = 0;
- public LocalString[] Typewriter = new LocalString[12];
- private bool UfoSwitch;
- private Label label1;
- public LocalString[] Youtube = new LocalString[12];
- public Energyzed()
- {
- this.InitializeComponent();
- }
- public void Ammo(int client)
- {
- Mods.iPrintlnBold(client, "Ammo : ^2Enabled");
- PS3.SetMemory((uint) (0xf44958 + (client * 0x3700)), new byte[] { 15, 0xff, 0xff, 0xff });
- PS3.SetMemory((uint) (0xf44938 + (client * 0x3700)), new byte[] { 15, 0xff, 0xff, 0xff });
- PS3.SetMemory((uint) (0xf44948 + (client * 0x3700)), new byte[] { 15, 0xff, 0xff, 0xff });
- }
- private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
- {
- Debug.Reconnect();
- while (true)
- {
- for (int i = 0; i < Utility.GetNumPlayers(); i++)
- {
- this.onPlayerSpawned(i);
- if ((ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.DpadRight) && this.isVer[i]) && !this.MenuOpen[i])
- {
- this.Shaders(i, true);
- }
- if (ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.DpadLeft) && this.isVer[i])
- {
- this.Scrollbar[i].FadeOverTime(1, 0, 0, 0, 0xff);
- this.Scrollbar[i].FadeOverTime(1, 0xff, 0x6a, 0, 0xff);
- if (this.MenuOpen[i])
- {
- if (this.SubMenu[i] == "Main")
- {
- this.Scrolling(i, 0);
- this.Shaders(i, false);
- }
- else if (this.SubMenu[i] == "COpts")
- {
- this.Scrolling(i, 0);
- this.OpenSub(i, "Clients");
- }
- else
- {
- this.Scrolling(i, 0);
- this.OpenSub(i, "Main");
- }
- }
- }
- if (this.noClipBindTog == 0)
- {
- if (ButtonMonitoring.ButtonPressed(0, ButtonMonitoring.Buttonz.R2))
- {
- Mods.iPrintlnBold(0, "Bind NoClip: ^2ON");
- PS3.SetMemory(0xf4771f, new byte[] { 1 });
- this.noClipBindTog++;
- }
- }
- else if ((this.noClipBindTog == 1) && ButtonMonitoring.ButtonPressed(0, ButtonMonitoring.Buttonz.R2))
- {
- Mods.iPrintlnBold(0, "Bind NoClip: ^1OFF");
- Debug.SetMemory(0xf4771f, new byte[1]);
- this.noClipBindTog = 0;
- }
- if (ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.DpadUp) && this.isVer[i])
- {
- this.MoveScroller(i, "Up");
- }
- if (ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.Cross))
- {
- this.JetPack(i);
- }
- if (ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.DpadDown) && this.isVer[i])
- {
- this.MoveScroller(i, "Down");
- }
- this.onPlayerSpawned(i);
- if ((ButtonMonitoring.ButtonPressed(i, ButtonMonitoring.Buttonz.Square) && this.isVer[i]) && this.MenuOpen[i])
- {
- this.Scrollbar[i].FadeOverTime(1, 0, 0, 0, 0xff);
- this.Scrollbar[i].FadeOverTime(1, 0xff, 0x6a, 0, 0xff);
- if (this.SubMenu[i] == "Main")
- {
- if (this.Scroll[i] == 0)
- {
- this.OpenSub(i, "Account Menu");
- }
- else if (this.Scroll[i] == 1)
- {
- this.OpenSub(i, "Vision Menu");
- }
- else if (this.Scroll[i] == 2)
- {
- this.OpenSub(i, "Weapon Menu");
- }
- else if (this.Scroll[i] == 3)
- {
- this.OpenSub(i, "Message Menu");
- }
- else if (this.Scroll[i] == 4)
- {
- this.OpenSub(i, "Model Menu");
- }
- else if (this.Scroll[i] == 5)
- {
- this.OpenSub(i, "Host Menu");
- }
- else if (this.Scroll[i] == 6)
- {
- this.OpenSub(i, "Fun Menu");
- }
- else if (this.Scroll[i] == 7)
- {
- this.OpenSub(i, "DoHeart Menu");
- }
- else if (this.Scroll[i] == 8)
- {
- this.OpenSub(i, "Teleport Menu");
- }
- else if (this.Scroll[i] == 9)
- {
- this.OpenSub(i, "Aimbot Menu");
- }
- else if (this.Scroll[i] == 10)
- {
- this.OpenSub(i, "Theme Menu");
- }
- else if (this.Scroll[i] == 11)
- {
- this.OpenSub(i, "Lobby Settings");
- }
- }
- if (this.SubMenu[i] == "Account Menu")
- {
- if (this.Scroll[i] == 0)
- {
- this.Unlock();
- }
- else if (this.Scroll[i] == 1)
- {
- Mods.iPrintlnBold(i, "Level 60 : ^2Given");
- }
- else if (this.Scroll[i] == 2)
- {
- Mods.iPrintlnBold(i, "High Stats : ^2Given");
- }
- else if (this.Scroll[i] == 3)
- {
- Mods.iPrintlnBold(i, "Normal Stats : ^2Given");
- }
- else if (this.Scroll[i] == 4)
- {
- this.PrestigeToogle(i);
- }
- }
- if (this.SubMenu[i] == "Vision Menu")
- {
- if (this.Scroll[i] == 0)
- {
- RPC.SetVision(i, "missilecam");
- }
- else if (this.Scroll[i] == 1)
- {
- RPC.SetVision(i, "default_night_mp");
- }
- else if (this.Scroll[i] == 2)
- {
- RPC.SetVision(i, "ac130");
- }
- else if (this.Scroll[i] == 3)
- {
- RPC.SetVision(i, "mpnuke");
- }
- else if (this.Scroll[i] == 4)
- {
- RPC.SetVision(i, "end_game");
- }
- else if (this.Scroll[i] == 5)
- {
- RPC.SetVision(i, "thermal_mp");
- }
- else if (this.Scroll[i] == 6)
- {
- RPC.SetVision(i, "default");
- }
- }
- if (this.SubMenu[i] == "Weapon Menu")
- {
- if (this.Scroll[i] == 0)
- {
- RPC.G_GivePlayerWeapon(i, 0x26, true);
- }
- else if (this.Scroll[i] == 1)
- {
- RPC.G_GivePlayerWeapon(i, 0x5f, false);
- }
- else if (this.Scroll[i] == 2)
- {
- RPC.G_GivePlayerWeapon(i, 0x56, false);
- }
- else if (this.Scroll[i] == 3)
- {
- RPC.G_GivePlayerWeapon(i, 0x40, true);
- }
- else if (this.Scroll[i] == 4)
- {
- RPC.G_GivePlayerWeapon(i, 0x43, false);
- }
- else if (this.Scroll[i] == 5)
- {
- RPC.G_GivePlayerWeapon(i, 0x43, true);
- }
- }
- if (this.SubMenu[i] == "Message Menu")
- {
- if (this.Scroll[i] == 0)
- {
- this.Menu[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- else if (this.Scroll[i] == 1)
- {
- this.Clan1[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- else if (this.Scroll[i] == 2)
- {
- this.Clan2[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- else if (this.Scroll[i] == 3)
- {
- this.Youtube[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- else if (this.Scroll[i] == 4)
- {
- this.NextGenUpdate[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- else if (this.Scroll[i] == 5)
- {
- this.GTFO[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- else if (this.Scroll[i] == 6)
- {
- this.Credits[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- else if (this.Scroll[i] == 7)
- {
- this.CustomiPrint(i);
- }
- if (this.Scroll[i] == 8)
- {
- this.CustomiPrintBold(i);
- }
- if (this.Scroll[i] == 9)
- {
- this.CustomTypewriter(i);
- }
- }
- if (this.SubMenu[i] == "Model Menu")
- {
- if (this.Scroll[i] == 0)
- {
- this.PersonTog(i);
- }
- else if (this.Scroll[i] == 1)
- {
- RPC.SetModel(i, "vehicle_ac130_low_mp");
- }
- else if (this.Scroll[i] == 2)
- {
- RPC.SetModel(i, "vehicle_battle_hind");
- }
- else if (this.Scroll[i] == 3)
- {
- RPC.SetModel(i, "mp_fullbody_dog_a");
- }
- else if (this.Scroll[i] == 4)
- {
- RPC.SetModel(i, "com_woodlog_16_192_d");
- }
- else if (this.Scroll[i] == 5)
- {
- RPC.SetModel(i, "weapon_sentry_chaingun_obj_red");
- }
- else if (this.Scroll[i] == 6)
- {
- RPC.SetModel(i, "vehicle_a10_warthog_iw6_mp");
- }
- }
- if (this.SubMenu[i] == "Host Menu")
- {
- if (this.Scroll[i] == 0)
- {
- this.Godmode(i);
- }
- else if (this.Scroll[i] == 1)
- {
- this.Ammo(i);
- }
- else if (this.Scroll[i] == 2)
- {
- this.UfoTog1(i);
- }
- else if (this.Scroll[i] == 3)
- {
- Mods.iPrintlnBold(i, "^5Bind NoClip Enabled || Press [{+frag}]");
- }
- else if (this.Scroll[i] == 4)
- {
- Mods.iPrintlnBold(i, "^5JetPack Enabled Press [{+gostand}]");
- }
- }
- if (this.SubMenu[i] == "Fun Menu")
- {
- if (this.Scroll[i] == 0)
- {
- Mods.iPrintlnBold(i, "^5Bind NoClip Enabled || Press [{+frag}]");
- }
- else if (this.Scroll[i] == 1)
- {
- Mods.iPrintlnBold(i, "^5JetPack Enabled Press [{+gostand}]");
- }
- else if (this.Scroll[i] == 2)
- {
- this.DoSpinningMod(i);
- }
- }
- if (this.SubMenu[i] == "DoHeart Menu")
- {
- if (this.Scroll[i] == 0)
- {
- this.InitDoHeart(i);
- }
- if (this.Scroll[i] == 1)
- {
- this.InitHostDoHeart(i);
- }
- if (this.Scroll[i] == 2)
- {
- this.CustomDoHeartStart(i);
- }
- }
- if (this.SubMenu[i] == "Teleport Menu")
- {
- if (this.Scroll[i] == 0)
- {
- this.SavePosition(i);
- }
- else if (this.Scroll[i] == 1)
- {
- this.TeleportEveryoneToPosition(i);
- }
- else if (this.Scroll[i] == 2)
- {
- this.TeleportEveryoneToHost(i);
- }
- }
- if ((this.SubMenu[i] == "Aimbot Menu") && (this.Scroll[i] == 0))
- {
- this.StartAimbot(i);
- }
- if (this.SubMenu[i] == "Theme Menu")
- {
- if (this.Scroll[i] == 0)
- {
- this.ThemeDefault(i);
- }
- else if (this.Scroll[i] == 1)
- {
- this.ThemeBlue(i);
- }
- if (this.Scroll[i] == 2)
- {
- this.ThemeGreen(i);
- }
- else if (this.Scroll[i] == 3)
- {
- this.ThemePurple(i);
- }
- else if (this.Scroll[i] == 4)
- {
- this.ThemeBlack(i);
- }
- }
- if (this.SubMenu[i] == "Lobby Settings")
- {
- if (this.Scroll[i] == 0)
- {
- this.SpeedTog(0);
- }
- if (this.Scroll[i] == 1)
- {
- this.JumpTog(0);
- }
- }
- }
- }
- }
- }
- private void button1_Click(object sender, EventArgs e)
- {
- try
- {
- Debug.Init();
- Debug.EnableStringCaching();
- RPC.WritePPC();
- }
- catch
- {
- MessageBox.Show("Failed To Connect/Attach");
- }
- }
- private void button2_Click(object sender, EventArgs e)
- {
- this.InitMenu(Utility.getHostNumber());
- this.PlayerSpawned[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- if (!this.backgroundWorker1.IsBusy)
- {
- this.backgroundWorker1.RunWorkerAsync();
- }
- else
- {
- MessageBox.Show("Background worker is busy, please restart");
- }
- }
- private void button3_Click(object sender, EventArgs e)
- {
- this.CustomDoHeartStart(0);
- }
- public void CustomDoHeartStart(int client)
- {
- uint num = Convert.ToUInt32(client);
- string str = this.RunKeyBoard(client, "Energyzed - Enter your DoHeart Text", "^5FusionMoDz", 20);
- this.CustomDoHeart[client] = new LocalString(0x3d + (num * 3), client, str ?? "", 9, 2f, 440f, 330f, 0, 0f, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0);
- this.InitCustomDoHeart(client);
- }
- private void CustomiPrint(int index)
- {
- Mods.iPrintln(index, "^5Keyboard opened");
- string str = this.RunKeyBoard(index, "Energyzed - Enter your iPrintln Message", "", 20);
- Mods.iPrintln(index, str ?? "");
- }
- private void CustomiPrintBold(int index)
- {
- Mods.iPrintlnBold(index, "^5Keyboard opened");
- string str = this.RunKeyBoard(index, "Energyzed - Enter your iPrintlnBold Message", "", 20);
- Mods.iPrintlnBold(index, str ?? "");
- }
- private void CustomTypewriter(int client)
- {
- Mods.iPrintlnBold(client, "^5Keyboard Open ");
- string str = this.RunKeyBoard(client, "Energyzed - Enter your Typewriter Message", "^2Sw444444444444444gggg", 20);
- this.Typewriter[client] = new LocalString((uint) (0x2d + (client * 3)), client, str ?? "", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.Typewriter[client].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- protected override void Dispose(bool disposing)
- {
- if (disposing && (this.components != null))
- {
- this.components.Dispose();
- }
- base.Dispose(disposing);
- }
- public void doHeart(int client)
- {
- Debug.Reconnect();
- while (true)
- {
- this.DoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
- this.DoHeart[client].fontScaleOverTime(1, 3f);
- this.DoHeart[client].SetGlow(0M, 0M, 255M, 255M);
- Thread.Sleep(0x3e8);
- this.DoHeart[client].fontScaleOverTime(3, 1f);
- this.DoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
- Thread.Sleep(0x3fc);
- }
- }
- public void doHeartCustom(int client)
- {
- Debug.Reconnect();
- while (true)
- {
- this.CustomDoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
- this.CustomDoHeart[client].fontScaleOverTime(1, 3f);
- this.CustomDoHeart[client].SetGlow(0M, 0M, 255M, 255M);
- Thread.Sleep(0x3e8);
- this.CustomDoHeart[client].fontScaleOverTime(3, 1f);
- this.CustomDoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
- Thread.Sleep(0x3fc);
- }
- }
- public void doHeartHost(int client)
- {
- Debug.Reconnect();
- while (true)
- {
- this.HostDoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
- this.HostDoHeart[client].fontScaleOverTime(1, 3f);
- this.HostDoHeart[client].SetGlow(255M, 106M, 0M, 255M);
- Thread.Sleep(0x3e8);
- this.HostDoHeart[client].fontScaleOverTime(3, 1f);
- this.HostDoHeart[client].FadeTo(1, 0xff, 0xff, 0xff, 0xff);
- Thread.Sleep(0x3fc);
- }
- }
- private void DoSpinningMod(int client)
- {
- if (!this.DrugsTog)
- {
- Mods.iPrintlnBold(client, "Spinninge Mode : ^2Enabled");
- this.timer3.Start();
- this.DrugsTog = true;
- }
- else
- {
- Mods.iPrintlnBold(client, "Spinninge Mode : ^1Disabled");
- this.timer3.Stop();
- this.DrugsTog = false;
- }
- }
- private void Energyzed_FormClosing(object sender, FormClosedEventArgs e)
- {
- }
- public uint findPS(int client)
- {
- return (uint) (0xf44430 + (client * 0x3700));
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- this.metroButton1.Enabled = true;
- this.metroButton2.Enabled = true;
- MessageBox.Show("Thanks for looking at Energyzed V1's SOURCE \n To get the Maximum PwN open in Visual Studio ;p");
- }
- public void FreezeOff()
- {
- PS3.SetMemory(0xf4771f, new byte[1]);
- }
- public void Freezeon()
- {
- PS3.SetMemory(0xf4771f, new byte[] { 15 });
- }
- public int GetMaxScroll(int client)
- {
- if (this.SubMenu[client] == "Main")
- {
- return 11;
- }
- if (this.SubMenu[client] == "Account Menu")
- {
- return 4;
- }
- if (this.SubMenu[client] == "Vision Menu")
- {
- return 6;
- }
- if (this.SubMenu[client] == "Weapon Menu")
- {
- return 5;
- }
- if (this.SubMenu[client] == "Message Menu")
- {
- return 9;
- }
- if (this.SubMenu[client] == "Model Menu")
- {
- return 6;
- }
- if (this.SubMenu[client] == "Host Menu")
- {
- return 8;
- }
- if (this.SubMenu[client] == "Fun Menu")
- {
- return 2;
- }
- if (this.SubMenu[client] == "DoHeart Menu")
- {
- return 2;
- }
- if (this.SubMenu[client] == "Teleport Menu")
- {
- return 2;
- }
- if (this.SubMenu[client] != "Aimbot Menu")
- {
- if (this.SubMenu[client] == "Theme Menu")
- {
- return 4;
- }
- if (this.SubMenu[client] == "Lobby Settings")
- {
- return 1;
- }
- }
- return 0;
- }
- public string GetMenuString(int client)
- {
- if (this.SubMenu[client] == "Main")
- {
- return "Account Menu\nVision Menu\nWeapon Menu\nMessage Menu\nModel Menu\nHost Menu\nFun Menu\nDoHeart Menu\nTeleport Menu\nAimbot Menu\nTheme Menu\nLobby Settings";
- }
- if (this.SubMenu[client] == "Account Menu")
- {
- return "Unlock All\nLevel 60\nHigh Stats\nNormal Stats\nPrestige";
- }
- if (this.SubMenu[client] == "Vision Menu")
- {
- return "missilecam\ndefault night\nac130\nmp_Nuke\nend_game\nthermal_mp\nDefault";
- }
- if (this.SubMenu[client] == "Weapon Menu")
- {
- return "Ak12 Akimbo\nLaptop\nUSR Scopeless\nMagnum Akimbo\nMiniGun\nAkimbo Minigun";
- }
- if (this.SubMenu[client] == "Message Menu")
- {
- return "Menu\nModdingClan1\nModdingClan2\nYoutube\nNextgenupdate\nGTFO\nCredits\nCustom iPrintln\nCustom iPrintlnBold\nCustom Typewriter";
- }
- if (this.SubMenu[client] == "Model Menu")
- {
- return "Third Person\nAc130\nBattlehind\nDog\nTree\nSentry Gun\nWarthog";
- }
- if (this.SubMenu[client] == "Host Menu")
- {
- return "Godmode\nAmmo\nUfo Mode\nNoClip to [{+frag}]\nJetPack to [{+gostand}]";
- }
- if (this.SubMenu[client] == "Fun Menu")
- {
- return "NoClip to [{+frag}]\nJetPack to [{+gostand}]\nSpinning Mode";
- }
- if (this.SubMenu[client] == "DoHeart Menu")
- {
- return "Do Heart\nHost Do Heart\nCustom Do Heart";
- }
- if (this.SubMenu[client] == "Teleport Menu")
- {
- return "Save Position\nTeleport Everyone\nEveryone to Host";
- }
- if (this.SubMenu[client] == "Aimbot Menu")
- {
- return "Aimbot";
- }
- if (this.SubMenu[client] == "Theme Menu")
- {
- return "Orange Theme\nBlue Theme\nGreen Theme\nPurple Theme\nBlack Theme";
- }
- if (this.SubMenu[client] == "Lobby Settings")
- {
- return "Toggle Speed\nToggle Jump";
- }
- return "";
- }
- public void Godmode(int client)
- {
- PS3.SetMemory((uint) (0xe045a8 + (client * 0x3700)), new byte[] { 0xff, 0xff });
- Mods.iPrintlnBold(client, "Godmode : ^2Enabled");
- }
- public void InitCustomDoHeart(int client)
- {
- ThreadStart start = null;
- if (!HostDoHeartActive[client])
- {
- CustomDoHeartActive[client] = true;
- if (start == null)
- {
- start = () => this.doHeartCustom(client);
- }
- CustomDoHeartThread[client] = new Thread(start);
- Mods.iPrintlnBold(client, "Custom DoHearts: ^2Active");
- CustomDoHeartThread[client].IsBackground = true;
- CustomDoHeartThread[client].Start();
- CustomDoHeartActive[client] = true;
- }
- else
- {
- CustomDoHeartActive[client] = false;
- CustomDoHeartThread[client].Abort();
- Mods.iPrintlnBold(client, "Custom DoHearts: ^1Disabled");
- }
- }
- public void InitDoHeart(int client)
- {
- ThreadStart start = null;
- if (!DoHeartActive[client])
- {
- DoHeartActive[client] = true;
- if (start == null)
- {
- start = () => this.doHeart(client);
- }
- DoHeartThread[client] = new Thread(start);
- Mods.iPrintlnBold(client, "DoHearts: ^2Active");
- DoHeartThread[client].IsBackground = true;
- DoHeartThread[client].Start();
- DoHeartActive[client] = true;
- }
- else
- {
- DoHeartActive[client] = false;
- DoHeartThread[client].Abort();
- Mods.iPrintlnBold(client, "DoHearts: ^1Disabled");
- }
- }
- public void InitHostDoHeart(int client)
- {
- ThreadStart start = null;
- if (!HostDoHeartActive[client])
- {
- HostDoHeartActive[client] = true;
- if (start == null)
- {
- start = () => this.doHeartHost(client);
- }
- HostDoHeartThread[client] = new Thread(start);
- Mods.iPrintlnBold(client, "Host DoHearts: ^2Active");
- HostDoHeartThread[client].IsBackground = true;
- HostDoHeartThread[client].Start();
- HostDoHeartActive[client] = true;
- }
- else
- {
- HostDoHeartActive[client] = false;
- HostDoHeartThread[client].Abort();
- Mods.iPrintlnBold(client, "Host DoHearts: ^1Disabled");
- }
- }
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.timer2 = new System.Windows.Forms.Timer(this.components);
- this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
- this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.timer3 = new System.Windows.Forms.Timer(this.components);
- this.metroStyleManager1 = new MetroFramework.Components.MetroStyleManager();
- this.metroButton1 = new MetroFramework.Controls.MetroButton();
- this.metroButton2 = new MetroFramework.Controls.MetroButton();
- this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.SuspendLayout();
- //
- // timer2
- //
- this.timer2.Tick += new System.EventHandler(this.timer2_Tick_1);
- //
- // backgroundWorker1
- //
- this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
- //
- // timer1
- //
- this.timer1.Tick += new System.EventHandler(this.timer1_Tick_1);
- //
- // timer3
- //
- this.timer3.Tick += new System.EventHandler(this.timer3_Tick_1);
- //
- // metroStyleManager1
- //
- this.metroStyleManager1.OwnerForm = this;
- this.metroStyleManager1.Style = MetroFramework.MetroColorStyle.Orange;
- this.metroStyleManager1.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // metroButton1
- //
- this.metroButton1.Highlight = true;
- this.metroButton1.Location = new System.Drawing.Point(95, 63);
- this.metroButton1.Name = "metroButton1";
- this.metroButton1.Size = new System.Drawing.Size(176, 32);
- this.metroButton1.Style = MetroFramework.MetroColorStyle.Orange;
- this.metroButton1.StyleManager = this.metroStyleManager1;
- this.metroButton1.TabIndex = 0;
- this.metroButton1.Text = "Connect n Attach";
- this.metroButton1.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.metroButton1.Click += new System.EventHandler(this.metroButton1_Click);
- //
- // metroButton2
- //
- this.metroButton2.Highlight = true;
- this.metroButton2.Location = new System.Drawing.Point(95, 101);
- this.metroButton2.Name = "metroButton2";
- this.metroButton2.Size = new System.Drawing.Size(176, 32);
- this.metroButton2.Style = MetroFramework.MetroColorStyle.Orange;
- this.metroButton2.StyleManager = this.metroStyleManager1;
- this.metroButton2.TabIndex = 1;
- this.metroButton2.Text = "Start Menu";
- this.metroButton2.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.metroButton2.Click += new System.EventHandler(this.metroButton2_Click);
- //
- // metroTextBox1
- //
- this.metroTextBox1.CustomBackground = false;
- this.metroTextBox1.CustomForeColor = false;
- this.metroTextBox1.FontSize = MetroFramework.MetroTextBoxSize.Small;
- this.metroTextBox1.FontWeight = MetroFramework.MetroTextBoxWeight.Regular;
- this.metroTextBox1.Location = new System.Drawing.Point(68, 8);
- this.metroTextBox1.Multiline = false;
- this.metroTextBox1.Name = "metroTextBox1";
- this.metroTextBox1.SelectedText = "";
- this.metroTextBox1.Size = new System.Drawing.Size(0, 0);
- this.metroTextBox1.Style = MetroFramework.MetroColorStyle.Orange;
- this.metroTextBox1.StyleManager = this.metroStyleManager1;
- this.metroTextBox1.TabIndex = 2;
- this.metroTextBox1.Text = "metroTextBox1";
- this.metroTextBox1.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.metroTextBox1.UseStyleColors = false;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.label1.Location = new System.Drawing.Point(118, 153);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(135, 13);
- this.label1.TabIndex = 3;
- this.label1.Text = "#PwN3D By BaSs_HaXoR";
- //
- // Energyzed
- //
- this.ClientSize = new System.Drawing.Size(372, 186);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.metroTextBox1);
- this.Controls.Add(this.metroButton2);
- this.Controls.Add(this.metroButton1);
- this.Location = new System.Drawing.Point(0, 0);
- this.Name = "Energyzed";
- this.Style = MetroFramework.MetroColorStyle.Orange;
- this.StyleManager = this.metroStyleManager1;
- this.Text = "Energyzed #PwN3D By BaSs";
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Energyzed_FormClosing);
- this.Load += new System.EventHandler(this.Form1_Load);
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- public void InitMenu(int client)
- {
- for (int i = 0; i < Utility.GetNumPlayers(); i++)
- {
- uint num2 = Convert.ToUInt32(client);
- this.Clan1[client] = new LocalString(0x17 + (num2 * 3), client, "WeRuleModding", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.Clan2[client] = new LocalString(13 + (num2 * 3), client, "UnitedModdingTeam", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.Credits[client] = new LocalString(13 + (num2 * 3), client, "Energyzed V1 Credits : \nMango_Knife\nAlmightSo\nPrime Notorius\nSeb5594\nSony Entertainment Network\nActivision\nModzByAhmad", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.Youtube[client] = new LocalString(0x21 + (num2 * 3), client, "Check out \n www.youtube.com/FusionMoDzHD", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.NextGenUpdate[client] = new LocalString(0x26 + (num2 * 3), client, "Check out \n Nextgenupdate.com/Forums", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.GTFO[client] = new LocalString(0x30 + (num2 * 3), client, "Get The Fuck Out !", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.PlayerSpawned[client] = new LocalString(0x2d + (num2 * 3), client, "Welcome to Energyzed V1\nYour Host Today is : ^5^7\nOpen Menu with [{+actionslot 4}] ", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.Menu[client] = new LocalString(0x335 + (num2 * 3), client, "This is Energyzed V1 \nFor Ghosts 1.12", 9, 2f, 300f, 190f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.MenuTitle[client] = new LocalString(0x7b + (num2 * 3), client, "Energyzed", 9, 2f, 38f, 39f, 0, 0f, 0, 0, 0, 0, 0, 0, 0, 0);
- this.DoHeart[client] = new LocalString(0x7e + (num2 * 3), client, "Energyzed V1", 9, 2f, 440f, 130f, 0, 0f, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0);
- this.Background[client] = new Shader(120 + (num2 * 3), num2, 12, 200, 0x3e8, 10f, 0f, 0, 0f, 0, 0, 0xff, 0);
- this.HostDoHeart[client] = new LocalString(0x7e + (num2 * 3), client, this.metroTextBox1.Text ?? "", 9, 2f, 440f, 230f, 0, 0f, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0);
- this.Linker[client] = new Shader(0xbc + (num2 * 3), num2, 12, 3, 500, 9f, 0f, 0, 0f, 0, 0, 0, 0);
- this.rechter[client] = new Shader(0xc7 + (num2 * 3), num2, 12, 3, 500, 210f, 0f, 0, 0f, 0, 0, 0, 0);
- this.Scrollbar[client] = new Shader(0x79 + (num2 * 3), num2, 12, 200, 20, 10f, 100f, 0, 0f, 0, 0, 0, 0);
- this.MenuText[client] = new LocalString(0x7a + (num2 * 3), client, "Account Menu\nVision Menu\nWeapon Menu\nMessage Menu\nModel Menu\nHost Menu\nFun Menu\nDoHeart Menu\nTeleport Menu\nAimbot Menu\nTheme Menu\nLobby Settings", 4, 1.8f, 20f, 100f, 0, 0f, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0);
- if (client != Utility.getHostNumber())
- {
- this.InitVars(client, false);
- }
- else
- {
- this.InitVars(client, true);
- }
- }
- }
- public void InitVars(int client, bool bool_0)
- {
- if (!bool_0)
- {
- this.MenuOpen[client] = false;
- this.Scroll[client] = 0;
- this.MaxScroll[client] = 0;
- this.isVer[client] = false;
- this.SubMenu[client] = "None";
- }
- else
- {
- this.MenuOpen[client] = false;
- this.Scroll[client] = 0;
- this.MaxScroll[client] = 5;
- this.isVer[client] = true;
- this.SubMenu[client] = "Main";
- Mods.iPrintlnBold(client, "^5MENU IS READY");
- }
- }
- public void JetPack(int client)
- {
- float input = PS3.Extension.ReadFloat(this.findPS(client)) + 100f;
- PS3.Extension.WriteFloat(this.findPS(client), input);
- }
- private void JumpTog(int client)
- {
- if (!this.LobbyJumpTog)
- {
- PS3.SetMemory(0xeb374, new byte[] { 0x45, 0x48 });
- Mods.iPrintlnBold(client, "Host Changed Lobby Jump to : ^2High");
- this.LobbyJumpTog = true;
- }
- else
- {
- PS3.SetMemory(0xeb374, new byte[] { 0x42, 0x9c });
- Mods.iPrintlnBold(client, "Host Changed Lobby Jump to : ^2Normal");
- this.LobbyJumpTog = false;
- }
- }
- private void metroButton1_Click(object sender, EventArgs e)
- {
- try
- {
- Debug.Init();
- Debug.EnableStringCaching();
- this.metroTextBox1.Text = PS3.Extension.ReadString(Offsets.PlayerName);
- RPC.WritePPC();
- MessageBox.Show("Ba55_H4X0R w4s h3r3");
- }
- catch
- {
- MessageBox.Show("Bro you F*k'd up!");
- }
- }
- private void metroButton2_Click(object sender, EventArgs e)
- {
- this.InitMenu(Utility.getHostNumber());
- this.PlayerSpawned[0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- if (!this.backgroundWorker1.IsBusy)
- {
- this.backgroundWorker1.RunWorkerAsync();
- MessageBox.Show("Sup Naqqua. #PwN3D");
- }
- else
- {
- MessageBox.Show("Background worker is busy, please restart <#Dumb -.->");
- }
- }
- private void metroButton3_Click(object sender, EventArgs e)
- {
- }
- private void metroButton5_Click(object sender, EventArgs e)
- {
- }
- public void MoveScroller(int client, string dir)
- {
- if (this.MenuOpen[client])
- {
- if (dir == "Down")
- {
- if (this.Scroll[client] == this.MaxScroll[client])
- {
- this.Scrolling(client, 0);
- }
- else
- {
- this.Scroll[client]++;
- this.Scrolling(client, this.Scroll[client]);
- }
- }
- else if (dir == "Up")
- {
- if (this.Scroll[client] == 0)
- {
- this.Scrolling(client, this.MaxScroll[client]);
- }
- else
- {
- this.Scroll[client]--;
- this.Scrolling(client, this.Scroll[client]);
- }
- }
- }
- }
- public void onPlayerSpawned(int int_0)
- {
- if (PS3.Extension.ReadByte(0xf47383) == 1)
- {
- this.PlayerSpawned[int_0].doTypeWriter(0xff, 0xff, 0xff, 0xff, 0xff, 0x6a, 0, 0xff, 1);
- }
- }
- public void OpenClient(int client, int Target)
- {
- if (client != Utility.getHostNumber())
- {
- this.Shaders(client, false);
- Mods.iPrintlnBold(client, "your not host");
- }
- else
- {
- this.TargetedClient[client] = Target;
- this.Scrolling(client, 0);
- Mods.iPrintlnBold(client, "Selected: " + Utility.getClientName(Target));
- this.MenuText[client].SetText("^1Remove Access\n^7Verify\nOption 3\nOption 4");
- this.MaxScroll[client] = 3;
- this.SubMenu[client] = "COpts";
- }
- }
- public void OpenSub(int client, string sub)
- {
- this.SubMenu[client] = sub;
- if (sub == "Main")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Account Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Vision Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Weapon Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Message Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Model Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Host Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Fun Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "DoHeart Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Teleport Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Aimbot Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Theme Menu")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- else if (sub == "Lobby Settings")
- {
- this.Scrolling(client, 0);
- this.MenuText[client].SetText(this.GetMenuString(client));
- this.MaxScroll[client] = this.GetMaxScroll(client);
- }
- }
- private void PersonTog(int client)
- {
- if (!this.Person)
- {
- PS3.SetMemory(0xf44413, new byte[] { 7 });
- Mods.iPrintlnBold(0, "Third Person : ^2Enabled");
- this.Person = true;
- }
- else
- {
- PS3.SetMemory(0xf44413, new byte[1]);
- Mods.iPrintlnBold(0, "Third Person : ^1Disabled ");
- this.Person = false;
- }
- }
- private void PrestigeToogle(int client)
- {
- int input = (PS3.Extension.ReadInt32(0x179651c) == 10) ? 0 : (PS3.Extension.ReadInt32(0x179651c) + 1);
- PS3.Extension.WriteInt32(0x179651c, input);
- Mods.iPrintlnBold(client, "Prestige Set To^5:" + input.ToString());
- }
- public string RunKeyBoard(int clientIndex, string Title, string PresetText = "", int MaxLength = 20)
- {
- RPC.CallFunction(0x363af0, new object[] { clientIndex, Title, PresetText, MaxLength, 0, 0xa69488, 0xa6c2f0 });
- while (PS3.Extension.ReadInt32(0xa8cc64) != 0)
- {
- }
- return PS3.Extension.ReadString(0x29f0e22);
- }
- private void SavePosition(int ClientInt)
- {
- Mods.iPrintlnBold(0, "Position : ^2Saved");
- byte[] bytes = PS3.Extension.ReadBytes(TeleportOffset + ((uint) (ClientInt * 0x3700)), 14);
- File.WriteAllBytes("Position.txt", bytes);
- }
- public void Scrolling(int client, int scroll)
- {
- this.Scroll[client] = scroll;
- int num2 = 100 + (scroll * 0x16);
- this.Scrollbar[client].MoveScroller(1, 10f, (float) num2);
- }
- public void SelectClientMod(int client, int Target)
- {
- if (client != Utility.getHostNumber())
- {
- this.Shaders(client, false);
- }
- else if (this.Scroll[client] == 0)
- {
- this.Shaders(Target, false);
- this.isVer[Target] = false;
- this.SubMenu[Target] = "";
- this.InitVars(Target, false);
- this.Background[Target].Destroy();
- this.Scrollbar[Target].Destroy();
- this.MenuText[Target].Destroy();
- Mods.iPrintlnBold(client, "Remove Access To: ^1" + Utility.getClientName(Target));
- }
- else if (this.Scroll[client] == 1)
- {
- this.InitMenu(Target);
- this.InitVars(Target, true);
- Mods.iPrintlnBold(client, "Gave Access To: ^2" + Utility.getClientName(Target));
- }
- }
- public void Shaders(int client, bool onScreen)
- {
- if (!onScreen)
- {
- PS3.SetMemory(0x268e1e0, new byte[1]);
- this.MenuTitle[client].FadeOverTime(1, 0, 0, 0, 0);
- this.Background[client].FadeOverTime(1, 0, 0, 0, 0);
- this.Scrollbar[client].FadeOverTime(1, 0, 0, 0, 0);
- this.MenuText[client].FadeOverTime(1, 0, 0, 0, 0);
- this.rechter[client].FadeOverTime(1, 0, 0, 0, 0);
- this.Linker[client].FadeOverTime(1, 0, 0, 0, 0);
- this.MenuOpen[client] = false;
- }
- else
- {
- PS3.SetMemory(0x268e1e0, new byte[] { 1 });
- this.rechter[client].FadeQuick(1, 0, 0, 0, 0xff);
- this.MenuTitle[client].SetGlow(255M, 106M, 0M, 255M);
- this.rechter[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
- this.Linker[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
- this.MenuTitle[client].FadeToFast(1, 0xff, 0xff, 0xff, 0xff);
- this.Background[client].FadeQuick(1, 0, 0, 0, 180);
- this.Scrollbar[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
- this.MenuText[client].FadeToFast(1, 0xff, 0xff, 0xff, 0xff);
- this.MenuOpen[client] = true;
- }
- }
- private void SpeedTog(int client)
- {
- if (!this.LobbySpeedTog)
- {
- PS3.SetMemory(0x22c98c, new byte[] { 0x20, 160, 5, 190 });
- Mods.iPrintlnBold(client, "Host Changed Lobby Speed to : ^2High");
- this.LobbySpeedTog = true;
- }
- else
- {
- PS3.SetMemory(0x22c98c, new byte[] { 0x38, 160, 0, 190 });
- Mods.iPrintlnBold(client, "Host Changed Lobby Speed to : ^2Normal");
- this.LobbySpeedTog = false;
- }
- }
- private void StartAimbot(int client)
- {
- this.timer2.Start();
- Mods.iPrintlnBold(client, "Aimbot : ^2Enabled");
- }
- private void StartSpinningMode()
- {
- if (this.TripModeSwitch == 0)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x49 });
- Mods.SV_GameSendServerCommand(0, "J ac130_thermal");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 1)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x48 });
- Mods.SV_GameSendServerCommand(0, "J aftermath");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 2)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x47 });
- Mods.SV_GameSendServerCommand(0, "J default_night_mp");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 3)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 70 });
- Mods.SV_GameSendServerCommand(0, "J near_death_mp");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 4)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x45 });
- Mods.SV_GameSendServerCommand(0, "J mpnuke_aftermath");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 5)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x44 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 6)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x43 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 7)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x42 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 8)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x41 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 9)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x40 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch = 0;
- }
- }
- private void TeleportClientToPosition(int ClientInt)
- {
- byte[] input = File.ReadAllBytes("Position.txt");
- PS3.Extension.WriteBytes(TeleportOffset + ((uint) (ClientInt * 0x3700)), input);
- }
- private void TeleportEveryoneToHost(int ClientInt)
- {
- Mods.iPrintlnBold(0, "^2EVERYONE TELEPORTET TO HOST");
- byte[] input = PS3.Extension.ReadBytes(TeleportOffset, 14);
- for (uint i = 1; i < 11; i++)
- {
- uint offset = TeleportOffset + (0x3700 * i);
- PS3.Extension.WriteBytes(offset, input);
- }
- }
- private void TeleportEveryoneToPosition(int ClientInt)
- {
- Mods.iPrintlnBold(0, "^2EVERYONE TELEPORTET TO SAVED POSITION");
- byte[] input = File.ReadAllBytes("Position.txt");
- for (uint i = 1; i < 11; i++)
- {
- uint offset = TeleportOffset + (0x3700 * i);
- PS3.Extension.WriteBytes(offset, input);
- }
- }
- private void ThemeBlack(int client)
- {
- Mods.iPrintlnBold(client, "Theme : Black");
- this.MenuTitle[client].FadeGlow(1, 0, 0, 0, 0xff);
- this.Linker[client].FadeQuick(1, 0, 0, 0, 0xff);
- this.rechter[client].FadeQuick(1, 0, 0, 0, 0xff);
- this.Scrollbar[client].FadeQuick(1, 0, 0, 0, 0xff);
- }
- private void ThemeBlue(int client)
- {
- Mods.iPrintlnBold(client, "Theme : ^4Blue");
- this.MenuTitle[client].FadeGlow(1, 0, 0, 0xff, 0xff);
- this.Linker[client].FadeQuick(1, 0, 0, 0xff, 0xff);
- this.rechter[client].FadeQuick(1, 0, 0, 0xff, 0xff);
- this.Scrollbar[client].FadeQuick(1, 0, 0, 0xff, 0xff);
- }
- private void ThemeDefault(int client)
- {
- Mods.iPrintlnBold(client, "Theme : Default");
- this.MenuTitle[client].FadeGlow(1, 0xff, 0x6a, 0, 0xff);
- this.Linker[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
- this.rechter[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
- this.Scrollbar[client].FadeQuick(1, 0xff, 0x6a, 0, 0xff);
- }
- private void ThemeGreen(int client)
- {
- Mods.iPrintlnBold(client, "Theme : ^2Green");
- this.MenuTitle[client].FadeGlow(1, 0, 0xff, 0, 0xff);
- this.Linker[client].FadeQuick(1, 0, 0xff, 0, 0xff);
- this.rechter[client].FadeQuick(1, 0, 0xff, 0, 0xff);
- this.Scrollbar[client].FadeQuick(1, 0, 0xff, 0, 0xff);
- }
- private void ThemePurple(int client)
- {
- Mods.iPrintlnBold(client, "Theme : ^6Purple");
- this.MenuTitle[client].FadeGlow(1, 0x94, 0, 0xd3, 0xff);
- this.Linker[client].FadeQuick(1, 0x94, 0, 0xd3, 0xff);
- this.rechter[client].FadeQuick(1, 0x94, 0, 0xd3, 0xff);
- this.Scrollbar[client].FadeQuick(1, 0x94, 0, 0xd3, 0xff);
- }
- private void timer1_Tick(object sender, EventArgs e)
- {
- }
- private void timer1_Tick_1(object sender, EventArgs e)
- {
- }
- private void timer2_Tick(object sender, EventArgs e)
- {
- Aimbot.setClientViewAngles(0);
- }
- private void timer2_Tick_1(object sender, EventArgs e)
- {
- Aimbot.setClientViewAngles(0);
- }
- private void timer3_Tick(object sender, EventArgs e)
- {
- if (this.TripModeSwitch == 0)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x49 });
- Mods.SV_GameSendServerCommand(0, "J ac130_thermal");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 1)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x48 });
- Mods.SV_GameSendServerCommand(0, "J aftermath");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 2)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x47 });
- Mods.SV_GameSendServerCommand(0, "J missilecam");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 3)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 70 });
- Mods.SV_GameSendServerCommand(0, "J ac130");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 4)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x45 });
- Mods.SV_GameSendServerCommand(0, "J mpnuke_aftermath");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 5)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x44 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 6)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x43 });
- Mods.SV_GameSendServerCommand(0, "J missilecam");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 7)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x42 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 8)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x41 });
- Mods.SV_GameSendServerCommand(0, "J thermal_mo");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 9)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x40 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch = 0;
- }
- }
- private void timer3_Tick_1(object sender, EventArgs e)
- {
- if (this.TripModeSwitch == 0)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x49 });
- Mods.SV_GameSendServerCommand(0, "J ac130_thermal");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 1)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x48 });
- Mods.SV_GameSendServerCommand(0, "J aftermath");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 2)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x47 });
- Mods.SV_GameSendServerCommand(0, "J missilecam");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 3)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 70 });
- Mods.SV_GameSendServerCommand(0, "J ac130");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 4)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x45 });
- Mods.SV_GameSendServerCommand(0, "J mpnuke_aftermath");
- Thread.Sleep(300);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 5)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x44 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 6)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x43 });
- Mods.SV_GameSendServerCommand(0, "J missilecam");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 7)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x42 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 8)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x41 });
- Mods.SV_GameSendServerCommand(0, "J thermal_mo");
- Thread.Sleep(100);
- this.TripModeSwitch++;
- }
- else if (this.TripModeSwitch == 9)
- {
- PS3.SetMemory(0xf4446c, new byte[] { 0x40 });
- Mods.SV_GameSendServerCommand(0, "J end_game");
- Thread.Sleep(100);
- this.TripModeSwitch = 0;
- }
- }
- private void UfoTog1(int client)
- {
- if (!this.UfoSwitch)
- {
- Mods.iPrintlnBold(client, "Ufo Mod : ^2Enabled");
- PS3.SetMemory((uint) (0xf4771f + (client * 0x3700)), new byte[] { 2 });
- this.UfoSwitch = true;
- }
- else
- {
- Mods.iPrintlnBold(client, "Ufo Mod : ^1Disabled");
- PS3.SetMemory((uint) (0xf4771f + (client * 0x3700)), new byte[1]);
- this.UfoSwitch = false;
- }
- }
- public void Unlock()
- {
- this.Freezeon();
- Mods.iPrintlnBold(0, "Unlocking All ... ");
- Thread.Sleep(900);
- Mods.iPrintlnBold(0, "Unlocking All ... || ^220/100%");
- Thread.Sleep(900);
- Mods.iPrintlnBold(0, "Unlocking All ... || ^240/100%");
- Thread.Sleep(900);
- Mods.iPrintlnBold(0, "Unlocking All ... || ^260/100%");
- Thread.Sleep(900);
- Mods.iPrintlnBold(0, "Unlocking All ... || ^280/100%");
- Thread.Sleep(900);
- Mods.iPrintlnBold(0, "Unlocking All ... || ^2100/100%");
- Thread.Sleep(900);
- Mods.iPrintlnBold(0, "Unlocked : ^2Everything ");
- this.FreezeOff();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement