Skip to content

nataelbaffou/Bot

 
 

Repository files navigation

Bot (Français)

Bot pour l'INSA! Ce bot ce connect au serveur de commandement et reçoit les ordres de ce dernier. Vous pouvez voir l'historique des ordres ici.

Extension pour le navigateur

Instructions d'installation

Avant l'installation, assurez-vous que votre compteur de temps sur r/place soit bien à 0

  1. Installer l'extension Tampermonkey.
  2. Cliquer sur ce lien: https://raw.githubusercontent.com/nataelbaffou/Bot/master/placenlbot.user.js. Si tout vas bien Tampermonkey devrait vous demander si vous souhaitez installer cette extension. Cliquer sur Install.
  3. Recharger votre onglet r/place. Si tout ce passe bien, vous devriez voir des messages apparaître en haut à droite de votre navigateur. Le bot est désormais actif, vous pouvez observer ces actions au travers des messages.

Problèmes

  • Le cooldown de Reddit ne s'actualise pas, tout comme les blocks que vous placez n'apparaîtront pas forcément. Cependant, les messages en haut à droit vous indiques les opérations en cours. Ainsi, même si rien ne s'affiche, le bot fonctionne.

Bot (English)

The INSA bot 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/nataelbaffou/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

How to get reddit_session cookie

NOTE: People have reported that this is annoying to do on chrome because teksts get unselected. Therefore we recommend that you use firefox.

  1. Go to r/place
  2. Open dev tools and go to the network tab
  3. Refresh the page
  4. Click on the first request to reddit.com/r/place (See image) Screenshot_20220403_165251
  5. Go to the tab called Cookies
  6. Copy the value of the reddit_session cookie

Installation instructions

  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 necessary?

  5. install the dependencies: npm i

  6. execute the bot node bot.js SESSION_COOKIE_HERE

  7. BONUS: You can repeat these steps for any amount of accounts you'd want. Keep in mind to use different accounts.

Docker alternative

This option is mostly useful for people who are already using docker.

It has been confirmed to run on x64(average desktop computer) and armv7(raspberry pi), but it should also be able to run on arm64(new apple computers).

  1. Install Docker
  2. Run this command: docker run --pull=always --restart unless-stopped -it weimdall/placefr-bot:latest SESSION_COOKIE_HERE

About

Bot r/PlaceFrance basé sur r/PlaceNL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.5%
  • Python 3.8%
  • Other 0.7%