Open Turlt31 opened 1 year ago
Hi! I see you're having a TCP error. This is normal, it doesn't have to do with Mineflayer. How about we try on my server? Maybe it has to do with your server, as TCP errors indicate your system didn't send anything on time to the server and got caught in an exception. :)
How can i fix it?
How can i fix it?
There's no real way to fix a TCP error. One thing you could do is restart your server, router and PC that runs the bot. Another thing is to add a reconnect script to the bot.. I don't guarantee anything will work though. However, if you'd like, you could try to connect to my server, that will tell me if it's your network or your server. Want to do that? I'll only give my server IP and port if you say yes.
Hi! I noticed you've been offline/not answering for 2 weeks. If this issue has been fixed or is no longer relevant, please close this issue. Have fun coding!
I stumbled upon this while trying to get the same example to work. I didn't see any error message, but for some reason the node subprocesses on my machine appear to be demonized, since the python interpreter just quits after setting up all event handlers.
I might have overlooked something in the docs, but for future readers:
My solution was to just put a while True: time.sleep(1)
at the end of the file to keep the bot running for more than three seconds.
Versions
Detailed description of a problem
I copied the python bot code changed the host and port obv and when it joins the server it disconnected instantly
What did you try yet?
This happens with the python and javascript code
And i get this error:
My code: