davidmann4 / ogar-feeder-bot

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

server-booted-up & hang #537

Open DylanIssa2 opened 8 years ago

DylanIssa2 commented 8 years ago

Using both local servers hosted on PC that will be playing, and on a VPS. Even using the "public feeder server", it just says

agario-feeder-bot started! Join a game in Chrome with the Userscript installed.
Press CTRL + C to stop this script.
startup
server-booted-up

On the server it says Starting server on port 8081 User connected with id:Fv3G9edSACekg5B I have a config.js on my server, along with server.js and proxies.txt and that's it for my server. On my client I have config, proxies, feeder, etc. Even using "another" feeder script like OxygenBot's, using FacebookManager still doesn't work and hangs on server-booted-up. Any fix for this?

anonymousxxx02 commented 8 years ago

do you have your script on server or in your pc???

DylanIssa2 commented 8 years ago

I started in the OP I tried both.

anonymousxxx02 commented 8 years ago

if you ran bots on pc add this in config.js config.feederServer = "ws://127.0.0.1:8081"; and this in userscript var socket = io.connect('ws://127.0.0.1:8081');

anonymousxxx02 commented 8 years ago

what is OP ????

DylanIssa2 commented 8 years ago

OP is original post/er, it's running on my VPS but I tried local PC and it still does not work. It's connecting because I can see in the server console it's connected with a correct user ID.

mastkilxp commented 8 years ago

Im currently on holiday but heres somethings you should check.

  1. When you open start in should pop up 2 console (cmd). Look at the one which displays the connection of the server. check if its connecting to the ip of the server ur playing on.
  2. Update agarioclient.
  3. Make sure node.js is installed but i think it already is.
  4. Look for some more posts about this who know u find something.
anonymousxxx02 commented 8 years ago

@Anaphylaxis if you ran bots on pc add this in config.js config.feederServer = "ws://127.0.0.1:8081"; and this in userscript var socket = io.connect('ws://127.0.0.1:8081');

mastkilxp commented 8 years ago

@anonymousxxx02 thats already in the script if im right might only change the ws:// to what u just said but its fine.

DylanIssa2 commented 8 years ago

Apparently I forgot to do npm install, but there's a new problem. Works now, but it seems like OxygenBot's feeder is much nicer (as in, it's multithreaded?) whereas this bot is linear and waits for a proxy to connect (which fails..) and completely waits for the connection to close until it makes a new bot, going through 10 bots in 10 minutes.

mastkilxp commented 8 years ago

Lol, dont use ogar feeder use something like fwbots or oxygenbots. They are better and modifie them.