pondwader / mineflayer-spectator Goto Github PK
View Code? Open in Web Editor NEWSpectate your Mineflayer bot in-game.
License: MIT License
Spectate your Mineflayer bot in-game.
License: MIT License
Mineflayer process has exited, restarting
Subprocess mineflayer started with PID 350538.
Server started on port 3001
Traceback (most recent call last):
File "/data/zhz_data/Voyager/run_skill.py", line 57, in
sub_goals = voyager.decompose_task(task=task)
File "/data/zhz_data/Voyager/voyager/voyager.py", line 377, in decompose_task
self.last_events = self.env.reset(
File "/data/zhz_data/Voyager/voyager/env/bridge.py", line 156, in reset
returned_data = self.check_process()
File "/data/zhz_data/Voyager/voyager/env/bridge.py", line 100, in check_process
raise RuntimeError(
RuntimeError: Minecraft server reply with code 500
(mc) zhz@zju-ESC8000A-E11:/data/zhz_data/Voyager$ python run_skill.py
Loading Skill Manager from ./skill_library/trial1/skill
Mineflayer process has exited, restarting
Subprocess mineflayer started with PID 353188.
Server started on port 3001
Traceback (most recent call last):
File "/data/zhz_data/Voyager/run_skill.py", line 57, in
sub_goals = voyager.decompose_task(task=task)
File "/data/zhz_data/Voyager/voyager/voyager.py", line 377, in decompose_task
self.last_events = self.env.reset(
File "/data/zhz_data/Voyager/voyager/env/bridge.py", line 156, in reset
returned_data = self.check_process()
File "/data/zhz_data/Voyager/voyager/env/bridge.py", line 100, in check_process
raise RuntimeError(
RuntimeError: Minecraft server reply with code 500
I tried to use bedrock's client, hoping it would work, but it didn't.
I get a lot of errors like the one below in the "Geyser" log.
[17:38:23 WARN] Downstream packet error! Invalid packet id: 66
java.lang.IllegalArgumentException: Invalid packet id: 66
at com.github.steveice10.packetlib.packet.PacketProtocol.createClientboundPacket(PacketProtocol.java:156)
at com.github.steveice10.mc.protocol.MinecraftProtocol.createClientboundPacket(MinecraftProtocol.java:207)
at com.github.steveice10.packetlib.tcp.TcpPacketCodec.decode(TcpPacketCodec.java:62)
at io.netty.handler.codec.ByteToMessageCodec$1.decode(ByteToMessageCodec.java:42)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:468)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.kqueue.AbstractKQueueStreamChannel$KQueueStreamUnsafe.readReady(AbstractKQueueStreamChannel.java:544)
at io.netty.channel.kqueue.AbstractKQueueChannel$AbstractKQueueUnsafe.readReady(AbstractKQueueChannel.java:383)
at io.netty.channel.kqueue.KQueueEventLoop.processReady(KQueueEventLoop.java:213)
at io.netty.channel.kqueue.KQueueEventLoop.run(KQueueEventLoop.java:291)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
------------------------------------------
- Bedrock Client
- Android/iPhone
- Connect to mymacbook:19132
- select from LAN game list
- mymacbook
- Bedrock-to-Java Proxy
- Geyser-Standalone.jar
- config.yml
- bedrock
- 0.0.0.0:19132
- remote
- 127.0.0.1:25566 (port changed)
- auth-type: offline
- Mineflayer-Spectator
const mineflayer = require('mineflayer')
const { startSpectatorServer } = require('mineflayer-spectator')
const bot = mineflayer.createBot({
host: 'localhost',
port: 25565,
username: 'MyBot',
version: '1.20.1'
})
startSpectatorServer(bot, { port: 25566 })
- Java Server
- paper-1.20.1
- 0.0.0.0:25565
- server.properties
- online-mode=false
- plugins
- ViaVersion.jar v4.8.1
------------------------------------------
------------------------------------------
- Bedrock Client
- Android/iPhone
- Connect to mymacbook:19132
- select from LAN game list
- mymacbook
- Bedrock-to-Java Proxy
- Geyser-Standalone.jar
- config.yml
- bedrock
- 0.0.0.0:19132
- remote
- 127.0.0.1:25565
- auth-type: offline
- Java Server
- paper-1.20.1
- 0.0.0.0:25565
- server.properties
- online-mode=false
- plugins
- ViaVersion.jar v4.8.1
------------------------------------------
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.