Git Product home page Git Product logo

bot's Introduction

NEDERLANDSE VERSIE ONDERAAN DE PAGINA

PlaceNL Bot (English)

The bot for PlaceNL and their allies! This bot connects with the command server and gets it's orders from there. You can see the orderhistory here.

User script bot

Installation instructions

before you start, make sure your cooldown has run out!

  1. Install the Tampermonkey browserextention.
  2. Click on this link: https://github.com/Bilaboz/Bot/raw/master/placenlbot.user.js. If everything went well you'll see Tampermonkey ask you to add it. Click Install.
  3. Reload your r/place tab. If everything went well, you'll see "Accesstoken ophalen..." in the top right of your screen. The bot is now active, You'll be able to see what the bot is doing through these messages.

Cons of this bot

  • When the bot places a pixel, it will look as if it wasn't placed, while the bot has already done that (and thus you're in cooldown). You can see the cooldown in the topright of your screen.

Headless bot

You need to create a reddit script app

  1. Go to Reddit Applications Page
  2. At the bottom of the page, create a new app
  3. Select script type Create App Image
  4. Copy the ID and Secret App Secrets Image

Installation instructions

With Docker

  1. Install Docker and docker-compose.
  2. Clone this repository.
  3. Complete your .env file following example.env.
  4. Run docker-compose up -d (Check that the bot is running correctly using docker-compose logs)
  5. BONUS: You can edit the docker-compose.yml file to add more accounts easily.

Without Docker

  1. Install NodeJS.
  2. Download the bot via this link.
  3. Extract the bot anywhere on your desktop
  4. Open a command prompt/terminal in this folder Windows: Shift+right mousebutton in the folder -> Click on "open Powershell here" Mac: No clue, sorry! Linux: Is this neccisary?
  5. Install the dependencies: npm i
  6. Setup your env following the example.env
  7. execute the bot node bot.js
  8. BONUS: You can repeat these steps for any amount of accounts you'd want. Keep in mind to use different accounts.

PlaceNL Bot

De bot voor PlaceNL! Deze bot verbindt met de commando server en krijgt daar order van. De ordergeschiedenis kan je hier bekijken.

User script bot

Installatieinstructies

Voordat je begint, zorg dat je pixel wachttijd is verlopen!

  1. Installeer de Tampermonkey browserextensie.
  2. Klik op deze link: https://github.com/PlaceNL/Bot/raw/master/placenlbot.user.js. Als het goed is zal Tampermonkey je moeten aanbieden om een userscript te installeren. Klik op Install.
  3. Herlaad je r/place tabblad. Als alles goed is gegaan, zie je "Accesstoken ophalen..." rechtsbovenin je scherm. De bot is nu actief, en zal je via deze meldingen rechtsbovenin je scherm op de hoogte houden van wat 'ie doet.

Nadelen van deze bot

  • Wanneer de bot een pixel plaatst, ziet het er voor jezelf uit alsof je nog steeds een pixel kunt plaatsen, terwijl de bot dit al voor je heeft gedaan (en je dus in de 5 minuten cooldown zit). De cooldown wordt daarom rechtsbovenin je scherm weergegeven.

Headless bot

Je access token verkrijgen

  1. Ga naar r/place
  2. Open de browser console (F12/Element inspecteren -> Click op console)
  3. Plak de volgende code en druk op enter:
async function getAccessToken() {
	const usingOldReddit = window.location.href.includes('new.reddit.com');
	const url = usingOldReddit ? 'https://new.reddit.com/r/place/' : 'https://www.reddit.com/r/place/';
	const response = await fetch(url);
	const responseText = await response.text();

	return responseText.split('\"accessToken\":\"')[1].split('"')[0];
}

await getAccessToken()
  1. De tekst tussen de quotes (") is je access token.

Installatieinstructies

  1. Installeer NodeJS.
  2. Download de bot via deze link.
  3. Pak de bot uit naar een folder ergens op je computer.
  4. Open een command prompt/terminal in deze folder Windows: Shift+Rechter muis knop in de folder -> Click op "Powershell hier openen" Mac: Echt geen idee. Sorry! Linux: Niet echt nodig toch?
  5. Installeer de nodige depdendencies met npm i
  6. Voor de bot uit met node bot.js ACCESS_TOKEN_HIER
  7. BONUS: Je kunt de laatse twee stappen zo vaak doen als je wil voor extra accounts. Let wel op dat je andere accounts gebruikt anders heeft het niet heel veel zin.

bot's People

Contributors

alexandregv avatar arjenholmer avatar bilaboz avatar clafoutis42 avatar jerem-ma avatar juliavdkris avatar kallestruik avatar mickderks avatar nimon77 avatar noahvdaa avatar nuc1e4r5n4k3 avatar terebo avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.