PrismarineJS / mineflayer

Create Minecraft bots with a powerful, stable, and high level JavaScript API.
https://prismarinejs.github.io/mineflayer/
MIT License
4.96k stars 904 forks source link

Bot disconnected after logging in #784

Closed TheAlan404 closed 5 years ago

TheAlan404 commented 5 years ago

If you are reporting a bug please report on these points :

In particular it will be useful to provide these informations :

rom1504 commented 5 years ago

Vanilla cracked doesn't exist

On Sat, Feb 23, 2019, 20:23 TheAlan404 notifications@github.com wrote:

If you are reporting a bug please report on these points :

  • what you want to do (the objective in english) start bot
  • what you tried (the code) i tried some codes, echo, echo edited, navigate
  • what happened it timed out and closed after login
  • what you expected to happen do its job and start normally

In particular it will be useful to provide these informations :

  • what happens when using a mineflayer example? disconnection after 15 sec.
  • what happens when using a node-minecraft-protocol example? ???
  • what mineflayer version? currently latest, the one for 1.12.2
  • what server version? 1.12.2
  • which server? (spigot, paper, vanilla, any particular plugins ?) vanilla cracked
  • what's the output of DEBUG="minecraft-protocol" node your_bot.js ? ???
  • what's the error msg? n o n e
  • what script is used? ill upload when i go to pc

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/784, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPN_qHtDbmgVRYj9AmZ3UwXG26m2uShks5vQZUrgaJpZM4bOHO1 .

TheAlan404 commented 5 years ago

What... it somehow does in the hosting site... And accualy i fixed the problem by moving the server to another place so issiue done?

satyamedh commented 3 years ago

okay if some1 stumbles upon this, just update mineflayer version, that will fix it!

EDIT: I don't know what I was on when writing this. There seemed to be a bug at the latest release at the time of writing this, thus updating fixed my issue

kali89d commented 1 year ago

програма вот from javascript import require

mineflayer = require('mineflayer')

create bot

BOT_USERNAME = 'Robol' bot = mineflayer.createBot({ 'host': 'localhost', 'port': 54819, 'username': BOT_USERNAME, 'hideErrors': False, 'version': '1.12.2'}) итог Exception has occurred: AttributeError 'NoneType' object has no attribute 'pyi' File "C:\Users\komp\Desktop\kali\python\mainecraft\Mineflayer.py", line 1, in from javascript import require AttributeError: 'NoneType' object has no attribute 'pyi'

TheAlan404 commented 1 year ago

програма вот from javascript import require

mineflayer = require('mineflayer')

create bot

BOT_USERNAME = 'Robol' bot = mineflayer.createBot({ 'host': 'localhost', 'port': 54819, 'username': BOT_USERNAME, 'hideErrors': False, 'version': '1.12.2'}) итог Exception has occurred: AttributeError 'NoneType' object has no attribute 'pyi' File "C:\Users\komp\Desktop\kali\python\mainecraft\Mineflayer.py", line 1, in from javascript import require AttributeError: 'NoneType' object has no attribute 'pyi'

Please open a new issue