Mouse cant move ingame

Posts 113 of 13 · Page 1 of 1
Mouse cant move ingame
Well i want that my Mouse can move ingame like i already drawed a point on the mouse position but ingame i cant move the mosepoint bcuz its always where the aimpoint is, so in the middle. Does any1 know how to enable him so that i can move him to my menu ?

Thanks
I believe its a ptc maybe wrong never tried this
UnlockCursor
Quote Originally Posted by whit View Post
I believe its a ptc maybe wrong never tried this
UnlockCursor
Thanks willt try and edit
Quote Originally Posted by Sydney View Post
Thanks willt try and edit
No problem man..
UnlockCursor = 1 (Actived)
UnlockCursor = 0 (Desactived)

So you turn the tables, let 0, then the bottom one, because if he had entered the game activated
Quote Originally Posted by Alessandro10 View Post
UnlockCursor = 1 (Actived)
UnlockCursor = 0 (Desactived)

So you turn the tables, let 0, then the bottom one, because if he had entered the game activated
Isnt working i did it like this.

If(menu.show)

Command("UnlockCursor 1");

And ingame if i open menu(menu.show) then its not unlocked.
Its still in the middle.
The PTC doesn't work. Don't even try lol. When you are in game, press ESC on your key board and then your mouse is unlocked.
Quote Originally Posted by fck3 View Post
The PTC doesn't work. Don't even try lol. When you are in game, press ESC on your key board and then your mouse is unlocked.
Ik that trick. But its nooby. The coder from another vip got it to work to so i want to know what hes using.
Hotkeys version.

Code:
bool unlockcursor= false;

        if(GetAsyncKeyState(VK_INSERT)<0){
            if(unlockcursor){
               PTC("CursorCenter 0");
                unlockcursor = false;
            } else {
                PTC("CursorCenter 1");
                unlockcursor = true;
            }
        }
OBS: false will receive 0, so do not enter the game enabled .. insert will be pressed to activate.

Menu now depends on what you said.
Code:
void UnlockArrow()
{
	HMODULE hMyMod = NULL;
	hMyMod = GetModuleHandle("USER32.dll");

	if(hMyMod){

		DWORD dwTemp = NULL;
		dwTemp =    (DWORD)GetProcAddress(hMyMod, "SetCursorPos");

		if(dwTemp){

		DWORD dwProtect;
		VirtualProtect((void*)dwTemp, 3, PAGE_EXECUTE_READWRITE, &dwProtect);
		memcpy((void*)dwTemp, &UnlockMouse, 3);
		VirtualProtect((void*)dwTemp, 3, dwProtect, &dwProtect);
This is what your looking for?
Quote Originally Posted by BSOD View Post
Code:
void UnlockArrow()
{
	HMODULE hMyMod = NULL;
	hMyMod = GetModuleHandle("USER32.dll");

	if(hMyMod){

		DWORD dwTemp = NULL;
		dwTemp =    (DWORD)GetProcAddress(hMyMod, "SetCursorPos");

		if(dwTemp){

		DWORD dwProtect;
		VirtualProtect((void*)dwTemp, 3, PAGE_EXECUTE_READWRITE, &dwProtect);
		memcpy((void*)dwTemp, &UnlockMouse, 3);
		VirtualProtect((void*)dwTemp, 3, dwProtect, &dwProtect);
This is what your looking for?
Maybe more Informations ?
Quote Originally Posted by Sydney View Post
Maybe more Informations ?
You want to move your mouse in game , forming a clickable menu am i right?

Press esc and use this function.

In your main thread , put
Code:
UnlockArrow();
What more do you want?

Any other thing you do depends on your hack.
Thanks, /Solved
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?