Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Cookie Clicker game


  • Please log in to reply
3 replies to this topic
Wolfgang1986
  • Members
  • 1 posts
  • Last active: Sep 20 2013 08:13 AM
  • Joined: 18 Sep 2013

hey.

 

i am playing this game and thinging about the option to use AHK in it.

 

There is nothing to win in the game. And i'm total new to AHK.

 

is it possible to make a script there can reg. when the cookie is showen and click it. and then click the big cookie 2000 times after

 

The page the game is on:

 

http://orteil.dashne.../cookieclicker/

 

and i'm using google chrome as browser.

 

my research at the image is.

 

when showen:

<div id="goldenCookie" class="goldenCookie" style="background-image: url(http://orteil.dashnet.org/cookieclicker/img/goldCookie.png); -webkit-transform: rotate(189deg); left: 849px; top: 235px; display: block; opacity: 0.6451804389651608; background-position: initial initial; background-repeat: initial initial;"></div>
 

when not showen:

<div id="goldenCookie" class="goldenCookie" style="background-image: url(http://orteil.dashnet.org/cookieclicker/img/goldCookie.png); -webkit-transform: rotate(229deg); left: 83px; top: 517px; display: none; opacity: 0; background-position: initial initial; background-repeat: initial initial;"></div>
 

can someone help me?

 

 

sorry for my bad english. i'm from Denmark 

 

 

 

 



Jackie Sztuk _Blackholyman
  • Spam Officer
  • 3757 posts
  • Last active: Apr 03 2016 08:47 PM
  • Joined: 28 Feb 2012
hey Wolfgang1986 welcome to the forum

sorry to say but this is not the right sub forum for this topic you need to use the support forum

if using chrome you best bet maybe to use ImageSearch you can find examples all over the forum of how to do that

Hope it helps

Ps. altid godt at se flere fra ens eget land her. happy.png
Helping%20you%20learn%20autohotkey.jpg?d

[AHK] Version. 1.1+ [CLOUD] DropBox ; Copy [WEBSITE] Blog ; About

SiY11
  • Members
  • 2 posts
  • Last active: Sep 26 2013 12:36 AM
  • Joined: 22 Sep 2013

hey.

 

i am playing this game and thinging about the option to use AHK in it.

 

There is nothing to win in the game. And i'm total new to AHK.

 

is it possible to make a script there can reg. when the cookie is showen and click it. and then click the big cookie 2000 times after

 

The page the game is on:

 

http://orteil.dashne.../cookieclicker/

 

and i'm using google chrome as browser.

 

my research at the image is.

 

when showen:

<div id="goldenCookie" class="goldenCookie" style="background-image: url(http://orteil.dashnet.org/cookieclicker/img/goldCookie.png); -webkit-transform: rotate(189deg); left: 849px; top: 235px; display: block; opacity: 0.6451804389651608; background-position: initial initial; background-repeat: initial initial;"></div>
 

when not showen:

<div id="goldenCookie" class="goldenCookie" style="background-image: url(http://orteil.dashnet.org/cookieclicker/img/goldCookie.png); -webkit-transform: rotate(229deg); left: 83px; top: 517px; display: none; opacity: 0; background-position: initial initial; background-repeat: initial initial;"></div>
 

can someone help me?

 

 

sorry for my bad english. i'm from Denmark 

I got AHK to click the cookie with the following script.

Press 'm' to start, It will click 2000 times and you can stop it by pressing Shift twice.
It will check to make sure the Cookie Clicker window is active, if not it will not run. (I did this so it will only click over the cookie and not a space on the screen so you can move the window anywhere.)

Spoiler




 



SiY11
  • Members
  • 2 posts
  • Last active: Sep 26 2013 12:36 AM
  • Joined: 22 Sep 2013

I just realized you wanted the golden cookie, sorry.