-
Notifications
You must be signed in to change notification settings - Fork 78
/
config.js
34 lines (24 loc) · 1010 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
module.exports = {
BOARD_URL: 'https://www.reddit.com/api/place/board-bitmap',
BOARD_FILE: __dirname + '/tmp/board.bmp',
REMOTE_TARGET_URL: 'https://raw.githubusercontent.com/Zequez/reddit-placebot/master/images/target.png',
REMOTE_TARGET_FILE: __dirname + '/tmp/remote_target',
LOCAL_TARGET_FILE: __dirname + '/images/target.png',
DRAW_URL: 'https://www.reddit.com/api/place/draw.json',
// Use the REMOTE_TARGET_URL file as target, otherwise it's gonna just
// try to read from target.bmp
useRemoteTarget: false,
// Wait until these amount of accounts are available
// and paint pixels at the same time
bundleAccounts: 10,
// The PLACEBOT mark in the world <3
targetStartX: 981,
targetStartY: 784,
drawMode: 'RANDOM', // LEFTTOP | RANDOM
// Testing configuration things
// This is used for testing
useExistingBoardCache: false,
// Do not send the painting to the server so you don't waste your pixels
// while testing something else
mockPainting: false
}