davidmann4 / ogar-feeder-bot

feeder bot for ogar servers
MIT License
91 stars 49 forks source link

reconnect code? #516

Open alezboyy opened 8 years ago

alezboyy commented 8 years ago

hi all , can help me anyone?

    bot.client.on('disconnect', function() {
        if (config.verbosityLevel > 0) {
            bot.log('Disconnected from the server.');
        }
        if (spawnCount > 0){ spawnCount--; bot_count--;}
        socket.emit("spawn-count", spawnCount + '/' + config.maxBots);
    });

i need a function for reconnecting bot after disconnect.

ghost commented 8 years ago

i have it new one but i aint gonna share

ALBABOY commented 8 years ago

@kurama129 give me your skype or contact info i'll give you something

FreezeEngine commented 8 years ago

@alezboyy please give me the script too...My skype:killer72379