[HELP] Sending arrow keys with MapleSEA minimized

Discuss MapleStory hacks and bots over here!
Post Reply
madeforum
Apprantice Knight
Apprantice Knight
Posts: 12
Joined: Fri Jul 23, 2010 1:26 pm

[HELP] Sending arrow keys with MapleSEA minimized

Post by madeforum »

Hello everyone currently im sending arrow keys to MapleSEA using sendinput, which requires MapleSEA to be the foreground window. Is there another method for sending input with MapleSEA minimized? or a method to trick MapleSEA into thinking its the foreground window?
PIEzLOVERS
Master of Darkness
Master of Darkness
Posts: 431
Joined: Sat Dec 12, 2009 9:01 pm
Location: Heaven !
Contact:

Re: [HELP] Sending arrow keys with MapleSEA minimized

Post by PIEzLOVERS »

madeforum wrote:Hello everyone currently im sending arrow keys to MapleSEA using sendinput, which requires MapleSEA to be the foreground window. Is there another method for sending input with MapleSEA minimized? or a method to trick MapleSEA into thinking its the foreground window?
NRZBot is capable of doing that , download the source and explore it :)
madeforum
Apprantice Knight
Apprantice Knight
Posts: 12
Joined: Fri Jul 23, 2010 1:26 pm

Re: [HELP] Sending arrow keys with MapleSEA minimized

Post by madeforum »

I explored it but i realised its using sendinput too. Can you tell me what have i missed? The program im making is an external one like Nullz Pyramid Bot.


E.g of sendinput from NRZBot 2.2 source

Code: Select all

/*MoveLeft*/
void MoveLeft()
{
	while(!MoveLeftExit)
	{
	KEYBDINPUT  kb={0};
	INPUT    Input={0};	
	kb.wVk  = 0x25;  
	Input.type  = INPUT_KEYBOARD;
	Input.ki  = kb;
	::SendInput(1,&Input,sizeof(Input));//keydown
	Sleep (MoveDelay);
	::ZeroMemory(&kb,sizeof(KEYBDINPUT));
	::ZeroMemory(&Input,sizeof(INPUT));
	kb.dwFlags  =  KEYEVENTF_KEYUP;
	kb.wVk    =  0x25;
	Input.type  =  INPUT_KEYBOARD;
	Input.ki  =  kb;
	::SendInput(1,&Input,sizeof(Input));//keyup
	Sleep(MovementDelay*1000);
	}
}
Post Reply