//C# / MLibary / write Long//

11/26/2013 21:10 D3vIn3r#1
Hello Com,
I've got a question. I would like to write with the MLibary by Zero a Hack. But I've got a problem. The type of the Hacks I want to write in there is long. And I dont know how to write the type long in C# with this MLibary.
I know about the Comman Zero.Writelong but theres no Process.
11/27/2013 03:40 davydavekk#2
I dont know this MLibrary, but I guess you have to enter the processname. What is the function's prototype ?
11/27/2013 14:23 D3vIn3r#3
Quote:
Originally Posted by davydavekk View Post
I dont know this MLibrary, but I guess you have to enter the processname. What is the function's prototype ?
This is the problem. I cant write the process.
And here is the MLibary
11/28/2013 02:33 davydavekk#4
I don't know who wrote this class but ... seriously ?

Code:
public static void WriteLong(int Address, long Value)
{
	try
	{
		Process currentProcess = Process.GetCurrentProcess();
		int num = 0;
		int num2 = Zero.OpenProcess(2035711, 0, currentProcess.Id);
		if (num2 != 0)
		{
			Zero.WriteProcessMemoryLong(num2, Address, ref Value, 4, ref num);
		}
		Zero.CloseHandle(num2);
	}
	catch
	{
	}
}
It makes no sense because its openning its own process.



You better use another class (or write you own) to make your hack.