aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-30 17:55:18 -0500
committermat <github@matdoes.dev>2022-04-30 17:55:18 -0500
commitcc70d80932269ca3d044224481ab46082e0a8449 (patch)
treef527a5a29c2da91dc3dce06650b86f9970bae665
parent7f9463320f75b4a754ef9f52da9a9fbb4f36fe56 (diff)
downloadazalea-drasl-cc70d80932269ca3d044224481ab46082e0a8449.tar.xz
gitignore flamegraph stuff
-rwxr-xr-x.gitignore3
-rwxr-xr-xCargo.toml3
-rwxr-xr-xazalea-client/src/connect.rs3
-rw-r--r--bot/src/main.rs2
4 files changed, 8 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 4990fff7..ad9bfc78 100755
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,5 @@
/target
/doc
+flamegraph.svg
+perf.data
+perf.data.old
diff --git a/Cargo.toml b/Cargo.toml
index 7f958207..ae27892e 100755
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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();