Solved Help with clickable menu

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

dromenox

Newbie
May 3, 2014
6
122
0
Hello again!

I'm creating a clickable menu, so i need use the mouse position. The problem is that when i move the camera the cursor won't move together, it remains in a fix position.
Somebody have some sugestion to fix this?

I'm planning on posting it here when I'm done.

The look I did like a well known D3D menu for combat arms. Have yet to add checkboxes, sliders, ...

A screenshot:
screen.png
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,140
78,998
2,394
Assault Cube / OpenGL doesn't have a mouse cursor, it's keyboard input for all the menus, so just make your menu use the keyboard, or if you must have mouse input you can create your own OpenGL cursor, just a small rectangle that moves with mouse input.
 

Solaire

Respected Hacker
Dank Tier VIP
Dec 15, 2013
1,051
16,353
62
Hello again!

I'm creating a clickable menu, so i need use the mouse position. The problem is that when i move the camera the cursor won't move together, it remains in a fix position.
Somebody have some sugestion to fix this?

I'm planning on posting it here when I'm done.

The look I did like a well known D3D menu for combat arms. Have yet to add checkboxes, sliders, ...

A screenshot:
Hook wherever they read the mouse position before they lock it back in place, subtract from default vals, add distance to drawn mouse, or something along the lines of that. Or read the mouse position constantly to see if you can catch any jitters I guess. If the game disabled mouse movement completely (Can they even do that?) Find out where the game reads movement of the mouse from, and get your values from there.
 
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