S SancakDesign Zeptopat Katılım 18 Kasım 2022 Mesajlar 1 Daha fazla Cinsiyet Erkek 18 Kasım 2022 #1 Merhabalar. Memoryden işlem yapmak istiyorum ve adresi eklediğimde bir hata alıyorum. C#:Panoya kopyala string baseadress = "oyunismi.exe+0044DB6C"; WritePointerFloat(Convert.ToInt32(pidLabel.Text), (Convert.ToInt32(baseadress)), new int[5] { offset1, offset2, offset3, offset4, offset5 }, Val.Value); Aldığım hata : Özel Durum İşlenmedi -> System.FormatException: 'Giriş dizesi doğru biçimde değildi.' Yardımcı olabilirseniz çok sevinirim. WritePointerFloat Fonksiyonu C#:Panoya kopyala public static void WritePointerFloat(int PID, int Pointer, int[] Offset, float Value) { checked { try { Process Proc = Process.GetProcessById(PID); if (Proc.Id != 0) { int Handle = OpenProcess(PROCESS_ALL_ACCESS, 0, Proc.Id); if (Handle != 0) { int Bytes = 0; foreach (int i in Offset) { ReadProcessMemoryInteger(Handle, Pointer, ref Pointer, 4, ref Bytes); Pointer += i; } WriteProcessMemoryFloat(Handle, Pointer, ref Value, 4, ref Bytes); } CloseHandle(Handle); } } catch { } } Sorunu asm ile çözdüm gerek kalmadı kapanabilir. Son düzenleme: 19 Kasım 2022
Merhabalar. Memoryden işlem yapmak istiyorum ve adresi eklediğimde bir hata alıyorum. C#:Panoya kopyala string baseadress = "oyunismi.exe+0044DB6C"; WritePointerFloat(Convert.ToInt32(pidLabel.Text), (Convert.ToInt32(baseadress)), new int[5] { offset1, offset2, offset3, offset4, offset5 }, Val.Value); Aldığım hata : Özel Durum İşlenmedi -> System.FormatException: 'Giriş dizesi doğru biçimde değildi.' Yardımcı olabilirseniz çok sevinirim. WritePointerFloat Fonksiyonu C#:Panoya kopyala public static void WritePointerFloat(int PID, int Pointer, int[] Offset, float Value) { checked { try { Process Proc = Process.GetProcessById(PID); if (Proc.Id != 0) { int Handle = OpenProcess(PROCESS_ALL_ACCESS, 0, Proc.Id); if (Handle != 0) { int Bytes = 0; foreach (int i in Offset) { ReadProcessMemoryInteger(Handle, Pointer, ref Pointer, 4, ref Bytes); Pointer += i; } WriteProcessMemoryFloat(Handle, Pointer, ref Value, 4, ref Bytes); } CloseHandle(Handle); } } catch { } } Sorunu asm ile çözdüm gerek kalmadı kapanabilir.