diff options
| author | mat <github@matdoes.dev> | 2022-04-30 17:55:18 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-30 17:55:18 -0500 |
| commit | cc70d80932269ca3d044224481ab46082e0a8449 (patch) | |
| tree | f527a5a29c2da91dc3dce06650b86f9970bae665 | |
| parent | 7f9463320f75b4a754ef9f52da9a9fbb4f36fe56 (diff) | |
| download | azalea-drasl-cc70d80932269ca3d044224481ab46082e0a8449.tar.xz | |
gitignore flamegraph stuff
| -rwxr-xr-x | .gitignore | 3 | ||||
| -rwxr-xr-x | Cargo.toml | 3 | ||||
| -rwxr-xr-x | azalea-client/src/connect.rs | 3 | ||||
| -rw-r--r-- | bot/src/main.rs | 2 |
4 files changed, 8 insertions, 3 deletions
@@ -1,2 +1,5 @@ /target /doc +flamegraph.svg +perf.data +perf.data.old @@ -10,3 +10,6 @@ members = [ "azalea-nbt", "azalea-brigadier", ] + +[profile.release] +debug = true diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs index b0d7dffc..7c1880fa 100755 --- a/azalea-client/src/connect.rs +++ b/azalea-client/src/connect.rs @@ -73,11 +73,10 @@ impl Client { match packet_result { Ok(packet) => match packet { LoginPacket::ClientboundHelloPacket(p) => { - println!("Got encryption request {:?} {:?}", p.nonce, p.public_key); + println!("Got encryption request"); let e = azalea_auth::encryption::encrypt(&p.public_key, &p.nonce).unwrap(); // TODO: authenticate with the server here (authenticateServer) - println!("Sending encryption response {:?}", e); conn.write( ServerboundKeyPacket { diff --git a/bot/src/main.rs b/bot/src/main.rs index 89c23a6f..0b67cc44 100644 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -5,7 +5,7 @@ async fn main() { println!("Hello, world!"); // let address = "95.111.249.143:10000"; - let address = "localhost:58422"; + let address = "172.23.192.1:51015"; // let response = azalea_client::ping::ping_server(&address.try_into().unwrap()) // .await // .unwrap(); |
