Closed krithikvishwanath closed 6 years ago
{ Error: querySrv ESERVFAIL _minecraft._tcp.play.hypixel.net
at errnoException (dns.js:50:10)
at QueryReqWrap.onresolve [as oncomplete] (dns.js:238:19)
code: 'ESERVFAIL',
errno: 'ESERVFAIL',
syscall: 'querySrv',
hostname: '_minecraft._tcp.play.hypixel.net' }
Getting this error when I tried it on hypixel.
Still not solved, keeps giving the same error.
you could try setting the port to 25565
We probably should remove the code trying to use that _tcp thing. Not sure what it even tries to do.
It's for SRV DNS records support. Minecraft does it too, we shouldn't remove it.
So other then setting the port to 25565, which is should do by default, what should I do?
Adding the port doesn't fix it.
I've tried changing the server, seems like none work.
Still not solved...
Try to make optional what's in tcp.js
There is no tcp.js
Really confused on what to do, please help.
It's in node-minecraft-protocol
On Fri, Aug 17, 2018, 00:06 SaltySpark notifications@github.com wrote:
There is no tcp.js
Really confused on what to do, please help.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/699#issuecomment-413699098, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPN_vztaGoSI1UR8Oe7wHPE_NWtrZmAks5uRezogaJpZM4VxB87 .
now fixed, just run npm update
If you are reporting a bug please report on these points :
const sparkMcClient = new mineflayer.createBot({ host: 'play.sadonmc.com', username: 'myUsername', password: 'mypassword', version: "1.8", });
const sparkClient = new Discord.Client();
sparkMcClient.on('chat', (username, message) => { if (username === sparkMcClient.username) return console.log(message); })
{ Error: querySrv ENOTFOUND _minecraft._tcp.play.sadonmc.com at errnoException (dns.js:50:10) at QueryReqWrap.onresolve [as oncomplete] (dns.js:238:19) code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'querySrv', hostname: '_minecraft._tcp.play.sadonmc.com' }