CPP RELEASE FreezeRotation.exe - disable Spin And Rotation Matrix

Infam0s

Active member
Joined
Apr 2, 2016
Messages
66
Reaction score
0
0x32789 said:
this code in c++ s0b freeze my game
Code:
void FreezeRotationStart()
{
	DWORD pId;
    DWORD dwOldProtect = 0;
    HANDLE pHandle;
    HWND hWnd = 0;
    DWORD vpointer = 0;
    DWORD collflags;
    BYTE inair;
    float zero = 0.0;
    while(hWnd == 0){
        hWnd = FindWindow(0, "GTA:SA:MP");
        Sleep(100);
    }
    GetWindowThreadProcessId(hWnd, &pId);
    pHandle = OpenProcess(PROCESS_ALL_ACCESS|PROCESS_VM_OPERATION, TRUE, pId);

    for(;;)
	{
		if(FreezeRotation == true)
		{
			ReadProcessMemory(pHandle, (LPCVOID)0xBA18FC, &vpointer, 4, 0);
			if(vpointer >= 1)
			{
				collflags = vpointer + 185;
				ReadProcessMemory(pHandle, (LPCVOID)collflags, &inair, 1, 0);
				if(inair == false){
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50), (LPVOID)&zero, 4, NULL);
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50 + 4), (LPVOID)&zero, 4, NULL);
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50 + 8), (LPVOID)&zero, 4, NULL);
				}
			}
			Sleep(10);
		}
    }
    CloseHandle(pHandle);
}

Help Appreciated!  :computer_guy:

You just copy and pasted it.
 

Infam0s

Active member
Joined
Apr 2, 2016
Messages
66
Reaction score
0
0x32789 said:
this code in c++ s0b freeze my game
Code:
void FreezeRotationStart()
{
	DWORD pId;
    DWORD dwOldProtect = 0;
    HANDLE pHandle;
    HWND hWnd = 0;
    DWORD vpointer = 0;
    DWORD collflags;
    BYTE inair;
    float zero = 0.0;
    while(hWnd == 0){
        hWnd = FindWindow(0, "GTA:SA:MP");
        Sleep(100);
    }
    GetWindowThreadProcessId(hWnd, &pId);
    pHandle = OpenProcess(PROCESS_ALL_ACCESS|PROCESS_VM_OPERATION, TRUE, pId);

    for(;;)
	{
		if(FreezeRotation == true)
		{
			ReadProcessMemory(pHandle, (LPCVOID)0xBA18FC, &vpointer, 4, 0);
			if(vpointer >= 1)
			{
				collflags = vpointer + 185;
				ReadProcessMemory(pHandle, (LPCVOID)collflags, &inair, 1, 0);
				if(inair == false){
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50), (LPVOID)&zero, 4, NULL);
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50 + 4), (LPVOID)&zero, 4, NULL);
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50 + 8), (LPVOID)&zero, 4, NULL);
				}
			}
			Sleep(10);
		}
    }
    CloseHandle(pHandle);
}

Help Appreciated!  :computer_guy:

You just copy and pasted it.
It developed to external hack, what it means that you need to convert all the code (or half)
and basicly the for(;;) function pauses your game (that is one of a few things that may pause your game).
 

Infam0s

Active member
Joined
Apr 2, 2016
Messages
66
Reaction score
0
0x32789 said:
this code in c++ s0b freeze my game
Code:
void FreezeRotationStart()
{
	DWORD pId;
    DWORD dwOldProtect = 0;
    HANDLE pHandle;
    HWND hWnd = 0;
    DWORD vpointer = 0;
    DWORD collflags;
    BYTE inair;
    float zero = 0.0;
    while(hWnd == 0){
        hWnd = FindWindow(0, "GTA:SA:MP");
        Sleep(100);
    }
    GetWindowThreadProcessId(hWnd, &pId);
    pHandle = OpenProcess(PROCESS_ALL_ACCESS|PROCESS_VM_OPERATION, TRUE, pId);

    for(;;)
	{
		if(FreezeRotation == true)
		{
			ReadProcessMemory(pHandle, (LPCVOID)0xBA18FC, &vpointer, 4, 0);
			if(vpointer >= 1)
			{
				collflags = vpointer + 185;
				ReadProcessMemory(pHandle, (LPCVOID)collflags, &inair, 1, 0);
				if(inair == false){
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50), (LPVOID)&zero, 4, NULL);
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50 + 4), (LPVOID)&zero, 4, NULL);
					WriteProcessMemory(pHandle, (LPVOID)(vpointer + 0x50 + 8), (LPVOID)&zero, 4, NULL);
				}
			}
			Sleep(10);
		}
    }
    CloseHandle(pHandle);
}

Help Appreciated!  :computer_guy:

You just copy and pasted it.
It developed to external hack, what it means that you need to convert all the code (or half)
and basicly the "for(;;)" function pauses your game (that is one of a few things that may pause your game).
 

Infam0s

Active member
Joined
Apr 2, 2016
Messages
66
Reaction score
0
W0x32789 said:
lol I already got it to working
I made a handle for it already

Actually you don't need to add that to 0.3.7 s0beit, because FYP already added this.
And nice that you make it working.
 
Top