Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Updating...
- /MW3 ALL CLIENT UAV:
- //ON: GameSendServerCommand(0, "q g_compassshowenemies 1");
- //OFF: GameSendServerCommand(0, "q g_compassshowenemies 0");
- //ex.
- private void button1_Click(object sender, EventArgs e)
- {
- GameSendServerCommand((int), "g_compassshowenemies 1");
- }
- //NOTE: You need to have RPC for SendServerCommand!
- //ANTIQUIT:
- byte[] buffer = new byte[0x20];
- GameSendServerCommand((int), "g_scriptmainmenu");
- Thread.Sleep(10);
- PS3.SetMemory(0x523b30, buffer);
- //Give All Perks:
- byte[] buffer = new byte[]
- {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 12, 0x30, 0x8e, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 7, 0xff, 0, 0, 0, 0, 0, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff
- };
- PS3.Setmemory(0x110a73f + (i * 0x3980), buffer);
- /*MW3 MODELS:
- http://www.nextgenupdate.com/forums/modern-warfare-3-mods-patches-tutorials/728968-release-mw3-models-offset-values-source-code-post5795522.html
- ((int), "vehicle_av8b_harrier_jet_mp"); //Harrier*/
- //Models CODE C#
- /*private void method_16(int int_4, string string_3)
- {
- smethod_4(0x1bef5c, (uint) (0xfca280 + (int_4 * 640)), smethod_3(string_3), 0, 0, 0);
- }
- public static void smethod_4(uint uint_9, uint uint_10 = 0, uint uint_11 = 0, uint uint_12 = 0, uint uint_13 = 0, uint uint_14 = 0)
- {
- byte[] bytes = BitConverter.GetBytes(uint_10);
- byte[] array = BitConverter.GetBytes(uint_11);
- byte[] buffer3 = BitConverter.GetBytes(uint_12);
- byte[] buffer4 = BitConverter.GetBytes(uint_13);
- byte[] buffer5 = BitConverter.GetBytes(uint_14);
- Array.Reverse(bytes);
- Array.Reverse(array);
- Array.Reverse(buffer3);
- Array.Reverse(buffer4);
- Array.Reverse(buffer5);
- GSetMemory.SetMemory(0x523b10, bytes);
- GSetMemory.SetMemory(0x523b14, array);
- GSetMemory.SetMemory(0x523b18, buffer3);
- GSetMemory.SetMemory(0x523b1c, buffer4);
- GSetMemory.SetMemory(0x523b20, buffer5);
- GSetMemory.SetMemory(0x3bca04, smethod_5(0x3bca04, uint_9));
- byte[] buffer6 = new byte[4];
- buffer6[3] = 1;
- GSetMemory.SetMemory(0x1db1244, buffer6);
- Thread.Sleep(10);
- }
- ublic static byte[] smethod_5(uint uint_9, uint uint_10)
- {
- byte[] array = new byte[4];
- uint num = (uint_10 - uint_9) + 1;
- if (uint_10 > uint_9)
- {
- array[3] = 0x48;
- }
- else
- {
- array[3] = 0x4b;
- num = (0x1000000 - (uint_9 - uint_10)) + 1;
- }
- byte[] bytes = BitConverter.GetBytes(num);
- for (int i = 0; i < 3; i++)
- {
- array[i] = bytes[i];
- }
- Array.Reverse(array);
- return array;
- }
- public static uint smethod_3(string string_3)
- {
- uint num2;
- uint num = 0x523b30;
- byte[] buffer = new byte[1];
- for (num2 = 0; num2 < 5; num2++)
- {
- PS3.SetMemory(num, ref buffer);
- if (buffer[0] == 0)
- {
- break;
- }
- if (num2 == 4)
- {
- num2 = 0;
- break;
- }
- }
- num = 0x523b30 + (num2 * 0x68);
- PS3.SetMemory(num, new byte[0x68]);
- PS3.SetMemory(num, Encoding.UTF8.GetBytes(string_3));
- return num;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement