Ampu-Tea
评价数不足
How to get "Obsessive Tea Drinker" achievement using an AutoHotkey script
由 go vegan or go back to vegana 制作
This guide will show you how to get the "Obsessive Tea Drinker" achievement using a simple AutoHotkey script in under 20 minutes (might be more or less, depending on your computer's awesomeness).
   
奖励
收藏
已收藏
取消收藏
Introduction
If you, like I, take the achievements a little bit too close to the heart, you might have gotten ever so slightly annoyed by the sole existance of the "Obsessive Tea Drinker" achivement. There is not enough replayability to play this game 500 times solely for the gameplay. And, you have to admit it, 500 times is too much to turn off your brain and farm the achievement by hand.

Having said that, I present you a solution to this problem. It isn't really perfect, it isn't as non-intrusive as I wanted it to be, you will have to download AutoHotkey (unless you already have it), but it does the job done, and it does it pretty fast. If you are bad with computers (which you really shouldn't), I'm sorry, but this guide might be not suitable for you. I explained some of the points needing explaining, but definetely not all of them.
The Script
Here is the code you will want to put in a something.ahk file:
DetectHiddenWindows, On ;An option to allow the script to work with hidden windows. runs := 137 ;How many 'playthroughs' you already have. You might want to change it. While (runs <= 500) ;Basic loop statement, making the script run until you get the achievement { Run, "AmpuTea.exe", , Hide ;Starts the game launcher. WinWait, Ampu-tea Configuration ;Waits for it to load. It won't show up on your screen. Sleep, 100 ;A short delay, just in case. ControlSend, , {ENTER}, Ampu-tea Configuration ;Send an enter, thus launching the game. Sleep, 1000 ;Give the engine some time to load. You might want to adjust the timing. WinClose, ahk_class UnityWndClass ;Closing the game. Sleep, 100 ;Another short delay. runs++ ;Increment the counter. }

I respect your security concerns, so I commented every line and provided you with just the code, and not an executable file.

After saving the file, you would want to launch it. Let it do a couple of runs, stop the script (right click the white H on green background in tray and select "Exit"), and check if the achievement counter has increased. If it hasn't, wait for 30 seconds and refresh the page. If the achievement counter still hasn't increased, you will have to increase the delays between actions. In the code they are represented by "Sleep, %number%"

When you managed to get the script working, just wait. With these timings it was done under 17 minutes on my machine. Depending on the amount of plays you already have and the timings, it most likely will take a different amount of time.
Outro
That pretty much concludes everything you should need to be done with the achivement. If you have any questions and/or corrections, feel free to leave them in the comments, I'll try to help you and/or fix the guide as soon as I can.

If there will be a need, I will compile the script with higher timings and will attach it to the guide.
8 条留言
[BLG] Alisa 2021 年 4 月 19 日 下午 12:57 
Thx, it doesn't work on me, but i change name "Amputea.exe" to url on steam and then work nicely.
Khodyrov 2017 年 7 月 15 日 下午 1:24 
Thanks! :ss13ok: it worked flawless but like ПростиМеня|TSLMachine said, you should mention that you need to put the script file into the game folder.
tonk 2016 年 11 月 19 日 下午 12:03 
Alternatively you could use a simple batch script. Paste the following into notepad and save as Launch.bat (selecting the all files option). You will need to setup an auto clicker to press the Play! button on the configuration window.

start "" steam://rungameid/289090
timeout /t 5
taskkill /f /im "amputea.exe"
timeout /t 2
launch.bat
TSLMachine 2016 年 8 月 6 日 下午 10:05 
Oh. You might want to mention it in the guide then. One of the other guides I've tried did not mention nor required you to put the file/s in the game directory and it worked for me. I already have the achievement. Thanks tho!
go vegan or go back to vegana  [作者] 2016 年 8 月 6 日 下午 9:59 
Have you put the script file into the game directory? The one with amputea.exe.
TSLMachine 2016 年 8 月 6 日 上午 2:12 
Failed to run program or document (Amputea.exe). Help?
BP3 2016 年 4 月 20 日 下午 1:47 
worked great, thanks
Abaris 2015 年 1 月 5 日 下午 2:37 
awesome guide, thank you very much! :kingme: