elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Curso de javascript por TickTack


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP)
| | | |-+  Programación Visual Basic (Moderadores: LeandroA, seba123neo)
| | | | |-+  Crear un "Clicker"
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Crear un "Clicker"  (Leído 1,826 veces)
Mad Antrax
Colaborador
***
Desconectado Desconectado

Mensajes: 2.164


Cheats y Trainers para todos!


Ver Perfil WWW
Crear un "Clicker"
« en: 27 Noviembre 2006, 00:43 am »

Hola gente:

Necesito saber si alguien conoce la API que permite enviar "clicks" del ratón. Es decir, necesito hacer una aplicación que envíe muchos clicks, lo necesito para "simular" que hay un usuario dando click derecho todo el raton sin parar.

La idea es para usarlo como "bot" en un videojuego, y para no estar yo 3 horas dando click's prefiero hacer una aplicación que los pulse por mi :P

Gracias!! :)


En línea

No hago hacks/cheats para juegos Online.
Tampoco ayudo a nadie a realizar hacks/cheats para juegos Online.
FreeSwan

Desconectado Desconectado

Mensajes: 1


Ver Perfil
Re: Crear un "Clicker"
« Respuesta #1 en: 27 Noviembre 2006, 00:50 am »

Para que juego es? ya hay cosas de esas para juegos.
El que conozco es el autoclick para muonline


En línea

DrakoX

Desconectado Desconectado

Mensajes: 191



Ver Perfil
Re: Crear un "Clicker"
« Respuesta #2 en: 27 Noviembre 2006, 02:19 am »

La api que permite enviar clicks se llama: mouse_event

Declare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

· dwFlags
A set of flag bits that specify various aspects of mouse motion and button clicking. The bits in this parameter can be any reasonable combination of the following values:
MOUSEEVENTF_ABSOLUTE
 Specifies that the dx and dy parameters contain normalized absolute coordinates. If not set, those parameters contain relative data: the change in position since the last reported position. This flag can be set, or not set, regardless of what kind of mouse or mouse-like device, if any, is connected to the system. For further information about relative mouse motion, see the following Remarks section.
MOUSEEVENTF_MOVE
 Specifies that movement occurred.
MOUSEEVENTF_LEFTDOWN
 Specifies that the left button changed to down.
MOUSEEVENTF_LEFTUP
 Specifies that the left button changed to up.
MOUSEEVENTF_RIGHTDOWN
 Specifies that the right button changed to down.
MOUSEEVENTF_RIGHTUP
 Specifies that the right button changed to up.
MOUSEEVENTF_MIDDLEDOWN
 Specifies that the middle button changed to down.
MOUSEEVENTF_MIDDLEUP
 Specifies that the middle button changed to up.
MOUSEEVENTF_WHEEL
 Windows NT only: Specifies that the wheel has been moved, if the mouse has a wheel. The amount of movement is given in dwData

The flag bits that specify mouse button status are set to indicate changes in status, not ongoing conditions. For example, if the left mouse button is pressed and held down, MOUSEEVENTF_LEFTDOWN is set when the left button is first pressed, but not for subsequent motions. Similarly, MOUSEEVENTF_LEFTUP is set only when the button is first released.

· dx
Specifies the mouse’s absolute position along the x-axis or its amount of motion since the last mouse event was generated, depending on the setting of MOUSEEVENTF_ABSOLUTE. Absolute data is given as the mouse’s actual x-coordinate; relative data is given as the number of mickeys moved. A mickey is the amount that a mouse has to move for it to report that it has moved.

· dy
Specifies the mouse’s absolute position along the y-axis or its amount of motion since the last mouse event was generated, depending on the setting of MOUSEEVENTF_ABSOLUTE. Absolute data is given as the mouse’s actual y-coordinate; relative data is given as the number of mickeys moved.

· dwData
If dwFlags is MOUSEEVENTF_WHEEL, then dwData specifies the amount of wheel movement. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. One wheel click is defined as WHEEL_DELTA, which is 120.
If dwFlags is not MOUSEEVENTF_WHEEL, then dwData should be zero.

· dwExtraInfo
Specifies an additional 32-bit value associated with the mouse event. An application calls GetMessageExtraInfo to obtain this extra information.

salu2 y espero que t sirva
En línea

Mad Antrax
Colaborador
***
Desconectado Desconectado

Mensajes: 2.164


Cheats y Trainers para todos!


Ver Perfil WWW
Re: Crear un "Clicker"
« Respuesta #3 en: 27 Noviembre 2006, 07:46 am »

FreeSwan:
Lo usaré principalmente para MuOnline y juegos similares. ya se que hay programas que lo hacen, pero quiero crearme mi propia herramienta totalmente personalizada :)

DrakoX:
Gracias por la info, he probado la API y funciona de maravilla. Cuando tenga el codigo terminado lo publico en este mismo post.

Saludos!! :)
En línea

No hago hacks/cheats para juegos Online.
Tampoco ayudo a nadie a realizar hacks/cheats para juegos Online.
DrakoX

Desconectado Desconectado

Mensajes: 191



Ver Perfil
Re: Crear un "Clicker"
« Respuesta #4 en: 27 Noviembre 2006, 19:20 pm »

me alegro que t sirva,
espeor ver el code pronto

salu2
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
¿Como crear un auto-clicker en C#?
Programación C/C++
milenio204 0 1,619 Último mensaje 25 Enero 2014, 11:43 am
por milenio204
¿Como puedo crear un auto-clicker en C#? Con SetPoint (X,Y).
.NET (C#, VB.NET, ASP)
milenio204 5 5,353 Último mensaje 25 Enero 2014, 19:54 pm
por milenio204
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines