From db14c1c42cd5c63f7aad879bb4a8953a3954f470 Mon Sep 17 00:00:00 2001 From: sagirilover Date: Sat, 30 May 2020 06:31:17 +0300 Subject: [PATCH] still 3.00 blockbot rework --- AnimeSoftware/AnimeForm.Designer.cs | 1 + AnimeSoftware/Hacks/BlockBot.cs | 12 +++++------- AnimeSoftware/Objects/Entity.cs | 6 ------ 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/AnimeSoftware/AnimeForm.Designer.cs b/AnimeSoftware/AnimeForm.Designer.cs index 8e40b50..7207574 100644 --- a/AnimeSoftware/AnimeForm.Designer.cs +++ b/AnimeSoftware/AnimeForm.Designer.cs @@ -773,6 +773,7 @@ this.Controls.Add(this.refreshButton); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.ImeMode = System.Windows.Forms.ImeMode.On; + this.MaximizeBox = false; this.Name = "AnimeForm"; this.Text = "AnimeSoftware"; this.Load += new System.EventHandler(this.Form1_Load); diff --git a/AnimeSoftware/Hacks/BlockBot.cs b/AnimeSoftware/Hacks/BlockBot.cs index db3cb60..7615749 100644 --- a/AnimeSoftware/Hacks/BlockBot.cs +++ b/AnimeSoftware/Hacks/BlockBot.cs @@ -15,8 +15,8 @@ namespace AnimeSoftware.Hacks public static bool blocking = false; public static bool bb = false; public static bool hb = false; - public static float distanceFactor = 1.5f; - public static float trajFactor = 0.3f; + public static float distanceFactor = 2f; + public static float trajFactor = 0.45f; public static void Start2() { @@ -47,8 +47,6 @@ namespace AnimeSoftware.Hacks blocked = true; } - - if ((LocalPlayer.Position - target.BonePosition(8)).Length < 43) { @@ -64,10 +62,10 @@ namespace AnimeSoftware.Hacks if (distance > 10) distance = 10; - float pokekat = LocalPlayer.ViewAngle.y - Aimbot.CalcAngle(LocalPlayer.Position, target.Position).y + 360.0f; + float angle = LocalPlayer.ViewAngle.y - Aimbot.CalcAngle(LocalPlayer.Position, target.Position).y + 360.0f; - LocalPlayer.SideSpeed = (float)Math.Sin(pokekat * 0.0174533) * 45 * distance; - LocalPlayer.ForwardSpeed = (float)Math.Cos(pokekat * 0.0174533) * 45 * distance; + LocalPlayer.SideSpeed = (float)Math.Sin(angle * 0.0174533) * 45 * distance; + LocalPlayer.ForwardSpeed = (float)Math.Cos(angle * 0.0174533) * 45 * distance; } else diff --git a/AnimeSoftware/Objects/Entity.cs b/AnimeSoftware/Objects/Entity.cs index 6e098f4..1c07d19 100644 --- a/AnimeSoftware/Objects/Entity.cs +++ b/AnimeSoftware/Objects/Entity.cs @@ -49,12 +49,6 @@ namespace AnimeSoftware.Objects { get { - string s = ""; - foreach(byte b in pInfo.m_szPlayerName) - { - s += b.ToString("X") + " "; - } - Console.WriteLine(s); return Encoding.UTF8.GetString(pInfo.m_szPlayerName); } }