| View previous topic :: View next topic |
| Author |
Message |
Dymo Grandmaster Cheater
Reputation: 0
Joined: 16 Sep 2007 Posts: 604 Location: The Netherlands, Noord-Brabant
|
Posted: Wed Jan 30, 2008 11:39 am Post subject: Moving mouse (MapleStory) |
|
|
| I'm looking for an effective way to change my mouse coördinates, like Vista AC by Gthuggin / X-Trainer. |
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Wed Jan 30, 2008 12:02 pm Post subject: |
|
|
Did you try SetCursorPos() ?
I'm not sure if it's hooked but I think it is...since GameGuard hooks alle simple usermode api's.  |
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Wed Jan 30, 2008 1:02 pm Post subject: |
|
|
It works when you move your mouse over the buttons manually, so use SetCursorPos to move it...
And its weird, I tried bypass it but its diffrent than PostMessage, I don't know but it didn't worked...  |
|
| Back to top |
|
 |
tornarrow Master Cheater
Reputation: 0
Joined: 29 Jan 2008 Posts: 289
|
Posted: Wed Jan 30, 2008 1:13 pm Post subject: |
|
|
| Use SetCursorPos :\ |
|
| Back to top |
|
 |
Dymo Grandmaster Cheater
Reputation: 0
Joined: 16 Sep 2007 Posts: 604 Location: The Netherlands, Noord-Brabant
|
Posted: Wed Jan 30, 2008 3:00 pm Post subject: |
|
|
Won't work  |
|
| Back to top |
|
 |
Eyalos Master Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 343
|
Posted: Wed Jan 30, 2008 3:07 pm Post subject: |
|
|
SetCursorPos is hooked by GameGuard (5bytes shit with the user32),
I posted a topic about API's with delphi, couldnt figure out that  |
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Wed Jan 30, 2008 4:25 pm Post subject: |
|
|
| Dymo wrote: | Won't work  |
PostMessage WM_MouseMove with SetCursorPos. |
|
| Back to top |
|
 |
Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
Posted: Wed Jan 30, 2008 4:43 pm Post subject: |
|
|
| Code: |
void Set_Cursor_Pos ( int Mouse_X, int Mouse_Y )
{
double fScreenWidth = GetSystemMetrics( SM_CXSCREEN )-1;
double fScreenHeight = GetSystemMetrics( SM_CYSCREEN )-1;
double FX = Mouse_X*( 65535.0f/fScreenWidth );
double FY = Mouse_Y*( 65535.0f/fScreenHeight );
INPUT Input = { 0 };
Input.type = INPUT_MOUSE;
Input.mi.dwFlags = MOUSEEVENTF_MOVE|MOUSEEVENTF_ABSOLUTE;
Input.mi.dx = FX;
Input.mi.dy = FY;
SendInput( 1,&Input,sizeof ( INPUT ) );
}
|
_________________
What dosen't kill you, usually does the second time. |
|
| Back to top |
|
 |
Dymo Grandmaster Cheater
Reputation: 0
Joined: 16 Sep 2007 Posts: 604 Location: The Netherlands, Noord-Brabant
|
Posted: Sat Feb 02, 2008 7:22 pm Post subject: |
|
|
Isn't that C++?  |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sat Feb 02, 2008 7:30 pm Post subject: |
|
|
The Delphi equivalent would be something along the lines of
| Code: |
procedure Set_Cursor_Pos (var Mouse_X, Mouse_Y : int);
var
fScreenWidth,
fScreenHeight,
FX,
FY : double;
input : INPUT;
begin
fScreenWidth := GetSystemMetrics( SM_CXSCREEN )-1;
fScreenHeight := GetSystemMetrics( SM_CYSCREEN )-1;
FX := Mouse_X*( 65535.0f/fScreenWidth );
FY := Mouse_Y*( 65535.0f/fScreenHeight );
input.type := INPUT_MOUSE;
input.mi.dwFlags := MOUSEEVENTF_MOVE|MOUSEEVENTF_ABSOLUTE;
input.mi.dx := FX;
input.mi.dy := FY;
SendInput( 1,&Input,sizeof ( INPUT ) );
end;
|
_________________
|
|
| Back to top |
|
 |
|