alekxeyuk / Skribbl.io-Bot

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

Invisible avatar and name help? #18

Open ybogasyad opened 5 years ago

ybogasyad commented 5 years ago

Hey, Im surprised you released this bot, it looks pretty cool. I was just wondering about the blank name and avatar. i know the character for the name is \uad, not entirely sure what it is but i have no clue how you got the avatar blank and why. since its server sided i didnt think it was possible. When you get a chance id really like to learn how you did it, things like that (server presets/settings that the user cant change) really intrigue me. Im somewhat a noob but i know a decent amount so dont hesitate to use big words. haha. thanks for reading

ybogasyad commented 5 years ago

any help

fuck-shithub commented 5 years ago

In draw_bot.py on line 73 it says

await sio.emit('userData' , {"name": "­", "code":"", "avatar": [-1, -1, -1, -1], "join": SETTINGS['join'], "language": SETTINGS['language'], "createPrivate": False})

Name is empty and avatar has -1 values, so I think that's how it works.

ybogasyad commented 5 years ago

In draw_bot.py on line 73 it says

await sio.emit('userData' , {"name": "­", "code":"", "avatar": [-1, -1, -1, -1], "join": SETTINGS['join'], "language": SETTINGS['language'], "createPrivate": False})

Name is empty and avatar has -1 values, so I think that's how it works.

thanks, i saw that before but i dont know how to implement it. the game has values for position of the avatar color, eyes, and mouth. I dont know what that means when its just four -1's, since everything is separate in the game. and i said i figured out the name thanks, it was \uad or 200b, zero width space something like that

fuck-shithub commented 5 years ago

Maybe play around a little with the avatar values? Maybe it will give different results. Try changing each value a little and see what it does.

Also, to make testing easier, try this to fix the join parameter not working (custom games): https://github.com/alekxeyuk/Skribbl.io-Bot/issues/21