ermiyaeskandary / Slither.io-bot

Just for fun and AI. Written in Javascript, this is a project which the aim is to make a computer play against humans inside a human-driven game, which is in this case Slither.io. The goal is simple - try and make the snake live and get as long as possible.
Mozilla Public License 2.0
193 stars 124 forks source link

store my nick so updates don't overwrite nick #308

Open phrokton opened 8 years ago

phrokton commented 8 years ago

Check somewhere for nick. If null bot uses its default. I overwrite default. Store my nick somewhere.

Then updates, installing forks, exit- restart interweb browser, or whatever my nick is paramount.

Drflash55 commented 8 years ago

Not exactly sure that's possible, unless the nickname was stored locally as a file, which would cause some problems with security because Tampermonkey doesn't know what it's doing.

ChadSki commented 8 years ago

Didn't we add this block of code for custom user bot settings, to prevent them from being overwritten by updates?

Maybe we can add a nick field?