d03f102bb8
Adds support for connecting to both 1.12.2 and 1.11.2 (protocols 340 and 316) servers https://github.com/iceiix/steven/issues/18 Enhance protocol support Closes https://github.com/iceiix/steven/pull/48 1.11.2 protocol support (316) * Restore create_ids!() macro in packet identifiers * Add translate_packet_id() function to map external 1.12.2 packet ids to internal sequential ids * Implement translate_internal_packet_id() from a new protocol_packet_ids! macro * Move packet IDs to separate file, v1_12_2.rs * Change supported protocols constant to an array * Add v1_11_2 protocol packet IDs (from https://github.com/iceiix/steven/pull/48) * Add keep alive packet variants: _i64 (>=1.12.2) and _VarInt (<=1.11.2) * Abstract protocol versions, can now connect to both 1.12.2 and 1.11.2 * Send protocol version in handshake packet * Restore 1.11 (315) protocol support as in original (https://github.com/thinkofname/steven) Steven |
||
---|---|---|
blocks | ||
gl | ||
resources | ||
shared | ||
src | ||
.gitignore | ||
.travis.yml | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
appveyor.yml |
README.md
Steven (Rust)
A Minecraft client coded in Rust. Ported from steven-go. Don't expect it to go anywhere, just doing this for fun.
Images
In action: http://gfycat.com/NeedyElaborateGypsymoth
Chat
I generally am on the irc.spi.gt
irc network in the #think
channel.
Feel free to pop in to say hi, Webchat can be found here
Downloads
Windows users can download pre-compiled builds from here: https://ci.appveyor.com/project/iceiix/steven (Select your platform, Click the artifacts tab and download Steven.zip)
The Visual Studio 2017 Redistributable is required to run these builds.
Building
Currently requires Rust version 1.31.0-beta or newer to build.
Compile and run:
cargo run --release
Just compile:
cargo build --release
Prerequisites
An easy way to manage multiple Rust toolchains is rustup
. Installation instructions for rustup
can be found on its website.
Once you've set up rustup
, grab Rust beta by running
rustup install beta
Now we need to make sure that steven
is compiled with beta. To do this without making beta the default across the entire system, run the following command in the steven
directory:
rustup override set beta
Running
Standalone
Just running steven via a double click (Windows) or ./steven
(everything else)
will bring up a login screen followed by a server list which you can select a server
from.