 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Apr 14, 2008 1:15 pm Post subject: Code no working C++ |
|
|
Language is C++
I got all the functions, and im making an autoclicker in which you can specify the coordinates.
This works:
| Code: | POINT Pos;
myPostMessageA(cHandle, WM_LBUTTONDOWN, NULL, (LPARAM)&Pos);
myPostMessageA(cHandle, WM_LBUTTONUP, NULL, (LPARAM)&Pos);
|
But this does not:
| Code: | POINT pt;
pt.x = 600;
pt.y = 600;
myPostMessageA(cHandle, WM_LBUTTONDOWN, NULL, (LPARAM)(pt.x,pt.y));
myPostMessageA(cHandle, WM_LBUTTONUP, NULL, (LPARAM)(pt.x,pt.y));
|
It glitches and sticks in the top of the maplestory window...
Help anyone?
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Mon Apr 14, 2008 1:34 pm Post subject: |
|
|
myPostMessageA( cHandle, WM_LBUTTONDOWN, MK_LBUTTON, MAKELPARAM(pt.x, pt.y));
_________________
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Apr 14, 2008 1:48 pm Post subject: |
|
|
| Thanks ur the best!
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|