Sakura Clicker

Sakura Clicker

평점이 부족합니다.
mouse auto clicker "SMAC" - how to AFK auto mouse click (Windows OS only. written in AutoHotKey)
engie 님이 작성
I will tell you how to auto mouse click in game "Sakura Clicker". (By sharing my AutoHotKey script with you) so you can AFK auto mouse click. Also useful for higher levels of game so that you won't destroy your mouse.
While it is primary written for "Sakura Clicker" game this may (and will) also work for other games.

You can download it from:
https://pastebin.com/bu1b73nk
but you will have to install autohotkey to run it.
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
TLDR
I rewrote the whole thing and added GUI and some basic features. I named this app "SMAC". This is basic mouse auto-clicker now. You can download it from:
https://pastebin.com/bu1b73nk
Press "Download" and rename
smac v.2.08 src.ahk.txt
to
smac v.2.08 src.ahk

(I can't attach .exe binaries here, as steam wont allow it. So you will have to run raw .ahk script).


You will need to install AutoHotkey and run smac v.2.08 src.ahk after that:
1) download and install AutoHotKey (during install, if asked answer yes for .ahk extension association).
2) Open "smac v.2.08 src.ahk" file.


It looks like this:

The lower (closer to 0) the first delay is - the faster the auto-clicking will be. The second delay creates pause between each auto-click.
The fastest auto-clicking speed is 0ms/0ms combo. But 10ms/0ms (10-first delay / 0-second) is more reccomended. Just don't use first delay more that 10 - it may cause problems.
Read more in "about" button.
Intro
I will tell you how to auto mouse click in game "Sakura Clicker". (By sharing my AutoHotKey script with you) so you can AFK auto mouse click. Also useful for higher levels of game so that you won't destroy your mouse by mashing it.
While it is primary written for "Sakura Clicker" game this may also work for other games.
(see the end result below: auto clicking + "gold fountain" bonus, or however that was called).

steps 1-4
steps:
1) Download autohotkey at http://ahkscript.org/ (I am using Version v1.1.22.03 Unicode 64-bit - but other (newer) versions should work too).
2) If during setup it will ask something like "do you want to associate AutoHotKey with .ahk extension?" - say yes. It will make launhing scripts more easily.
3) Go ahead and install it. Remember the path you have installed it to (most likely it was: "C:\Program Files\AutoHotkey" or "C:\Program Files (x86)\AutoHotkey")
4) When installation is done - open the "Notepad" and copy text (below) there.
script code itself
go to a page:
https://pastebin.com/bu1b73nk
you can copy the entire script from there.
steps 5-7
5) save it as: "sakura auto mouse clicker ( '[' and ']' ).ahk" without brackets. (what really important is: .ahk at the end - which is AutoHotKey's extension for scripts.)
6) now open the file that you have just saved. if the green "H" icon shows up in tray then it means the script is working. (see picture below).



now if you press "[" the auto clicking will start, and when you press "]" it will stop.
7) when you no longer need the auto click functionality stop the scipt with "]". and right mouse click "H" tray icon and select "exit".
troubleshooting (those that at step 2 said 'no' and some Windows8+ users)
Case of broken .ahk to AutoHotkey.exe extension association.
How to launch the script with this problem:
  • If after step 6 a window poped-up asking "what program to open this with?" then navigate to path from step 3 - most likely C:\Program Files\AutoHotkey" or "C:\Program Files (x86)\AutoHotkey" and select "AutoHotkey.exe" there. press ok.

    try to open "sakura auto mouse clicker ( '[' and ']' ).ahk" now.
    still no luck? try to drag and drop "sakura auto mouse clicker ( '[' and ']' ).ahk" to AutoHotkey.exe. (see picture below)

Outro




















댓글 9
engie  [작성자] 2016년 9월 29일 오후 12시 46분 
@THRASHER-4-EVER It gives me "can't find VCRUNTIME140.dll". And this is why you don't use microsoft tools to write code. I just wrote my own. without any bull**it microsoft dependencies. read the first paragraph.
Wolf Rawrrr 2016년 9월 19일 오전 3시 08분 
No problem engie. Waifus are worth the wait :3

At first it didn't work again, but then I changed from [ and ] to f and g, and that works great :squirtyay:.Just forgot to exit after... It wreaked havoc on my pc when I reached f in waifus while typing this reply :D

Thanks from me and a whole bunch of thanks from mah waifus <3 :2016roasted:
engie  [작성자] 2016년 9월 18일 오후 7시 09분 
@Wolf Sorry for the late reply (wasn't sunscibed to this thread). But you got that error because the formatting was lost (spaces, tabs,... got erased) when you copied code of the script over to notepad.
You had " while VarAutoClick = true { Send {Click} } "
all in 1 line hence " Error: Unexpected "{" " error.
You can fix this manually: make sure the "Send {Click}" is on a new line, and remove { } around send.

-> OR just copy the script from my guide again. this time I preserved the spaces, so you won't have any problems.
HELLHANZO 2015년 12월 3일 오후 10시 11분 
Wolf Rawrrr 2015년 12월 1일 오전 4시 30분 
wut i do :C
Wolf Rawrrr 2015년 12월 1일 오전 4시 30분 
Error: Unexpected "{"

Line#
008: SetKeyDlay,100,100
011: Return
--->011:VarAutoClick:= true while VarAutoClick = true { Send {Click} }
return
011: Return
012: Exit

The program will now exit.
すずにゃん♪ 2015년 11월 29일 오전 4시 05분 
gonna have a try as what i've done actually doesnt work lol
Megamy 2015년 11월 26일 오후 2시 41분 
The script side doesn't load properly by my side, any other link to download it?
engie  [작성자] 2015년 11월 4일 오전 9시 19분 
(\___/)
( ͡° ͜ʖ ͡°)