Giter Club home page Giter Club logo

Comments (4)

crpmax avatar crpmax commented on August 11, 2024

Hello,
there is not any hardcoded limit.

You need to understand that 1000 bots simultaneously connected is very intensive.
My app is not optimized for this high count, because it handles every bot in new thread.
There can be numerous other limitations with this count.
Depending on your system, there can be for example limit of connections or limit of threads the system can handle.

However, can you please provide me the command you used to run my app?
The console log (output from the app)?
Can you try to run multiple instances of the app? (Run it in more terminals or in screen)

Also, you can try to run multiple instances of my minecraft-bot-flood,
which is more optimized for connecting large amounts of bots fast, but the bots can not be controlled.

from mc-bots.

XynthX avatar XynthX commented on August 11, 2024

My command was: java -Xms32768M -Xmx32768M -jar mc-bots-1.2.1.jar -s 127.0.0.1:25565 -d 0 1 -c 2000 -x
and I can't figure out how to enable OpenSSL in php

from mc-bots.

crpmax avatar crpmax commented on August 11, 2024

Ok, I will try to reproduce it and find possible solutions.
Also, I will modify the minecraft-bot-flood to not use OpenSSL.

from mc-bots.

crpmax avatar crpmax commented on August 11, 2024

I tried to run my app with java -jar mc-bots-1.2.1.jar -s 127.0.0.1 -c 1500 -d 250 300 -x
and it successfully connected all 1500 bots
WindowsTerminal_2022-05-29_13-36-07

So you can try to increase the connection delay and if it does not help, you can try to:

  • Make sure the server itself is not limiting the amount of bots - make sure you have max-players set correctly.
  • Make sure the server is not very overloaded, or the connections will start dropping
  • If you are on Linux, you can try increasing the connection limit with ulimit -n 4000 (more here)

from mc-bots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.