Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Moving mouse (MapleStory)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Dymo
Grandmaster Cheater
Reputation: 0

Joined: 16 Sep 2007
Posts: 604
Location: The Netherlands, Noord-Brabant

PostPosted: Wed Jan 30, 2008 11:39 am    Post subject: Moving mouse (MapleStory) Reply with quote

I'm looking for an effective way to change my mouse coördinates, like Vista AC by Gthuggin / X-Trainer.
Back to top
View user's profile Send private message Send e-mail
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Wed Jan 30, 2008 12:02 pm    Post subject: Reply with quote

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. Rolling Eyes
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Wed Jan 30, 2008 1:02 pm    Post subject: Reply with quote

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... Confused
Back to top
View user's profile Send private message
tornarrow
Master Cheater
Reputation: 0

Joined: 29 Jan 2008
Posts: 289

PostPosted: Wed Jan 30, 2008 1:13 pm    Post subject: Reply with quote

Use SetCursorPos :\
Back to top
View user's profile Send private message
Dymo
Grandmaster Cheater
Reputation: 0

Joined: 16 Sep 2007
Posts: 604
Location: The Netherlands, Noord-Brabant

PostPosted: Wed Jan 30, 2008 3:00 pm    Post subject: Reply with quote

Won't work Crying or Very sad
Back to top
View user's profile Send private message Send e-mail
Eyalos
Master Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 343

PostPosted: Wed Jan 30, 2008 3:07 pm    Post subject: Reply with quote

SetCursorPos is hooked by GameGuard (5bytes shit with the user32),
I posted a topic about API's with delphi, couldnt figure out that Razz
Back to top
View user's profile Send private message MSN Messenger
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Wed Jan 30, 2008 4:25 pm    Post subject: Reply with quote

Dymo wrote:
Won't work Crying or Very sad

PostMessage WM_MouseMove with SetCursorPos.
Back to top
View user's profile Send private message
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Wed Jan 30, 2008 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dymo
Grandmaster Cheater
Reputation: 0

Joined: 16 Sep 2007
Posts: 604
Location: The Netherlands, Noord-Brabant

PostPosted: Sat Feb 02, 2008 7:22 pm    Post subject: Reply with quote

Isn't that C++? Crying or Very sad
Back to top
View user's profile Send private message Send e-mail
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Sat Feb 02, 2008 7:30 pm    Post subject: Reply with quote

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;

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites