Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
715 commits
Select commit Hold shift + click to select a range
fdf730a
Merge pull request #140 from welwood08/secure-updateControlData
wchill Jun 15, 2015
c621ddf
Code and control data updating now separated
wchill Jun 15, 2015
20d3af7
Merge pull request #138 from GreatOldOne/master
Jun 15, 2015
493e5b9
Major performance improvements by rendering at 1FPS
xPaw Jun 15, 2015
f853e8b
Guarantee tick
xPaw Jun 15, 2015
8b89cff
Merge remote-tracking branch 'origin/renderer'
xPaw Jun 15, 2015
76a4961
Use requestAnimationFrame for render
xPaw Jun 15, 2015
badc91e
jshint
xPaw Jun 15, 2015
7cc80f1
Enable every bomb on >5000 regardless of bosses
Jun 15, 2015
1872225
Rename disableCooldownIfRelevant() to useCooldownIfRelevant()
Jun 15, 2015
705cd49
Use tryUsingItem function
xPaw Jun 15, 2015
9f3849a
Basic lane info
wchill Jun 15, 2015
4e9410d
Update ability names to match real ones
xPaw Jun 15, 2015
c67485d
rewording
wchill Jun 15, 2015
0bdacc5
Throw money at screen if we can't wormhole
xPaw Jun 15, 2015
74aed5a
No point in keeping list of abilities in a separate file
xPaw Jun 15, 2015
5b538ef
Fix medics
xPaw Jun 15, 2015
731a3fd
Also fix cooldowns
xPaw Jun 15, 2015
cb6d135
=Implement autorefresh if page fails to load
kton Jun 15, 2015
012581c
Bump version
xPaw Jun 15, 2015
3d6ebd9
Fix autoreload
xPaw Jun 15, 2015
59a7519
Merge branch 'master' of https://github.com/SteamDatabase/steamSummer…
wchill Jun 15, 2015
4df2837
char is reserved and shouldn't be used
Eriner Jun 15, 2015
8f341cf
Included many SteamDB improvements
wchill Jun 15, 2015
d7e3882
render bug fix
wchill Jun 15, 2015
da3b896
UI fixes
wchill Jun 15, 2015
6e081ea
Merge pull request #161 from wchill/testing
wchill Jun 15, 2015
5c624db
fixed broken image
wchill Jun 15, 2015
a1688b5
let's try this again
wchill Jun 15, 2015
0c1e381
Delete broken image
wchill Jun 15, 2015
1ccba93
fixed broken image
wchill Jun 15, 2015
e8658e2
Merge branch 'master' of https://github.com/wchill/steamSummerMinigame
wchill Jun 15, 2015
3aaabad
Merge branch 'steamdb' into fix-commit-log
wchill Jun 15, 2015
2d46abf
Merge pull request #166 from wchill/fix-commit-log
wchill Jun 15, 2015
5e2cfa7
Basic lane info
wchill Jun 15, 2015
2b89069
rewording
wchill Jun 15, 2015
c06d368
fix merge conflict
wchill Jun 16, 2015
04436e1
Fix cluster bomb
wchill Jun 16, 2015
113a9b0
Do not use max elemental damage if it is already active
wchill Jun 16, 2015
4efb614
fix for merge
Eriner Jun 16, 2015
3e5753f
Fix those URLs
wchill Jun 16, 2015
57ce29f
Fix Cripple Monster
campbeb Jun 16, 2015
a5b3c66
Version bump
wchill Jun 16, 2015
1d62592
Change Travis CI logo
wchill Jun 16, 2015
fa7f4e1
added hyperlinks for TM/GM
Jun 16, 2015
c95870b
JSHint
wchill Jun 16, 2015
c59114b
JSHint
wchill Jun 16, 2015
21a4daf
Merge pull request #176 from UnusualToast/patch-3
wchill Jun 16, 2015
076efc1
Merge pull request #175 from campbeb/master
wchill Jun 16, 2015
89d11f0
Bump version
wchill Jun 16, 2015
5b53d33
Merge pull request #156 from Eriner/js-reserved
wchill Jun 16, 2015
f30fbc9
Fix #111
wchill Jun 16, 2015
7db889a
Basic lane info
wchill Jun 15, 2015
40721b9
Basic lane info
wchill Jun 15, 2015
6234415
Bring branch up to date
wchill Jun 16, 2015
5046984
oops
wchill Jun 16, 2015
5831891
JSHint and runes
wchill Jun 16, 2015
68f0607
Merge pull request #178 from wchill/lane_info
wchill Jun 16, 2015
670dc2a
Version bump
wchill Jun 16, 2015
dac89ab
Some options fixes
wchill Jun 16, 2015
ee2aac6
Footer covering info box fix
OEDW Jun 16, 2015
79a2fca
Remove leave game helper text
OEDW Jun 16, 2015
02432ee
Merge pull request #180 from oedw/patch-4
wchill Jun 16, 2015
32685d2
Add random chance to use ability
wchill Jun 16, 2015
4995c7a
Fix treasure not being used
wchill Jun 16, 2015
ee30167
Fix disable renderer option, close #173
wchill Jun 16, 2015
73d2847
Replace .innerText with .textContent
wchill Jun 16, 2015
1da87e3
Add lower bound on raining gold use - closes #157
wchill Jun 16, 2015
1486416
Bump version
wchill Jun 16, 2015
9445d96
Implement title info by steamdb
Realex-fire Jun 16, 2015
e037025
Update autoPlay.user.js
Jun 16, 2015
68b722c
Removed no longer working updater
wchill Jun 16, 2015
1caabf9
Bump version
wchill Jun 16, 2015
e8b77a5
Merge pull request #186 from g1real/master
wchill Jun 16, 2015
69db50b
Merge pull request #183 from Realex-fire/patch-1
wchill Jun 16, 2015
e2f02f4
Convert from JSHint to ESLint and enforce tab indentation
welwood08 Jun 16, 2015
f879772
Merge pull request #187 from welwood08/consistent-indents
wchill Jun 16, 2015
dcacb58
Changing element distribution
wchill Jun 16, 2015
1cb2f15
Change wormhole use threshold
wchill Jun 16, 2015
51ef852
Version bump
wchill Jun 16, 2015
1d39fe9
Fix useGoldRainIfRelevant() activation condition
gapple Jun 16, 2015
9bffe0a
Merge pull request #193 from gapple/patch-1
wchill Jun 16, 2015
39c852e
wormhole test
wchill Jun 16, 2015
414dcca
small optimization
wchill Jun 16, 2015
7034a89
jshint
wchill Jun 16, 2015
23fa3c2
disable disabling manual wormhole
wchill Jun 16, 2015
fa155d5
Merge pull request #196 from wchill/wormhole
wchill Jun 16, 2015
7b2c57f
Bump version
wchill Jun 16, 2015
93cbcfe
Lower speedmode threshold
wchill Jun 16, 2015
0f4479b
Decrease nuke usage
wchill Jun 16, 2015
d409c9e
Halve the click rate on wormhole rounds
wchill Jun 16, 2015
f9aaa9c
Merge pull request #1 from wchill/master
Jun 16, 2015
9fb5cb3
Added Like New ability use
Jun 17, 2015
675cdb3
old comma
Jun 17, 2015
06bc492
Random Like New delay
Jun 17, 2015
0cb1ac2
Muh space usage rules
Jun 17, 2015
c4fa991
Merge pull request #201 from g1real/master
wchill Jun 17, 2015
a941f14
Prevent offensive abilities from being used within 5 levels of a rain…
Zantier Jun 17, 2015
30a0c7b
Merge pull request #2 from wchill/master
Jun 17, 2015
7c0a436
Increase Like New Chance as game gets closer to reset
Jun 17, 2015
faaa181
Like New small debug message
Jun 17, 2015
9fd99e7
Merge pull request #204 from Zantier/safe_rain
wchill Jun 17, 2015
9cc5282
Bug: Wrong variable.
Zantier Jun 17, 2015
ade72ab
Merge pull request #206 from Zantier/safe_rain
MarkVabulas Jun 17, 2015
9dc2101
Like New chance increase over lobby time
Jun 17, 2015
1d51165
Fixed missing semicolons and brackets
Jun 17, 2015
f70a6f0
Changed lerp() to manual lerp
Jun 17, 2015
4a7ff8b
lolbracket
Jun 17, 2015
d37754d
Issue 195, Use treasure on CD after level 1000,000
aluhadora Jun 17, 2015
bc53538
Merge faster WH use
wchill Jun 17, 2015
41ca423
ffs I can't git
wchill Jun 17, 2015
92faaf1
Merge pull request #3 from wchill/master
Jun 17, 2015
80422af
control. infront of control variables
Jun 17, 2015
ed32c14
Merge pull request #211 from g1real/master
wchill Jun 17, 2015
c80f974
Merge pull request #210 from aluhadora/master
MarkVabulas Jun 17, 2015
c81f629
Version bump
wchill Jun 17, 2015
639ac43
Check wh first to try to get as many wh at once.
Maynza Jun 17, 2015
206ae08
Merge pull request #4 from wchill/master
Jun 17, 2015
2c5f0c1
Fix autoclicker silently re-enabling on refresh if it was disabled
salaman Jun 17, 2015
ed00680
Trying to add an indicator for level jumps
Jun 17, 2015
7b8b66b
I am literally flinging spaghetti against the wall
Jun 17, 2015
c42a0aa
*fling*
Jun 17, 2015
54db36c
*splat*
Jun 17, 2015
89a3e50
I wish someone would help me :(
Jun 17, 2015
a4dc1c1
Merge pull request #212 from Maynza/patch-1
MarkVabulas Jun 17, 2015
8d607dd
Merge pull request #215 from salaman/master
MarkVabulas Jun 17, 2015
50fe48d
Beepity bop bop badabop
Jun 17, 2015
7bd2882
If I was a valve employee
Jun 17, 2015
95f0805
Wow I'm a retard at arrays
Jun 17, 2015
0090093
I give up
Jun 17, 2015
6b50d29
oops, old debug lines
Jun 17, 2015
a7648d0
Such a small change
Jun 17, 2015
20fcbbe
That bot is a travisty.
Jun 17, 2015
b52f21a
Merge pull request #218 from g1real/master
MarkVabulas Jun 17, 2015
07b1d06
Update version number for autoupdate.
MarkVabulas Jun 17, 2015
6b30158
Merge pull request #5 from wchill/master
Jun 17, 2015
3ac823f
Oversight in script versions.....
MarkVabulas Jun 17, 2015
d34a8af
Made CPS 0 during gold shower bossfights
Jun 17, 2015
0e7fb1c
Undoing some stupid extra stuff.
Jun 17, 2015
fd96b2e
hasItem() instead of canUseItem()
Jun 17, 2015
957b427
Merge pull request #222 from g1real/master
MarkVabulas Jun 17, 2015
5a1f411
Properly disabling all clicks if its a boss level
MarkVabulas Jun 17, 2015
7f1aaa1
Fix disabling of abilities against bosses
welwood08 Jun 17, 2015
7d8b0d4
A chance of displaying a log message after always using the ability i…
welwood08 Jun 17, 2015
ab3490b
Merge pull request #225 from welwood08/fix-resurrection-chances
MarkVabulas Jun 17, 2015
7059a1d
Add button to batch purchase item using badge points on beginning
Jun 17, 2015
3004f20
Corrections after travis. Yep he was right
Jun 17, 2015
dd75f6f
Merge pull request #224 from welwood08/fix-boss-disabled-abilities
MarkVabulas Jun 17, 2015
7c8f24e
Merge pull request #226 from FmeuMan/master
MarkVabulas Jun 17, 2015
d5c6050
Version Bump for batch ability purchasing
MarkVabulas Jun 17, 2015
2998078
Actually disable autoclick
Jun 17, 2015
9516310
Merge pull request #6 from wchill/master
Jun 17, 2015
a71c984
Merge pull request #227 from g1real/master
MarkVabulas Jun 17, 2015
58d516c
Version bump for updates
MarkVabulas Jun 17, 2015
061485c
Merge pull request #7 from wchill/master
Jun 17, 2015
2e6a0c6
Fixed displaying clicks falsely when disabled
Jun 17, 2015
1fda255
Version bump
Jun 17, 2015
44c4dd3
Undo version bump
Jun 17, 2015
281fa14
Brackets
Jun 17, 2015
04b5b37
Merge pull request #229 from g1real/master
MarkVabulas Jun 17, 2015
b2eb590
Version bump to fix issues with visualizations
MarkVabulas Jun 17, 2015
8da2bdf
Commits to remove dps on raining rounds.
MarkVabulas Jun 17, 2015
ce62137
Version bump.
MarkVabulas Jun 17, 2015
a18e828
Merge pull request #8 from wchill/master
Jun 17, 2015
905f818
Fixed autoclicker toggle actually doing something again
Jun 17, 2015
1e49cd6
Travis, honestly, I didn't even edit those lines.
Jun 17, 2015
36952e5
Made getWantedClicksPerSecond actually return
Jun 17, 2015
46414da
Merge pull request #236 from g1real/master
MarkVabulas Jun 17, 2015
e9bbbc7
Version Bump
MarkVabulas Jun 17, 2015
bfc72fa
Combine lane and game player counts into the same function, move the …
welwood08 Jun 17, 2015
2c7d328
Merge pull request #9 from wchill/master
Jun 17, 2015
aff1b98
Fixing autoclicker toggle finally?
Jun 17, 2015
5bcfe36
BRACKET
Jun 17, 2015
17f50ea
remove trailing space
Jun 17, 2015
c577d63
Merge pull request #239 from g1real/master
wchill Jun 17, 2015
1f8a691
Merge pull request #231 from welwood08/unify-statistics-ui
wchill Jun 17, 2015
250adde
Revert "Unify statistics UI"
wchill Jun 17, 2015
7e55f52
Merge pull request #240 from wchill/revert-231-unify-statistics-ui
wchill Jun 17, 2015
053cb65
Slowdown before n*100 level
veniversum Jun 17, 2015
1d34a38
tabs
veniversum Jun 17, 2015
bf196a9
Fix bug
veniversum Jun 17, 2015
36aadcb
Remove speedThreshold check
veniversum Jun 17, 2015
ed00e8d
Updated to use control variables
veniversum Jun 17, 2015
c7264e5
Lock all elements
wchill Jun 17, 2015
c141bca
version bump
wchill Jun 17, 2015
f1f6e94
Updated tick calculations.
MarkVabulas Jun 17, 2015
95c0748
Merge pull request #242 from veniversum/patch-2
MarkVabulas Jun 17, 2015
9f66944
Tweaked values and updated everything to improve speed, version bump
MarkVabulas Jun 17, 2015
82dade0
Review of batch purchase buttons
Jun 17, 2015
32c758e
Merge pull request #10 from wchill/master
Jun 17, 2015
2316208
Merge pull request #250 from FmeuMan/master
MarkVabulas Jun 17, 2015
a75bd1e
Reworked Like New and made it a scrooge.
Jun 17, 2015
d77d756
adding control.
Jun 17, 2015
9f888e7
Merge pull request #251 from g1real/master
MarkVabulas Jun 17, 2015
91e53d4
version bump and allowing for proper WH on early rounds
MarkVabulas Jun 17, 2015
48ba87c
Show who is using offensive abilities
wchill Jun 17, 2015
8e63864
Merge branch 'master' of https://github.com/wchill/steamSummerMinigame
wchill Jun 17, 2015
90f7c07
highlight offending players' names
wchill Jun 17, 2015
8acb6ad
ESLint
wchill Jun 17, 2015
b65821d
Version bump, bolded names
wchill Jun 17, 2015
9ee7bb5
Show only improperly used abilities
wchill Jun 17, 2015
654c127
Clear ability log before displaying
wchill Jun 17, 2015
35339c3
Update Wormhole usage detection
wchill Jun 17, 2015
90ffb72
Readability
wchill Jun 17, 2015
b27728d
Improve wormhole detection
wchill Jun 17, 2015
bedf810
Display level abilities were used on
wchill Jun 17, 2015
3e9b879
Praise Gold Helm
wchill Jun 18, 2015
5d0f5e2
Toggle for praise
wchill Jun 18, 2015
6427c29
Praise Gaben + Lord Helm
wchill Jun 18, 2015
fb5562f
Gold Helm UI with drop shadows
wchill Jun 18, 2015
cc6e082
Version bump
wchill Jun 18, 2015
f9e1922
typo
wchill Jun 18, 2015
4a9e6c7
typo fixed with another typo
wchill Jun 18, 2015
0bf6837
Choose your praise
wchill Jun 18, 2015
f15dbb1
Multibuy badges
KennethShen Jun 17, 2015
b14097f
Merge pull request #221 from KennethShen/patch-1
wchill Jun 18, 2015
a916441
Boost wormholes usage to one/second by ignoring cooldowns.
koolkdev Jun 18, 2015
b6b5003
No more throw money at screen for x100 boss
koolkdev Jun 18, 2015
b8e9ab6
Remove the evil money-thrower
dama-de Jun 18, 2015
3a668c1
fix getActiveAbilityLaneCount
brandonvb Jun 18, 2015
432bf4b
Merge pull request #282 from Dam4rusxp/master
wchill Jun 18, 2015
0329619
Merge pull request #283 from brandonvb/patch-1
wchill Jun 18, 2015
9b34b27
Merge pull request #279 from koolkdev/master
wchill Jun 18, 2015
71fc363
Bump version
wchill Jun 18, 2015
ab8fa48
Ability use switch
wchill Jun 18, 2015
d20113a
oops
wchill Jun 18, 2015
6a1ad1f
again
wchill Jun 18, 2015
ec25879
fix console spam
wchill Jun 18, 2015
00cde35
Added Jump size predictor.
MarkVabulas Jun 19, 2015
b16af3c
Missing Semi-colon.
MarkVabulas Jun 19, 2015
b47ae46
Need to separate the header info updates.
MarkVabulas Jun 19, 2015
a358f83
Removed unnecessary title elements
MarkVabulas Jun 19, 2015
b140001
Fixed missing refernece
MarkVabulas Jun 19, 2015
2861af5
Ooops.
MarkVabulas Jun 19, 2015
a7713a7
Improved Like New Use
MarkVabulas Jun 19, 2015
c472181
Testing WH Use
MarkVabulas Jun 19, 2015
7fe7ad1
No need for this loop.
MarkVabulas Jun 19, 2015
4a1b8ec
Possible speedup for WH Use
MarkVabulas Jun 19, 2015
f3d7a67
formatting numbers
Jun 19, 2015
2f48eba
Added changes to force WH use late game
MarkVabulas Jun 19, 2015
0702ffd
Removed unnecessary functions / imrpoved LN/WH use
MarkVabulas Jun 19, 2015
136237b
Fixed Click Code
MarkVabulas Jun 19, 2015
4fc7250
Merge pull request #309 from wchill/wh_optimize
wchill Jun 19, 2015
00d75a1
Version bump
wchill Jun 19, 2015
af12deb
Backwards!
MarkVabulas Jun 19, 2015
0e2e301
Bump again
MarkVabulas Jun 19, 2015
bd2364a
Revert version number to prevent autoupdate
wchill Jun 19, 2015
66edde3
Moved WH calculation code
MarkVabulas Jun 19, 2015
0461336
Version Bump
MarkVabulas Jun 19, 2015
889a859
Update autoPlay.user.js
Pawsed Jun 19, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
languages:
JavaScript: true
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = crlf
insert_final_newline = true

[*.js]
indent_style = tab
indent_size = 4
charset = utf-8
32 changes: 32 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"env": {
"browser": true // jshint:browser=true
},
"globals": {
"GM_info": false
},
"rules": {
"curly": 2, // jshint:curly=true
"indent": [2, "tab"],
"new-cap": 0, // jshint:newcap=false
"no-console": 0, // jshint:devel=true
"no-undef": 2, // jshint:undef=true
"strict": [2, "function"], // jshint:strict=true
// jshint:laxbreak=true

// defaults manually disabled until a style decision is made
"camelcase": 0,
"eqeqeq": 0,
"key-spacing": 0,
"no-alert": 0,
"no-eval": 0,
"no-mixed-spaces-and-tabs": 0,
"no-multi-spaces": 0,
"no-shadow": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"quotes": 0,
"space-infix-ops": 0,
"yoda": 0
}
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: node_js
node_js:
- "0.11"
notifications:
email: false
install:
- npm install eslint -g
script:
- eslint autoPlay.user.js
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Martin ( http://github.com/mouseas/ )
Copyright (c) 2015 Martin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
58 changes: 28 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# Steam Summer 2015 Monster Minigame AutoScript #
#Steam Summer 2015 Monster Minigame AutoScript#

[![forthebadge](http://forthebadge.com/images/badges/fuck-it-ship-it.svg)](http://forthebadge.com) [![Build Status](https://travis-ci.org/wchill/steamSummerMinigame.svg)](https://travis-ci.org/wchill/steamSummerMinigame)

## Purpose ##

This javascript automatically plays the 2015 Steam Summer minigame for you in a semi-optimal way.
It cheats for you.

This fork has:
* Elemental damage and gold prioritization
* Auto clicking
* Tickrate set to 1000ms every second
* Disable most particles
* Auto use abilities
* idk

It goes beyond the autoclicker scripts already out there. It will keep you in the lane where you'll make the most money, activate abilities as they are available and best apply, and possibly purchase upgrades and
powerups for you.
**This fork is designed for use as a group (specifically the [MSG2015 Steam Group](http://steamcommunity.com/groups/MSG2015)).**

**DISCLAIMER:** This autoscript will *NOT* include an auto-clicker. Automatic clicking pushes into the area of cheating, and this script is not designed for cheating. It is designed for automating the process of collecting gold.

## Features ##

Expand All @@ -30,64 +38,54 @@ powerups for you.
- Disables certain abilities and items if facing a Boss (to try to maximize Raining Gold and Metal Detector benefits)

## Installation ##
**It is recommended to use either [Tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) (Chrome) or [Greasemonkey](https://addons.mozilla.org/en-us/firefox/addon/greasemonkey/) (Firefox).** This allows the script to auto-update to the most recent version. The rate of this update can be changed in each extension's preferences.

### Tampermonkey ###
### [Tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) ###

1. Open Tampermonkey's dashboard.
2. Click on the `Utilites` tab on the right.
3. Paste `https://raw.githubusercontent.com/mouseas/steamSummerMinigame/master/autoPlay.js` into the text area, and click `Import`.
4. When the editor has loaded, click `Install` (*NOT* `Process with Chrome`).
1. Navigate to `https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.user.js` or click [here](https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.user.js).
2. When the editor has loaded, click `Install` (*NOT* `Process with Chrome`).

### Greasemonkey ###
### [Greasemonkey](https://addons.mozilla.org/en-us/firefox/addon/greasemonkey/) ###

1. Navigate to `https://raw.githubusercontent.com/mouseas/steamSummerMinigame/master/autoPlay.js`.
1. Navigate to `https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.user.js` or click [here](https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.user.js).
2. Right click on the page, and click `Save Page As`.
3. In the name text area at the top, remove the tailing `.js` and add `.user.js` to the end (this may be redundant in the future).
4. While Firefox is still open, open a File Manager of any sort, and navigate to the directory you saved the script.
5. Drag & drop the script file onto the Firefox window.
6. Press `Install`.
3. While Firefox is still open, open a File Manager of any sort, and navigate to the directory you saved the script.
4. Drag & drop the script file onto the Firefox window.
5. Press `Install`.

### Manual ###

##### Chrome #####
1. Open `autoPlay.js` in a text editor.
1. Open https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.user.js
2. Select All, Copy.
3. Navigate to `http://steamcommunity.com/minigame/` and join or start a game.
4. Press `Ctrl + Shift + J`.
5. Paste into the javascript input, and hit `Enter`.

##### Firefox #####
1. Open `autoPlay.js` in a text editor.
1. Open https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.user.js
2. Select All, Copy.
3. Navigate to `http://steamcommunity.com/minigame/` and join or start a game.
4. Press `Ctrl + Shift + K`.
5. Paste into the javascript input, and hit `Enter`.

##### Internet Explorer / Microsoft Edge #####
1. Open `autoPlay.js` in a text editor.
1. Open https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.user.js
2. Select All, Copy.
3. Navigate to `http://steamcommunity.com/minigame/` and join or start a game.
4. Press `F12` and navigate to the `Console` tab.
5. Paste into the javascript input, and hit `Enter`.

To stop the manual script, type `window.clearTimeout(thingTimer);` into the console and hit `Enter`.
To stop the manual script, type `window.clearTimeout(window.SteamDB_Minigame_Timer);` into the console and hit `Enter`.

The game should now play itself, you should leave it running in the background. If you're not sure if it is auto-playing, try changing lanes. If it jumps back almost immediately, it's working.

## I want to contribute! ##

This project is open-source on github. There are different ways you can help:
This project is open-source on GitHub. There are different ways you can help:

- Find a Pull Request that's marked `needs testing`. Run that version of the script for a while and watch the console for errors. If there's no errors, pay attention to what the changes are doing gameplay-wise, and make sure it's doing what it's supposed to do.
- Find an Issue that's marked `help wanted`. Make the changes needed by that issue, and create a Pull Request with your enhancement or bugfix.
- Pick an item off the TODO list, below, and implement it. When it's done (and tested and working), create a Pull Request.
- Got an idea for an improvement that's not already listed? Code it up, test it out, then make a Pull Request when it's ready.

### TODO ###

- use abilities if available and a suitable target exists:
- Metal Detector if a spawner death is imminent (predicted in > 2 and < 7 seconds)
- Decrease Cooldowns right before using another long-cooldown item. (Decrease Cooldown affects abilities triggered while it is active, not right before it's used)
- Steal Health item if Medics is in cooldown and health is low. This should happen before using God Mode, and God Mode shouldn't be used if Steal Health is active.
- purchase abilities and upgrades intelligently
- automatically update the manual script by periodically checking https://raw.githubusercontent.com/mouseas/steamSummerMinigame/master/autoPlay.js
- Do NOT change the script version in your PR as it could be incremented before your PR is merged.
Loading