Tutorial Alternative for cursorpos hook

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

JackSkellington

French Fag
Dank Tier Donator
Full Member
Feb 14, 2020
24
428
0
Game Name
Team Fortress 2, Counter-Strike: Source
Anticheat
VAC
How long you been coding/hacking?
Coding: 3 Years Game Hacking: 4~5M
Hi everyone :)

Today im gonna show you an alternive to mousehook.

I think this only works on source engine game based but im not sure.

So load up your game mine is Team Fortress 2.

Go in game and alt-tab to your cheat-engine like that:

1.PNG


Change value to 1 and hit First Scan.
Now go on your tf2 menu and change value to 2 and hit Next Scan.
2.PNG

Now you should have 300~500 Results try to search a green static address with vguimatsurface.dll
3.PNG

Im gonna try to explain what this address do: This address takes care of unlocking mouse so that you can navigate in the menu but if you assign it the value of 2 in game you can navigate in your cheat without hocking mousepos.

Implementation:​
Mouse Unlock Implementation:
    if (GetAsyncKeyState(VK_INSERT) & 1)
    {
        int iMouseLock = *(int*)(vguimatsurface + mouseLock);
        bShow = !bShow;
        if (vguimatsurface != NULL && iMouseLock == 2)
            *(int*)(vguimatsurface + mouseLock) = 1;
        if (vguimatsurface != NULL && iMouseLock == 1)
            *(int*)(vguimatsurface + mouseLock) = 2;
    }
Proof Of Concept:
Not MouseHooking
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods