Randomizer - script?

Ask gaming related questions (AHK v1.1 and older)
sterger7
Posts: 7
Joined: 30 Sep 2019, 18:04

Randomizer - script?

21 Feb 2020, 09:49

So....now some games (cough blizzarD) are trying to dish out suspensions for using a hotkey script in battlegrounds to keep you from afking out. I'm sure they're detecting identical keystrokes happening over and over to do it.

That being said, is there a real simpyl/easy randomizer script? Somethign that will take x number of keys (like 1-9) and just randomize which one it does every 2-4 minutes or whatever?
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Randomizer - script?

21 Feb 2020, 12:57

Leeching off of others work is unacceptable.
Play the game not ruin it.
sterger7
Posts: 7
Joined: 30 Sep 2019, 18:04

Re: Randomizer - script?

21 Feb 2020, 13:52

Looking for a way to randomize what the script sends. Didn't need game conduct commentary.
Last edited by gregster on 21 Feb 2020, 13:57, edited 1 time in total.
Reason: Removed personal attack.
User avatar
Chunjee
Posts: 1451
Joined: 18 Apr 2014, 19:05
Contact:

Re: Randomizer - script?

01 Mar 2020, 14:16

are you talking about randomizing sleep time between key presses? simply sleep a random {{x}} time? Needs a little more info.

Here is a script that takes some sets of buttons to press and randomly chooses which ones to do:

Code: Select all

A := new biga() ;REQUIRES https://www.npmjs.com/package/biga.ahk

keycombos := [ ["1","2","{Enter}"]
            ,  ["2", "4", "6"]
            ,  ["7", "2", "3"]
            ,  ["9", "8", "7"]]

; choose a random set to perform
randomSelection := A.sample(keycombos)

; perform that selection with a 1-200 millisecond delay between keys
loop, % randomSelection.Count() {
    SendInput, % randomSelection[A_Index]
    Sleep, % A.random(1,200)
}

Blizzard is pretty big so you may need more than 5 mins of effort to evade their banhammer

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 25 guests