andreasdc
andreasdc
6 bot and gets to 100% cpu. Is there a way to limit chunks, disable entities spawn, entities movmement etc.? I notice that when nickname is longer than 16 characters...
How to disable listening for certain packets, like metadata, slots, entities spawn, movement? If it's not possible with the api, how to do that in the source code?
I will see, but I noticed that bot.on('login' is called multiple times on server switching, but bot.once('spawn', is not called after joining, you need to switch the server to call...
I was trying to ignore some incoming packets to save some cpu, bots wouldn't have to calculate entites, chat messages etc. I managed to get it to work, will try...
> Try running bots with worker threads instead of same process. See mineflayer pathfinder multiple example Won't change performance but probably would solve your problem Btw what problem are you...
I have enough ram and cpu, but still they have unstable ping and packets.
Less than 20 bots and it happens when they are just standing.
How to optimize it? If there is some action like players running near them, they go crazy and they lag.
No, they didn't change anything and I have only 1 thread there.
I have this error on 1.20.2