Auto clicker combined with Random.org

04/23/2015 21:59 bobix86#1
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.
04/23/2015 23:54 alpines#2
AutoIt's random function will provide a spectrum of random numbers which will (in my opinion) provide enough randomness for your script.
04/24/2015 00:10 bobix86#3
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.
04/24/2015 13:10 alpines#4
Are you able to provide some scripts to show us which pattern they follow?
Maybe it only needs a little bit of adjustment.
04/24/2015 13:57 bobix86#5
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.
04/24/2015 14:17 alpines#6
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.
04/24/2015 14:53 snow#7
[Only registered and activated users can see links. Click Here To Register...]

#closed