If anyone can help me out with DeathRattle, its built in mainly C# / Import DLL's ( External Classes ) and im having this one issue which you can read about down below... If i get this working, i might considering releasing my bypass to the few users who contributed. Thanks <3
Im using this to send a command to my driver.. My code is below..
byte[] Arrays = { 0x65, 0x78, 0x65, 0x63, 0x56, 0x4d, 0x20, 0x27, 0x68, 0x69, 0x2e, 0x73, 0x71, 0x66, 0x27, 0x3b };
int Array_Length = Arrays.Length;
Log.WriteLine(String_Length);//Prints Length = "16"
Memory.Write(0x169F5D88, Arrays, Array_Length);
public static void Write(int address, object value, int length) {
byte[] arr = new byte[length];
IntPtr ptr = Marshal.AllocHGlobal(length);
Marshal.StructureToPtr(value, ptr, true);//Error Line
Marshal.Copy(ptr, arr, 0, length);
Marshal.FreeHGlobal(ptr);
#if (DRIVER)
DriverControl.WriteMem(address, length, arr);
#else
WriteProcessMemory(Settings.gameHandle, address, arr, length, 0);
#endif
}
Marshal.StructureToPtr(value, ptr, true);
An unhandled exception of type 'System.ArgumentException' occurred in DeathRattle.exe
Additional information: The specified structure must be blittable or have layout information.