k here goes,
So I know if you freeze the sv_cheats adress and do mat_wireframe 3 it's undetectable. But I made a C# hack to do the exact same thing.
using System; using System.Diagnostics; using ProcessMemoryReaderLib; namespace CSS_Wallhack { class Program { static void Main( ) { string cmdInput; Console.WriteLine("CSS Wallhack by Lynie"); Console.WriteLine("-----------------------------------"); Console.WriteLine(" sv_cheats freezed "); Console.WriteLine("-----------------------------------"); Console.WriteLine( ); Console.WriteLine("Type in "wall" to enable/disbable the wallhack"); ProcessMemoryReader pReader2 = new ProcessMemoryReader(); Process[] ProcessSnap2; Process hProcess2 = null; ProcessSnap2 = Process.GetProcesses(); IntPtr sv_cheats_adress = (IntPtr)0x2051E744; byte[] sv_cheats_value = new byte[4]; int store_sv_cheats = 0; sv_cheats_value = BitConverter.GetBytes(1); for (int n = 0; n < ProcessSnap2.Length; n++) { if (ProcessSnap2[n].ProcessName == "hl2") hProcess2 = ProcessSnap2[n]; } pReader2.ReadProcess = hProcess2; pReader2.OpenProcess(); while(true) { cmdInput = Console.ReadLine( ); if (cmdInput == "wall") { if (Memorynub.freeze) { Memorynub.freeze = false; Console.WriteLine("Wallhack Disabled"); } else { Memorynub.freeze = true; Console.WriteLine("Wallhack Enabled"); } Memorynub.wireframe_wallhack(Memorynub.freeze); pReader2.WriteProcessMemory(sv_cheats_adress, sv_cheats_value, out store_sv_cheats); } } } } class Memorynub { public static bool freeze = false; public static void sv_cheats_freeze( ) { } public static void wireframe_wallhack(bool g) { ProcessMemoryReader pReader = new ProcessMemoryReader(); Process[] ProcessSnap; Process hProcess = null; IntPtr wireframe_adress = (IntPtr)0x204EF37C; byte[] wireframe_value = new byte[4]; wireframe_value = BitConverter.GetBytes(3); ProcessSnap = Process.GetProcesses(); for (int n = 0; n < ProcessSnap.Length; n++) { if (ProcessSnap[n].ProcessName == "hl2") hProcess = ProcessSnap[n]; } pReader.ReadProcess = hProcess; pReader.OpenProcess(); int store_wireframe = 0; if (g) pReader.WriteProcessMemory(wireframe_adress, wireframe_value, out store_wireframe); } } }
Comment