Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 18:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Auto clicker combined with Random.org

Discussion on Auto clicker combined with Random.org within the AutoIt forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2015
Posts: 4
Received Thanks: 1
Auto clicker combined with Random.org

Hi, and thanks in advance.
I could very much use a truly random autoclicker but i searched the web and couldn't find any. I know that random.org has an api that can be built in an existing autoclicker for it to use numbers from the site, i'm just not good at coding, so i hope that someone here can help me and build one.
So to summarize just need it using the random.org api, having option to specify interval range (seconds or ms), start/stop with a hotkey (any) and click repeatedly on where ever the mouse pointer is. Hope it can be done with auitoit.
bobix86 is offline  
Thanks
1 User
Old 04/23/2015, 23:54   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
AutoIt's random function will provide a spectrum of random numbers which will (in my opinion) provide enough randomness for your script.
alpines is offline  
Old 04/24/2015, 00:10   #3
 
elite*gold: 0
Join Date: Apr 2015
Posts: 4
Received Thanks: 1
The problem is, i'm bad with coding hence i hoped there's someone here with enough knowledge,will and kindness to make one for me. Plus, already tried the clicker from shocker and others, it worked out good for me in the beginning but now they seem to follow the same patterns every time i stop and start them, so they're not random enough anymore, at least for my needs.

Thanks for the reply btw.
bobix86 is offline  
Old 04/24/2015, 13:10   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Are you able to provide some scripts to show us which pattern they follow?
Maybe it only needs a little bit of adjustment.
alpines is offline  
Old 04/24/2015, 13:57   #5
 
elite*gold: 0
Join Date: Apr 2015
Posts: 4
Received Thanks: 1
Just Google Auto Clicker by Shocker, that's the one i'm currently using. It's bundled as a single exe file, along with some icon files. I can use Kratronic Mouse and key converter, but i'm afraid it might show the same results, and from what i experienced, a random autoclicker with true random intervals should rock for some uses i believe.

I tried asking in AutoIt forums, and i got this code from InunoTaishou:

; Set the End key to call the RandomClick function
HotKeySet("{End}", "_RandomClick")

; Maximum number of clicks and the maximum delay between each click
Global $maxClicks = 10, $maxDelay = 500

; Infinite while loop that prevents the script from closing. Putting a slight delay so the script doesn't eat up CPU.
While 1
Sleep(100)
WEnd

; The function.
Func _RandomClick()
; For loop. It will do everything after line 15 and before line 18 a Random number of times (Random(0, Random(0, $maxClicks))
For $i = 0 To Random(0, Random(0, $maxClicks))
MouseClick("Left", Random(0, Random(0, @DesktopWidth)), Random(0, Random(0, @DesktopHeight)), Random(1, 3), 5)
Sleep(Random(0, Random(0, $maxDelay)
Next
EndFunc

So that's the autoclicker part, just need help combining it with random.org.
P.S. That's as far as i got on the forum, since it's for a game, they refused to help me further.
bobix86 is offline  
Old 04/24/2015, 14:17   #6
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Please add the 1 in the 3rd parameter of the random function because you can't click on 12.23423423 pixels. That may be a problem.

Also write a new script and generate random numbers between 1 and 1,000,000. You'll see that it's spread enough.
alpines is offline  
Old 04/24/2015, 14:53   #7

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318


#closed
snow is offline  
Closed Thread


Similar Threads Similar Threads
Macro Request: Auto Clicker/Auto Mouse Scroll for Rift
03/22/2015 - Rift - 0 Replies
Deleted.



All times are GMT +1. The time now is 18:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.