Jump to content
Sign in to follow this  
nusaki

Random area clicking

Recommended Posts

nusaki

Hey, Im new to Autoit and programming.

I'm making a pixel detection script for Full Tilt Poker Online game that will help me fold unwanted hands automatically. Mine big problem is that I dont know how to make my bot click on a same button a little different every time. For example button coordinates are (10, 10) (40, 10) (10, 40) (40, 40) , so I want my bot click on coordinates such us (11,20) (21, 21) all at random but all in area of a same button. Its critical for me because Full Tilt poker game records all my mouse movement and it will know that Im using a bot and it can ban me :D . So please help if you can.

Thank you and sry for bad English


keywen.com

Share this post


Link to post
Share on other sites
SuneC

Try taking a look at Random().

For that button you mentioned up there it would be:

ControlClick(<window>, <text>, <control>, "left", 1, Random(10, 40, 1), Random(10, 40, 1))oÝ÷ ØÚ0ë-)¶¬jÉ+bë³*.ç¶%É-æî¶Ú'N»-E©Ý¢mtãMfjG¬j¶§v¢× z¶Þ·]Þ4±©Â+a¶¥jËR¡ú+¢Ø^­»­¶ìë-~)ݶ¥£«n§v×(!z¶èºwh}v§vZ0z¶§v êÛ¢éÝ¡ö¢+wöÉb殶­sbb33c¶6Æ6µÒ&æFöÒfÇC¶ÖåfwC²ÂfÇC¶ÖfwC²Â¢b33c¶6Æ6µÒ&æFöÒfÇC¶ÖåfwC²ÂfÇC¶ÖfwC²Â

Hope it helps.

Share this post


Link to post
Share on other sites
nusaki

Thank you SuneC, Its exactly what I was looking for :D


keywen.com

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.