Sign in to follow this  
Followers 0
Wezzli

Registering mouseclicks

3 posts in this topic

I'm trying to make this script that first off tells you what to click on and then expects you to click where it is. I have no idea how to make it return the value of where you clicked.

Aswell as that i'd like to ask if there's anyone that knows how to make autoit click something in a game, without using the mouse, similar to a aimbot thingy. I'm not that good at memory stuff, so if anyone feels like they have the time to show me some, then big thanks to that person. The game i'm trying to make click in, is Tibia.

Share this post


Link to post
Share on other sites



I'm trying to make this script that first off tells you what to click on and then expects you to click where it is. I have no idea how to make it return the value of where you clicked.

Aswell as that i'd like to ask if there's anyone that knows how to make autoit click something in a game, without using the mouse, similar to a aimbot thingy. I'm not that good at memory stuff, so if anyone feels like they have the time to show me some, then big thanks to that person. The game i'm trying to make click in, is Tibia.

Perhaps "GUIGetCursorInfo ( [winhandle] )" I would test for the mouseclick, and then when a positive result was returned, read the coordinates and the control handle using this func.

As far as the game clicking goes I've become a bit of an expert! I've written autoplayers for a couple of online games and encountered a couple of problems that I never expected to see!

Method one is to simply use the absolute screen coordinates and click "there". This is a very reliable method so long as the windows open in the exact same place every time. Open the program you want to click in, and let stay where it is! Use the "MouseClick()" func for this.

Method Two is to use "ControlClick()" I have found that this method sometimes dose not work because the controls, though visible to the eye, are hidden or inactive when not expected, or behind other active or inactive controls. When scanning a window in AU3Info, Take very special care to "look between the cracks" of the controls you identify. I found in one case a collection of 6 small buttons lined up like a wall of bricks, and behind them were the controls I needed! Three larger buttons lined up along the center of the "Wall".

In AU3Info, I noticed, by chance, that the info changed "between the cracks". these were the Background buttons.

I hope this helps you out.

deefburger


Deefburgerwww.deefburger.com

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

How about you use the _IsPressed function and use it to do something like this.

If _Ispressed(thehexkey) Then

$var = GetMousePos()

EndIf

btw you CAN set the hex key to the right and left mouse. if ur talking about AA for d2, they used hackit to do that with packets, not mem

Edited by Smirk_zero

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0