PrismarineJS / bedrock-protocol

Minecraft Bedrock protocol library, with authentication and encryption
https://prismarinejs.github.io/minecraft-data/?v=bedrock_1.17.10&d=protocol
MIT License
314 stars 74 forks source link

Client/Server testing #11

Closed rom1504 closed 3 years ago

rom1504 commented 8 years ago

Find a server (and/or client) mcpe implementation we can run on circle ci (ie not pocketmine, too annoying to install) and test against it

rom1504 commented 8 years ago

@mhsjlw is saying https://github.com/Nukkit/Nukkit can work for this. Got to make sure it's up to date and all

ghost commented 7 years ago

As of right now, the client would only function on a server that doesn't use encryption/JWT verification (it's also not updated yet :smile: i.e.: pmmp/PocketMine-MP

ghost commented 7 years ago

Requires #7

roblabla commented 7 years ago

Would it be possible to use libminecraft.so to run an official server, I wonder ?

ghost commented 7 years ago

Yep, it's not just not easy... I've been working on this for a while but it's impossible to keep up with the updates it was based off of repurposing https://github.com/MCMrARM/mcpelauncher-linux (see the server branch) but it got out of hand pretty quick. Anyway, I think getting the client to actual work first connecting to a server off of your phone is probably a priority before we try to automate testing

extremeheat commented 3 years ago

Can now be done with the native server binaries.

A bedrock-wrap can be written similar to node-minecraft-wrap. See https://github.com/xrnoz/bedrock-server for existing scripts that do this. Then we can update + test on ci.

extremeheat commented 3 years ago

Fixed in master for vanilla server, but testing some of the used popular 3rd party servers (PocketMine, Nukkit) is a good idea. I'm not sure if we should test them in master though, maybe only in PRs to not be constrained by bugs in other 3rd party things.

u9g commented 3 years ago

Fixed in master for vanilla server, but testing some of the used popular 3rd party servers (PocketMine, Nukkit) is a good idea. I'm not sure if we should test them in master though, maybe only in PRs to not be constrained by bugs in other 3rd party things.

I don’t think its a problem, we can always go to them to open an issue

rom1504 commented 3 years ago

This is mostly done Let's reopen some more precise issues if needed