Clicker Heroes

Clicker Heroes

查看统计:
此主题已被锁定
Shadowspaz 2015 年 5 月 19 日 下午 7:56
Non-Intrusive Autoclicker!
NOTICE - I have stopped working on this!
That doesn't mean this doesn't work. It does work, and quite well. But any obscure bugs you may encounter, or suggestions for things you want me to add, will not be worked on by me.

Let me repeat that- by me.

The code for this is publicly available- NIAC is open source. I welcome people to dig into the code, add functionality, expand this program even farther. That would be cool. However, I personally do not have the time, energy, or interest to continue development on this.

Enjoy what's here, or add to it. The choice is yours!

What is it?
NIAutoclicker is the one autoclicker (That I know of) that doesn't completely halt whatever you're doing. After setting the click location, you can navigate to a different window, or even play a different game, and the autoclicker will continue to click, just as if you were still there.

As an additional tweak, you can also click in-game, and user inputs will take precedence. This lets you navigate menus and level up heroes, with the autoclicker still running, and without any severe hiccups.

Also added, you can change the click frequency as you like. I've found that if it's too fast, the game itself lags, and you won't be able to click on much with it running. So as a default, I have it set to 50 clicks/sec, which seems to be about the highest I can get without lag, and still allow smooth user clicks. That could just be my system, though, so I've added this small bit of customization.

Downloads
Raw AutoHotKey script: http://pastebin.com/yLJEbMxP

(Windows only, x64 and x32 versions included)
Downloads available at GitHub: https://github.com/Shadowspaz/NIAutoclicker

Can I get VAC banned using this?
No.

First and foremost, Steam doesn't even care. This is not a VAC-enabled game, and as such, does not have the capability of detecting any cheating, be it with autoclickers, Cheat Engine, or straight up modifying the game files.

But this is a singleplayer game, and as such, there aren't even any services that the ban would apply to, since VAC is specific to servers.

But aside from that, even, there is no way to reliably detect an autoclicker. It would fall into the category of macros and turbos, and those are common in hundreds of programs and peripherals.

To put it simply- Autoclickers are too challenging to police, and too inconsequential to even bother with.

Besides, a lot of people just use autoclickers to save their mouse. And if you decide you want to do that, and keep things fair, you could set it to 8-10 clicks/second or so. Something you can personally do, but don't want to damage a mouse to do it.

It is not detectable, and even if it were to be running while you're playing a VAC-enabled game, this autoclicker is ONLY clicking in the window you set it to. So if you have this running in CH while playing CS:GO, they have absolutely no way of telling.

It was running fine, but now it's lagging!
If the autoclicker runs fine for you, and then starts lagging, you can get it running smoothly again. Hold left-click in the active window until the autoclicking stops and it all catches up. Then drag outside of the window, and immediately click again.

For whatever reason, this removes all the lag, and leaves it running smoothly again (Assuming it could run smoothly before).

If I can figure out why this works, I can work it in, and virtually all lag will be removed. For now, though, this is the trick.

It'll work fine, but not inside Clicker Heroes!
Run NIAutoclicker as administrator.

(Right click > Run as administrator)

Changelog
Current version: v2.1.1

(As of 1.5.1, You can check your version number in the options window)

  • 2.1.1 - Fixed occasional "hotkey overflow" bug
  • 2.1.0 -
    • Added support for multiple click locations
    • Toggle hotkey no longer requires you to reset location(s)
    • Added "Reset" button to options
    • Changed options hotkey to ( Alt + - ) instead of (Alt + = )
    • Add an "exit on target window close" prompt
  • 1.5.2 - Clickspeed GUI now displays the same number you typed in, and saves each number for CPS and SPC
  • 1.5.1 - Slight tweak to click handling- May improve click recognition when setting click location
  • 1.5 - Improved "Change speed" GUI- Now allows for clicks/second, or seconds/click
  • 1.4 - Improved user click detection- Now more reliable during runtime
  • 1.3 - Increased performance speed and reduced memory usage
  • 1.2 - x32 and x64 release. Also included the option to change clickrate
  • 1.1 - Added user input preference. Click while autoclicking
  • 1.0 - Initial release
最后由 Shadowspaz 编辑于; 2015 年 8 月 18 日 下午 2:33
< >
正在显示第 76 - 90 条,共 396 条留言
Richard 2015 年 5 月 26 日 上午 6:12 
Even if you don't use it for clicking damage, the auto clicker is hugely useful for auto leveling your gilded hero.

On that thought, Shadowspaz, how technically difficult would it be to have an option to have a second click point defined and have it alternate clicks between them? That would enable clicking deep-runs with leveling your gilded hero at the same time.
zeania 2015 年 5 月 26 日 上午 7:45 
Could this possibly VAC ban on, for example, CS:GO or any other VAC secured games while the script is running?
Josh 2015 年 5 月 26 日 上午 7:55 
引用自 Zeania
Could this possibly VAC ban on, for example, CS:GO or any other VAC secured games while the script is running?

yes this would likely ban you from VAC secured games if you were caught using it. So just don't use it while playing CS:GO and you will be fine :-)
Hippopotamus 2015 年 5 月 26 日 上午 8:36 
引用自 Josh
引用自 Zeania
Could this possibly VAC ban on, for example, CS:GO or any other VAC secured games while the script is running?

yes this would likely ban you from VAC secured games if you were caught using it. So just don't use it while playing CS:GO and you will be fine :-)

I'm imagining myself forgetting to turn it off and getting vac banned.. altho i don't really play any multiplayer game atm.
Shadowspaz 2015 年 5 月 26 日 上午 11:10 
I'm going to add this to the main post, but...

It is not possible to get VAC banned using this. It is not detectable, and even if it were to be running while you're playing a VAC-enabled game, this autoclicker is ONLY clicking in the window you set it to. So if you have this running in CH while playing CS:GO, they have absolutely no way of telling.

This program is completely safe.

引用自 DFCRichard
Even if you don't use it for clicking damage, the auto clicker is hugely useful for auto leveling your gilded hero.

On that thought, Shadowspaz, how technically difficult would it be to have an option to have a second click point defined and have it alternate clicks between them? That would enable clicking deep-runs with leveling your gilded hero at the same time.
This would factor in to an eventual "CH-specific" build, and at the present moment, my main focus is getting this to work as cleanly as possible, just as a standard autoclicker.

If I end up having the time to do all of the other CH automation things I have in mind, that'll include clicking the rubies/bees as they appear, triggering abilities on cooldown, and leveling heroes/buying upgrades.

There's a lot that can be done, here, but it all comes down to how much free time I have to do it.
最后由 Shadowspaz 编辑于; 2015 年 5 月 26 日 上午 11:14
Shadowspaz 2015 年 5 月 26 日 上午 11:24 
No, it should work out-of-box...

When you say you can't do anything else, what do you mean? Can you alt-tab to a different window? Trigger keyboard functions? Or can you just not click anything?

Also, when you start the clicker, it IS definitely clicking, right?

The other thing to try is pressing ( Alt + = ) and setting the speed to something like 5, and seeing if you can click things then. If it lags up your game, then user clicks won't be as responsive.

Edit: Ah, you deleted the comment. I trust you got things resolved, then? lol
最后由 Shadowspaz 编辑于; 2015 年 5 月 26 日 上午 11:28
Smulan 2015 年 5 月 26 日 上午 11:36 
Oh whoops, I'm sorry, I been trying to work it out for the past hour and the moment I ask the question I solved it so yeah I deleted it hoping no one had seen it yet. :D Thank you for your response though. :)
Shadowspaz 2015 年 5 月 26 日 上午 11:37 
Haha, alright. Well, glad it works, at least! :P
Eagles Fly 2015 年 5 月 26 日 下午 12:00 
Ran the latest build (v 1.4) for approx 6 hrs straight so far, best one yet.
There's a noticeable improvement when mousing over the window/menus when the clicker is active, less interference/lag.
Runs steady & consistently, all other issues are prob due to old computer. Like when click storm is in effect and I kill a boss with achievements/notifications, the images practically stop. Have to pause/un-pause clicker to clear (the game still continues to run & count clicks, just the images/graphics bog out)
Giving this a big thumbs up :ss13ok: ('cause all my fingers are nubs now lol)

Suggestion: put the ver number in the .rar and file names so we can keep track.
最后由 Eagles Fly 编辑于; 2015 年 5 月 26 日 下午 12:04
Shadowspaz 2015 年 5 月 26 日 下午 12:16 
I have a text file in the .rar containing that, but I suppose just adding it to the name couldn't hurt. :P

Glad to hear!
scoota33 2015 年 5 月 26 日 下午 12:46 
is there any way to have 2 instances running? 1 for monsters and one for leveling heroes?
Shadowspaz 2015 年 5 月 26 日 下午 12:56 
Not with how it's currently built, no. In the .ahk file, you could add the line "#SingleInstance off" at the start, to let you run multiple instances, but because they use the same hotkeys, you would be setting both of them to the same location.

So I suppose you could have two versions of the script, that use different hotkeys, just as a somewhat hacky solution, but I want to leave the .exes as single-instance only. It helps save people from the newbie mistake of unintentionally launching multiple copies. lol
Crownmuri 2015 年 5 月 26 日 下午 6:14 
Works for me, neat autohotkey script! One dumb question though, does this also work when minimized or do you have to keep the screen open?
Shadowspaz 2015 年 5 月 26 日 下午 11:33 
It does work while minimized, but it reeeeeally lags when you try to bring it back up. You could click the icon, deactivate the script and it could still take 30 seconds or more to re-open. I just leave the window in the background instead.
Prostheus 2015 年 5 月 26 日 下午 11:43 
Hi Shadowspaz,

Firstly, very nice auto clicker, love it! I've added a few minor alterations. In the !Backspace I have modified the first TooltipMsg to:

TooltipMsg = Click the top left corner of the desired autoclick location area.

And I've added this below the WinGet line

TooltipMsg = Click the bottom right corner of the desired autoclick location area. toggle := false Keywait, LButton, D Keywait, LButton TooltipMsg = toggle := true MouseGetPos, xp2, yp2 WinGet, actWin, ID, A

I have also changed the autoclick section to:

autoclick: if !(WinActive("ahk_id" . actWin) && (A_TimeIdlePhysical < 50 && !mouseMoved)) { Random, xpos, xp, xp2 Random, ypos, yp, yp2 ControlClick, x%xpos% y%ypos%, ahk_id %actWin%,,,, NA } return

Now mine randomly clicks in the area I've designated (hoping to get those bonus rubies!)
最后由 Prostheus 编辑于; 2015 年 5 月 26 日 下午 11:43
< >
正在显示第 76 - 90 条,共 396 条留言
每页显示数: 1530 50

发帖日期: 2015 年 5 月 19 日 下午 7:56
回复数: 396