l3mpik / slither-feeder-bot

Slither.io FeederBots
MIT License
16 stars 17 forks source link

random name and random skin #12

Closed anonymousxxx02 closed 8 years ago

anonymousxxx02 commented 8 years ago

add this in feeder.js at the top


var slithernames = {};

slithernames.nameList = [ "nikos","AnonymousBots","xxx2" ];

slithernames.getRandomName = function() { return slithernames.nameList[Math.floor((Math.random() * slithernames.nameList.length))]; }; function rskin(){ return Math.floor((Math.random() * 39)+1)};


and change line 50 and 52 to name: slithernames.getRandomName() skin: rskin()

Wartoz commented 8 years ago

thanks bro

anonymousxxx02 commented 8 years ago

your welcome ;)

easyrider81 commented 8 years ago

Thanks very much random skins works. fyi skin: rskin() willl need skin: rskin(),

l3mpik commented 8 years ago

Nice idea. : )

anonymousxxx02 commented 8 years ago

thank you for name i take the idea from ogar feeder bot

Wartoz commented 8 years ago

D:\Users\iTwiGX\Documents\Koding Slither.io\updated\slither-feeder-bot-master>node feeder.js D:\Users\iTwiGX\Documents\Koding Slither.io\updated\slither-feeder-bot-master\feeder.js:51 skin: rskin() ^^^^

SyntaxError: Unexpected identifier at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:387:25) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.Module.runMain (module.js:447:10) at startup (node.js:140:18) at node.js:1001:3

D:\Users\iTwiGX\Documents\Koding Slither.io\updated\slither-feeder-bot-master>Pause Appuyez sur une touche pour continuer...

Wartoz commented 8 years ago

can you do a pullrequest

easyrider81 commented 8 years ago

should look like this Wartoz, maybe missed the comma https://gyazo.com/b12824e720a5f85cbc6b4d4e211b9cd2

I haven't used random names just skins.

anonymousxxx02 commented 8 years ago

i don know how to make a pull reques :( you can download the script from here http://pastebin.com/QLMud71a

Wartoz commented 8 years ago

thanks

sebakof commented 4 years ago

alguien usa bots