fastest completion time? 1 hr 35 for full autonomy, and 3 hr 35 min to finish. simple click script with the assist (python source in comments)

Posted Oct 19, 2017, 5:49 PM UTC

Posted Oct 19, 2017, 5:49 PM UTC
So as you might have noticed, the game requires a lot of clicking. My second time playing was more enjoyable after writing something to do the clicking for me.
This click script is for python3 under OSX. Usage: make sure both the terminal window and browser window with the paperclip AI are both visible. Click on the terminal window to give it focus, then put the cursor over the button you want to be pressed a bunch of times.
Then in the terminal window, type this and hit return without moving the mouse:
python3 click.py 100 That will click the button 99 times because the first press sets the window focus.
If you want it to stop before all the clicks are finished, just move the mouse cursor. It will pick up the mouse movement and then abort.
Another way to use it when you want to click on a button like "make clip factory" as soon as it's available, use
python3 click.py 600 2 which will click on the button every two seconds 600 times, or 20 minutes total. Actual time is a little longer because the clicking takes a few tens of millisecond, but eh, close enough.
I hope y'all find this useful! If you need help to install stuff or get it working under Windows, check out the beginner-oriented "automate the boring stuff with python", which is what I used when writing it.
import pyautogui
import time
import sys
try:
numclicks = int(sys.argv[1])
except:
print("needs argument for number of clicks")
sys.exit(1)
try:
rate = float(sys.argv[2])
except:
# default to really fast
rate = 0.001
print ("clicking ", numclicks, " times every ",rate, " seconds")
# Get and print the mouse coordinates.
x, y = pyautogui.position()
print (x,y)
for i in range (0, numclicks):
pyautogui.click(x, y)
time.sleep(rate)
# move mouse to stop clicking
if ((x, y) != pyautogui.position()):
print("Mouse moved!")
sys.exit(0)
Author website for those who don't trust cnet.
But your script is a great starting point for further un-attended optimized automation!
You also could use a Browser Console to write some autoclicking functionality. So for example you dont have to always start the tourneys your self. Or the quantum computing computes automatically when you would get positive operations. Basically you could automate the complete game with the browser console. Small example:
function mod()
{
startAutoTourney(true);
setTimeout(mod, 25);
}
function startTournament(ignoreAutoTourney)
{
if((document.getElementById("autoTourneyControl").style.display=="none")||(ignoreAutoTourney==true))
{
if((parseFloat(document.getElementById("newTourneyCost").innerHTML)<
parseFloat(document.getElementById("operations").innerHTML)) &&
(document.getElementById("btnNewTournament").disabled!=true) &&
((parseInt(document.getElementById("qCompDisplay").innerHTML.substring(6,document.getElementById("qCompDisplay").innerHTML.length))>300)
||(parseFloat(document.getElementById("operations").innerHTML)-parseFloat(document.getElementById("maxOps").innerHTML))>
parseFloat(document.getElementById("newTourneyCost").innerHTML)))
{
// switch to the last (best) strategic modeling
document.getElementById("stratPicker").options[document.getElementById("stratPicker").options.length-1].selected = true;
// turn it on
document.getElementById("btnNewTournament").click();
document.getElementById("btnRunTournament").click();
}
}
}
mod(); // Execute it once to start the automation
Yeah, to me, changing the javascript engine like that is optimizing away what is, at its heart, a time-wasting game. It's fun to think about, but not really to do. Simiarly, this one-line change would set the speedrun record: set clips = 30,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000; # done!
I've decided that click automation and messing around with only index2.html to assign keyboard shortcuts still makes for a fun game, and with a play time of 1hr 1minute. All the mechanics are preserved, and I didn't touch the prestige values.
I notice your sim level is 4 as well. I was thinking about trying a speed run but I think the game lends itself to messing around too easily. I've set my prestige both to 100 because it really helps blast through the really slow parts.
Yeah, to me, changing the javascript engine like that is optimizing away what is, at its heart, a time-wasting game. It's fun to think about, but not really to do. Simiarly, this one-line change would set the speedrun record: set clips = 30,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000; # done!
I've decided that click automation and messing around with only index2.html to assign keyboard shortcuts still makes for a fun game, and with a play time of 1hr 1minute. All the mechanics are preserved, and I didn't touch the prestige values.
You can do a lot faster than that without any scripting. In general if you are button mashing for anything besides the quantum computing then you're doing it wrong.
So at the very beginning, how many times do you click on "make paperclip"? A click script makes clicking 2000 times is pretty easy, and it's probably 2-3 minutes faster than waiting for enough autoclippers to become available that it's useless.
So at the very beginning, how many times do you click on "make paperclip"? At least 50, and probably 200+, right? A click script makes clicking 2000 times easy, and it's probably 2-3 minutes faster than waiting for enough autoclippers to become available that it's useless.
Well first off, if you want to do that, you just can use 1 line in the JavaScript console, an external script is silly. The function for making clips takes an argument of how many you want to make. Writing a script to click a button 200 times is no different then just calling makeClip(200);
Second, 200 clicks probably takes at most 1 minute, the time you posted is over an hour slower than what someone fast would get. Making better decisions will have a much higher payoff.
Writing a script to click a button 200 times is no different then just calling makeClip(200);
Perhaps to you, but it seems very different to me. Sure, using a click script is slower, but keeps within the spirit of the game without causing RSI. I even put a delay in so it's about 10 clicks/second, the fastest I can click manually.
3 hr 35 was my third game. I've gotten it down to 1 hr 3 min only by HTML modification & click timing script, no javascript.
Fastest completion time as far as I'm aware without outside help is 2hr21min by: https://twitter.com/_sharpobject/status/920206026162311168
This run was hugely unoptimal in some places (a video is available and phase 2 for this run is actually pretty bad), so I too believe sub 2 hour is possible.
My personal best is 2hr 25 min: https://twitter.com/eRonin/status/920938802960515072
Neither of us use scripts for clicking; we simply hold down enter on a button to continue "clicking" at 30clicks/sec
[deleted]
What OS and browser are you using? That doesn't work on my machine.
Windows 10, chrome
I've set keyboard delay in my settings to be as short as possible (can go shorter with shenanigans but eh)