alekxeyuk / Skribbl.io-Bot

My try at creating fully automated game bot.
MIT License
65 stars 48 forks source link

I have a question (plz respond) #1

Open ghost opened 5 years ago

ghost commented 5 years ago

Hey, good bot! One question though; How would I make it draw my own images every round, rather than some random images. Let's say I'm on a server with friends and I want the bot to draw a specific image each time, how would I do that? At the moment it just scans the internet, downloads the url (or something, i didn't go to deep into the code) and draws it.

Also, if you wish to email me the method on how to do for fear of idiots uploading porn and other inmature things, email me here: kylejcatterall@gmail.com

alekxeyuk commented 5 years ago

Hello, just add this

return hitherdither.ordered.cluster.cluster_dot_dithering(Image.open("name.jpg").resize((int(200), int(150))), palette, [1, 1, 1], 4)

On line 48, "name.jpg" should be your image name in jpg format, that's all

alekxeyuk commented 5 years ago

To join room with your friend get code here code and paste it in settings dict join

ghost commented 5 years ago

Thanks for the reply.

The 'join': 'server-code' doesn't work. I don't know why, it just does not work for me. As for adding the code to upload our own images on line 48, which file do I put that in? I put it in line 48 of the google images file and the bot wouldn't run, so I reinstalled the bot and put it in line 48 of the draw bot.py file and when it reaches the bots turn it immediately crashes. Any instructions?

Thanks, kyle.

persia00 commented 5 years ago

how do i get the bot to do the picture

Mrhappyzoid commented 5 years ago

how to use this this hack pls teach.

theZombieGeneral commented 5 years ago

yeah , where do we add it

Aran8276 commented 5 years ago

how to use this this hack pls teach.

https://www.youtube.com/watch?v=UlWl19QqDUc