Code Monkey home page Code Monkey logo

pixelplanet.fun-bot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pixelplanet.fun-bot's Issues

ERROR

What is the error and why does it appear?

Video 0375 Everything worked fine yesterday.

Help! I don't understand

I do everything that is written, but it turns out:

Microsoft Windows [Version 6.1.7601]
(c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.

C:\Users\User>cd C:\Users\User\Desktop\pp

C:\Users\User\Desktop\pp>npm start - 2000 -12000 C:\Users\User\Desktop\pp\brati
shkin.png f60c10d5a08f7212f53092e08ee35a05 y n none

[email protected] start C:\Users\User\Desktop\pp
npm install && npm run build && npm run start-script -- "-" "2000" "C:\Users\U
ser\Desktop\pp\bratishkin.png" "f60c10d5a08f7212f53092e08ee35a05" "y" "n" "none"

npm WARN [email protected] No repository field.

audited 207 packages in 2.601s
found 2 vulnerabilities (1 low, 1 moderate)
run npm audit fix to fix them, or npm audit for details

[email protected] build C:\Users\User\Desktop\pp
tsc

[email protected] start-script C:\Users\User\Desktop\pp
node ./dist/client.js "-" "2000" "C:\Users\User\Desktop\pp\bratishkin.png" "f6
0c10d5a08f7212f53092e08ee35a05" "y" "n" "none"

Checking for updates...
Already up to date
x=NaN
y=2000
imgPath=C:\Users\User\Desktop\pp\bratishkin.png
fingerprint=f60c10d5a08f7212f53092e08ee35a05
Dither the image=true
constantWatch=false

Starting with parameters: {"constantWatch":false,"customEdgesMapImagePath":"","d
itherTheImage":true,"doNotOverrideColors":[null],"fingerprint":"f60c10d5a08f7212
f53092e08ee35a05","imgPath":"C:\Users\User\Desktop\pp\bratishkin.png","xLef
tMost":null,"yTopMost":2000}
Reading the picture...
Done reading. 280 x 280
expectedOutput.png <- Contains the final expected image.
currentlyMaking.png <- Contains the current edges map we're working with.
Initializing...
Ok, let's go!
Error: Chunk gathering responded with Not Found
at C:\Users\User\Desktop\pp\dist\chunkCache.js:245:31
at processTicksAndRejections (internal/process/task_queues.js:89:5)
Starting listening for changes via websocket
Error: Chunk gathering responded with Not Found
at C:\Users\User\Desktop\pp\dist\chunkCache.js:245:31
at processTicksAndRejections (internal/process/task_queues.js:89:5)
Error: Chunk gathering responded with Not Found
at C:\Users\User\Desktop\pp\dist\chunkCache.js:245:31
at processTicksAndRejections (internal/process/task_queues.js:89:5)

Error Invalid fingerprint

Error!
Fingerprint is invalid. Make sure your start command is correct
Program usage:
npm start -- x y imgPath fingerprint [dither constantWatch customDrawPattern]

fingerprint take from the browser. after setting the pixel, what's wrong?

bot strategies

Hi, I have been using this bot for a few days, my friend and I were wondering if the bot had strategies, but we never found the option to change, I wanted to know if there is a way to change and how?

error 400

Error: Pixel posting responded with Request failed with status code 400

Socket Error while working

I started bot after new fix, and now he works, but i have error and he don't draw:
Starting with parameters: {"constantWatch":false,"customEdgesMapImagePath":"","ditherTheImage":true,"doNotOverrideColors":[null],"fingerprint":"d072436afbe1ef7657f3d401411bd46071570951437","imgPath":"M.png","xLeftMost":13900,"yTopMost":-10900} Reading the picture... Done reading. 70 x 70 currentlyMaking.png <- Contains the current edges map we're working with. expectedOutput.png <- Contains the final expected image. Initializing... Ok, let's go! TypeError: Cannot read property 'status' of undefined at axios_1.default.catch (c:\Users\Пользователь\Desktop\pixelplanet.fun-bot-master\dist\chunkCache.js:236:40) at process._tickCallback (internal/process/next_tick.js:68:7) Socket encountered error, closing socket connect ETIMEDOUT 104.31.80.140:443 Socket was closed. Reconnecting... Socket encountered error, closing socket connect ETIMEDOUT 104.31.80.140:443 Socket was closed. Reconnecting... TypeError: Cannot read property 'status' of undefined at axios_1.default.catch (c:\Users\Пользователь\Desktop\pixelplanet.fun-bot-master\dist\chunkCache.js:236:40) at process._tickCallback (internal/process/next_tick.js:68:7) Socket encountered error, closing socket connect ETIMEDOUT 104.31.80.140:443 Socket was closed. Reconnecting... TypeError: Cannot read property 'status' of undefined at axios_1.default.catch (c:\Users\Пользователь\Desktop\pixelplanet.fun-bot-master\dist\chunkCache.js:236:40) at process._tickCallback (internal/process/next_tick.js:68:7) Socket encountered error, closing socket connect ETIMEDOUT 104.31.80.140:443 Socket was closed. Reconnecting... TypeError: Cannot read property 'status' of undefined at axios_1.default.catch (c:\Users\Пользователь\Desktop\pixelplanet.fun-bot-master\dist\chunkCache.js:236:40) at process._tickCallback (internal/process/next_tick.js:68:7) Socket encountered error, closing socket connect ETIMEDOUT 104.31.80.140:443 Socket was closed. Reconnecting... TypeError: Cannot read property 'status' of undefined at axios_1.default.catch (c:\Users\Пользователь\Desktop\pixelplanet.fun-bot-master\dist\chunkCache.js:236:40) at process._tickCallback (internal/process/next_tick.js:68:7) Socket encountered error, closing socket connect ETIMEDOUT 104.31.80.140:443 Socket was closed. Reconnecting...
Maybe i need open firewall ports or something else?

Why code can't start?

C:\Users\Сергей\Documents\pixelplanet.fun-bot-master>npm start -- -14351 -29087
fond.png 9a7004d88357826f8f1c7aa9d21857a6 n y none

[email protected] start C:\Users\Сергей\Documents\pixelplanet.fun-bot
-master
npm install && npm run build && npm run start-script -- "-14351" "-29087" "fon
d.png" "9a7004d88357826f8f1c7aa9d21857a6" "n" "y" "none"

npm WARN [email protected] No repository field.

audited 207 packages in 1.613s
found 2 vulnerabilities (1 low, 1 moderate)
run npm audit fix to fix them, or npm audit for details

[email protected] build C:\Users\Сергей\Documents\pixelplanet.fun-bot
-master
tsc

[email protected] start-script C:\Users\Сергей\Documents\pixelplanet.
fun-bot-master
node ./dist/client.js "-14351" "-29087" "fond.png" "9a7004d88357826f8f1c7aa9d2
1857a6" "n" "y" "none"

Checking for updates...
Already up to date
x=-14351
y=-29087
imgPath=fond.png
Dither the image=false
constantWatch=false
customEdgesMapImagePath=none

Starting with parameters: {"constantWatch":false,"customEdgesMapImagePath":"none
","ditherTheImage":false,"doNotOverrideColors":[null],"imgPath":"fond.png","xLef
tMost":-14351,"yTopMost":-29087}
Reading the picture...
Done reading. 416 x 62
events.js:174
throw er; // Unhandled 'error' event
^

Error: ENOENT: no such file or directory, open 'C:\Users\Сергей\Documents\pixelp
lanet.fun-bot-master\none'
Emitted 'error' event at:
at lazyFs.open (internal/fs/streams.js:115:12)
at FSReqWrap.args [as oncomplete] (fs.js:140:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start-script: node ./dist/client.js "-14351 " "-29087" "fond.png" "9a7004d88357826f8f1c7aa9d21857a6" "n" "y" "none"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start-script script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Сергей\AppData\Roaming\npm-cache_logs\2019-06-11T09_44_42
_840Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: npm install && npm run build && npm run start-script -- "-14351" "-29087" "fond.png" "9a7004d88357826f8f1c7aa9d21857 a6" "n" "y" "none"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Сергей\AppData\Roaming\npm-cache_logs\2019-06-11T09_44_42
_929Z-debug.log

Pixel

I look at expectedOutput.png and it seems that pixels are drawn in pixelplanet.fun not in their places

Video 0376

Video 0377

Fix new colors

Hi, please fix the colors you fetch with & 0x1F, as the upper bits of the colors can and will be used for other stuff

export const COLORS_RGB: Uint8Array = new Uint8Array( [
202, 227, 255, //first color is unset pixel in ocean
255, 255, 255, //second color is unset pixel on land
255, 255, 255, //white
228, 228, 228, //light gray
196, 196, 196, //silver
136, 136, 136, //dark gray
78, 78, 78, //darker gray
0, 0, 0, //black
244, 179, 174, //skin
255, 167, 209, //light pink
255, 84, 178, //pink
255, 101, 101, //peach
229, 0, 0, //red
154, 0, 0, //dark red
254, 164, 96, //light brown
229, 149, 0, //orange
160, 106, 66, //brown
96, 64, 40, //dark brown
245, 223, 176, //sand
255, 248, 137, //khaki
229, 217, 0, //yellow
148, 224, 68, //light green
2, 190, 1, //green
104, 131, 56, //olive
0, 101, 19, //dark green
202, 227, 255, //sky blue
0, 211, 221, //light blue
0, 131, 199, //dark blue
0, 0, 234, //blue
25, 25, 115, //darker blue
207, 110, 228, //light violette
130, 0, 128, //violette
]
);

Help me pls

[email protected] start C:\Users\User\Pictures\pixelplanet.fun-bot-master
npm install && npm run build && npm run start-script -- "23626" "-23422" "C:\Users\User\Downloads\333.png" "1cf07c7650019887436b8587b8d454f5" "n" "y" "none"
[email protected] start-script C:\Users\User\Pictures\pixelplanet.fun-bot-master
node ./dist/client.js "23626" "-23422" "C:\Users\User\Downloads\333.png" "1cf07c7650019887436b8587b8d454f5" "n" "y" "none"
Checking for updates...
Already up to date
x=23626
y=-23422
imgPath=C:\Users\User\Downloads\333.png
fingerprint=1cf07c7650019887436b8587b8d454f5


Error!
Fingerprint is invalid. Make sure your start command is correct.

Program usage:
npm start -- x y imgPath fingerprint [dither constantWatch customDrawPattern]

Parameters:
x - leftmost pixel of the pixture.
y - topmost pixel of the picture.
image - path to your image. Can be URL to image.
fingerprint - your fingerprint.
dither - "y/n" option to dither your image. Often used to compensate for lack of colors in new pallet.
constantWatch - after finished painting, bot will continue to watch over the painting and defend against any attacks.
customDrawPattern - path to image (same size as input image). Bot drawing will start from "whitest" color and end with "blackest".

Bot failure

Hello, Woyken!
I would like to report to you a new issue. The issue was noticed at least at two devices, so it is certainly not a hardware or network problem. As far as I understand, it is caused by the public chat feature, added by Pixelplanet developers. Sometimes, when anything is written in the chat, the bot fails. It seems to me that at a certain moment the bot catches up the chat data except for the pixel map data, which causes an error. I hope that fixing it won't be too troublesome.
Thanks beforehand.
2019-10-07T08_46_37_239Z-debug.log

Solving captcha

As will be realized, the solution to the captcha? It would be expected to solve manually, by raising at least the local server and capture the captcha window.
капч

A possible enhancement for the bot. Add audio alerts.

Hello, Woyken!
I've been using Your bot for quite a while already, and I'd like to thank You for all the work You've done. However, I would like to ask You about adding one more feature.
Since the captcha confirmnation is requested quite often now, you have to check the bot operability manually, which is not really convenient. It would have been really nice if You add a feature of playing a custom audiofile, placed in the bot's directory by user, every time the bot stops working, using the system's default audioplayer. It's OK, if You won't add it for some reason. Anyway, thanks one more time and sorry for (possibly) bad English.

Error when start bot on Linux

Error: Chunk gathering responded with Not Found
    at axios_1.default.catch (/home/chellinux/Загрузки/pixelplanet.fun-bot-master/dist/chunkCache.js:245:31)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

x32 Xubuntu 18.04
Please help

Enhancements for bot

Hello again, @Woyken
I used your bot for 7 hour, and it's really good thing.
If you can enhance bot, make that:

  1. Multi account in one window.
    I need to open 4* windows of Shell, and launch copy of bots. And it's hard to find account, where i need solve captcha.
  2. Speed up pixel placing.
    For 5 hours 4* bots were building 70x70 picture, it buided, but too slow, and ended on 70% progress. If possible, can speed up bot?

And in theory, i can help code bot, but i middle-knowledge of JS, so idk. :/

Labels: Enhancement

pixelplanet.fun bot doesn't work

Hello Woyken. Today a new update of pixelplanet.fun has appeared. Was added a new canvas and main canvas link has been changed from pixelplanet.fun to pixelplanet.fun/#d. And your bot because of this, I think, it stopped working.
fghfgh

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.