├── LICENSE ├── README.md ├── dictionary.js └── exploder.js /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 David 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Sparklin Exploder 2 | ================= 3 | A SparklinLabs's BombParty bot. 4 | But not only, Sparklin Exploder is the best BombParty bot because he knows how to impersonate humans ! 5 | 6 | Join the dark side now :smiling_imp: 7 | 8 | How to use it 9 | ------------- 10 | 1. Join a party on [BombParty Website](http://bombparty.sparklinlabs.com/). 11 | 2. Right-click on the game canvas and select "Inspect the element". 12 | 13 | ![Step 2](https://monosnap.com/file/8w6eJGVjAem03XmtuvDysvaoNM7lqU.png) 14 | 15 | 3. Go to the "Console" tab. 16 | 17 | ![Step 3](https://monosnap.com/file/75vTU31XNI2EGIemfByS5Ve5oG7jg3.png) 18 | 19 | 4. Paste the following code in the console and press "Enter". 20 | ```javascript 21 | var exploder = document.createElement("script"); 22 | exploder.src = "http://dabsunter.github.io/sparklin-exploder/exploder.js"; 23 | document.head.appendChild(exploder); 24 | ``` 25 | ![Step 4](https://monosnap.com/file/UTGNLwe9RWPCStwCwJoKoG3ybNGV7L.png) 26 | 27 | 5. Now in the "Option" tab of the game, you have 2 buttons: 28 | - **Inject:** Inject 1 word that corresponds to the given letters. 29 | - **Auto:** Automaticly inject words when the arrow is pointing you. 30 | 31 | ![Step 5](https://monosnap.com/file/y93lIKvygJrXvpNLMaNwARSXpXIxX6.png) 32 | -------------------------------------------------------------------------------- /exploder.js: -------------------------------------------------------------------------------- 1 | function writeChat(text){ 2 | var line = document.createElement('li'); 3 | line[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = text; 4 | document.getElementById("ChatLog").appendChild(line); 5 | } 6 | 7 | function updateStatus(text){ 8 | currentStatus[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"] = text; 9 | } 10 | 11 | function setWord(w, i){ 12 | channel.socket.emit("setWord", {word: w.substring(0,i),validate: (w.length == i)}); 13 | if (i