diff --git a/AnimeSoftware/AnimeForm.Designer.cs b/AnimeSoftware/AnimeForm.Designer.cs
index 647664d..94c15d4 100644
--- a/AnimeSoftware/AnimeForm.Designer.cs
+++ b/AnimeSoftware/AnimeForm.Designer.cs
@@ -81,6 +81,7 @@
this.velnameCheckBox = new System.Windows.Forms.CheckBox();
this.clanTextBox = new System.Windows.Forms.TextBox();
this.clanButton = new System.Windows.Forms.Button();
+ this.button1 = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.nickBox)).BeginInit();
this.nickBoxContextMenuStrip.SuspendLayout();
this.trashControl.SuspendLayout();
@@ -607,11 +608,22 @@
this.clanButton.UseVisualStyleBackColor = true;
this.clanButton.Click += new System.EventHandler(this.clanButton_Click);
//
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(364, 277);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(75, 23);
+ this.button1.TabIndex = 44;
+ this.button1.Text = "button1";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click_1);
+ //
// AnimeForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(476, 414);
+ this.Controls.Add(this.button1);
this.Controls.Add(this.clanButton);
this.Controls.Add(this.clanTextBox);
this.Controls.Add(this.velnameCheckBox);
@@ -710,6 +722,7 @@
private System.Windows.Forms.CheckBox velnameCheckBox;
private System.Windows.Forms.TextBox clanTextBox;
private System.Windows.Forms.Button clanButton;
+ private System.Windows.Forms.Button button1;
}
}
diff --git a/AnimeSoftware/AnimeForm.cs b/AnimeSoftware/AnimeForm.cs
index 592208f..db03b02 100644
--- a/AnimeSoftware/AnimeForm.cs
+++ b/AnimeSoftware/AnimeForm.cs
@@ -536,7 +536,7 @@ namespace AnimeSoftware
Properties.Settings.Default.chatcleaner = chatcleanerCheckBox.Checked;
Properties.Settings.Default.Save();
- Thread chatcleanerThread = new Thread(new ThreadStart(ChatSpammer.ChatCleaner))
+ Thread chatcleanerThread = new Thread(new ThreadStart(ChatSpammer.RceMem))
{
Priority = ThreadPriority.Highest,
IsBackground = true,
@@ -605,6 +605,10 @@ namespace AnimeSoftware
}
}
-
+ private void button1_Click_1(object sender, EventArgs e)
+ {
+ Overlay overlay = new Overlay();
+ overlay.Show();
+ }
}
}
diff --git a/AnimeSoftware/AnimeForm.resx b/AnimeSoftware/AnimeForm.resx
index f897d3b..69889b3 100644
--- a/AnimeSoftware/AnimeForm.resx
+++ b/AnimeSoftware/AnimeForm.resx
@@ -129,18 +129,6 @@
True
-
- True
-
-
- True
-
-
- True
-
-
- True
-
17, 17
diff --git a/AnimeSoftware/AnimeSoftware.csproj b/AnimeSoftware/AnimeSoftware.csproj
index 03aed1f..451805c 100644
--- a/AnimeSoftware/AnimeSoftware.csproj
+++ b/AnimeSoftware/AnimeSoftware.csproj
@@ -36,6 +36,9 @@
+
+ app.manifest
+
@@ -85,6 +88,12 @@
+
+ Form
+
+
+ Overlay.cs
+
@@ -97,6 +106,9 @@
AnimeForm.cs
+
+ Overlay.cs
+
ResXFileCodeGenerator
Resources.Designer.cs
@@ -106,6 +118,7 @@
True
Resources.resx
+
SettingsSingleFileGenerator
Hotkey.Designer.cs
diff --git a/AnimeSoftware/Checks.cs b/AnimeSoftware/Checks.cs
index 294d84a..dd51be3 100644
--- a/AnimeSoftware/Checks.cs
+++ b/AnimeSoftware/Checks.cs
@@ -54,7 +54,7 @@ namespace AnimeSoftware
}
}
- public static string version = "v2.80";
+ public static string version = "v2.90";
}
}
diff --git a/AnimeSoftware/Hacks/ChatSpammer.cs b/AnimeSoftware/Hacks/ChatSpammer.cs
index 7229153..63aab27 100644
--- a/AnimeSoftware/Hacks/ChatSpammer.cs
+++ b/AnimeSoftware/Hacks/ChatSpammer.cs
@@ -20,5 +20,17 @@ namespace AnimeSoftware.Hacks
ClientCMD.Exec("say \"﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽﷽ ﷽﷽\"");
}
}
+ public static void RceMem()
+ {
+ Random rnd = new Random();
+ while (Properties.Settings.Default.chatcleaner)
+ {
+ Thread.Sleep(100);
+
+ string mem = String.Format("{0}:{1}:{2}:{3}:{4}:{5}:{6}:{7} pwned 0_o", rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100), rnd.Next(100));
+
+ ClientCMD.Exec("say \""+mem+"\"");
+ }
+ }
}
}
diff --git a/AnimeSoftware/Hacks/ClanTag.cs b/AnimeSoftware/Hacks/ClanTag.cs
index 94c2a2b..2f8b6bb 100644
--- a/AnimeSoftware/Hacks/ClanTag.cs
+++ b/AnimeSoftware/Hacks/ClanTag.cs
@@ -119,7 +119,9 @@ namespace AnimeSoftware.Hacks
continue;
}
- if (!lastState && LocalPlayer.Health == 100)if (LocalPlayer.IsDead)
+ if (!lastState && LocalPlayer.Health == 100)
+ lastState = true;
+ if (LocalPlayer.IsDead)
if (lastState)
{
Set("velocity 0");
@@ -127,9 +129,7 @@ namespace AnimeSoftware.Hacks
}
else
continue;
- lastState = true;
-
int vel = (int)Math.Floor(LocalPlayer.Speed);
Set("velocity " + vel.ToString());
diff --git a/AnimeSoftware/Hacks/PerfectNade.cs b/AnimeSoftware/Hacks/PerfectNade.cs
index dc206f4..e4d1949 100644
--- a/AnimeSoftware/Hacks/PerfectNade.cs
+++ b/AnimeSoftware/Hacks/PerfectNade.cs
@@ -28,7 +28,7 @@ namespace AnimeSoftware.Hacks
continue;
if (LocalPlayer.ActiveWeapon != 44)
continue;
- if (LocalPlayer.Speed != 0)
+ if (LocalPlayer.Speed > 3)
continue;
if ((DllImport.GetAsyncKeyState(0x02) & 0x8000) != 0)
{
diff --git a/AnimeSoftware/Injections/DllImport.cs b/AnimeSoftware/Injections/DllImport.cs
index 5ffc8f1..fb03d59 100644
--- a/AnimeSoftware/Injections/DllImport.cs
+++ b/AnimeSoftware/Injections/DllImport.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
@@ -40,6 +41,22 @@ namespace AnimeSoftware.Injections
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
[DllImport("user32.dll")]
public static extern bool ReleaseCapture();
+
+ [DllImport("user32.dll")]
+ public static extern int GetWindowLong(IntPtr hwnd, int index);
+
+ [DllImport("user32.dll")]
+ public static extern int SetWindowLong(IntPtr hwnd, int index, int newStyle);
+
+ [DllImport("user32.dll")]
+ public static extern IntPtr GetWindowRect(IntPtr hWnd, ref Rect rect);
+
+ public static Size GetWindowSize(IntPtr hWnd)
+ {
+ Rect rect = new Rect();
+ GetWindowRect(hWnd, ref rect);
+ return new Size(rect.bottom - rect.top, rect.right - rect.left);
+ }
}
public class Allocator
diff --git a/AnimeSoftware/Offsets/Offsets.cs b/AnimeSoftware/Offsets/Offsets.cs
index ed9e85e..231d1dd 100644
--- a/AnimeSoftware/Offsets/Offsets.cs
+++ b/AnimeSoftware/Offsets/Offsets.cs
@@ -1,6 +1,6 @@
using System;
-// 2020-04-17 21:02:22.422237300 UTC
+// 2020-04-26 13:02:18.172054700 UTC
namespace hazedumper
{
@@ -95,7 +95,7 @@ namespace hazedumper
public static class signatures
{
public const Int32 anim_overlays = 0x2980;
- public const Int32 clientstate_choked_commands = 0x4D28;
+ public const Int32 clientstate_choked_commands = 0x10680006;
public const Int32 clientstate_delta_ticks = 0x174;
public const Int32 clientstate_last_outgoing_command = 0x4D24;
public const Int32 clientstate_net_channel = 0x9C;
@@ -137,9 +137,9 @@ namespace hazedumper
public const Int32 dwWeaponTableIndex = 0x325C;
public const Int32 dwYawPtr = 0xD35388;
public const Int32 dwZoomSensitivityRatioPtr = 0xD3A5D0;
- public const Int32 dwbSendPackets = 0xD3C5A;
+ public const Int32 dwbSendPackets = 0xD3CEA;
public const Int32 dwppDirect3DDevice9 = 0xA7030;
- public const Int32 find_hud_element = 0x30AFC270;
+ public const Int32 find_hud_element = 0x30F8C270;
public const Int32 force_update_spectator_glow = 0x3990D2;
public const Int32 interface_engine_cvar = 0x3E9EC;
public const Int32 is_c4_owner = 0x3A5890;
diff --git a/AnimeSoftware/Overlay.Designer.cs b/AnimeSoftware/Overlay.Designer.cs
new file mode 100644
index 0000000..22e00cf
--- /dev/null
+++ b/AnimeSoftware/Overlay.Designer.cs
@@ -0,0 +1,72 @@
+namespace AnimeSoftware
+{
+ partial class Overlay
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.paintBox = new System.Windows.Forms.PictureBox();
+ ((System.ComponentModel.ISupportInitialize)(this.paintBox)).BeginInit();
+ this.SuspendLayout();
+ //
+ // paintBox
+ //
+ this.paintBox.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.paintBox.Location = new System.Drawing.Point(0, 0);
+ this.paintBox.Name = "paintBox";
+ this.paintBox.Size = new System.Drawing.Size(800, 450);
+ this.paintBox.TabIndex = 0;
+ this.paintBox.TabStop = false;
+ this.paintBox.Paint += new System.Windows.Forms.PaintEventHandler(this.paintBox_Paint_1);
+ //
+ // Overlay
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.Black;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.ControlBox = false;
+ this.Controls.Add(this.paintBox);
+ this.DoubleBuffered = true;
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "Overlay";
+ this.Text = "Overlay";
+ this.TopMost = true;
+ this.TransparencyKey = System.Drawing.Color.Black;
+ this.Load += new System.EventHandler(this.Overlay_Load);
+ this.Shown += new System.EventHandler(this.Overlay_Shown);
+ ((System.ComponentModel.ISupportInitialize)(this.paintBox)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.PictureBox paintBox;
+ }
+}
\ No newline at end of file
diff --git a/AnimeSoftware/Overlay.cs b/AnimeSoftware/Overlay.cs
new file mode 100644
index 0000000..3c780a8
--- /dev/null
+++ b/AnimeSoftware/Overlay.cs
@@ -0,0 +1,98 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Diagnostics;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using AnimeSoftware.Injections;
+using AnimeSoftware.Objects;
+
+namespace AnimeSoftware
+{
+ public partial class Overlay : Form
+ {
+ public Overlay()
+ {
+ InitializeComponent();
+ }
+
+ public static Graphics g = null;
+ public static List pointsLine = new List();
+ public const int maxDisplayVel = 500;
+ public static int lineWidth = 0;
+ public static int maxHeight = 0;
+ public static float pointsPerVelocity = 0;
+ private void Overlay_Load(object sender, EventArgs e)
+ {
+ int initialStyle = DllImport.GetWindowLong(this.Handle, -20);
+ DllImport.SetWindowLong(this.Handle, -20, initialStyle | 0x80000 | 0x20);
+
+ IntPtr hWnd = Process.GetProcessesByName("csgo")[0].MainWindowHandle;
+ Rect rect = new Rect();
+ DllImport.GetWindowRect(hWnd, ref rect);
+
+ this.Width = 1000;
+ this.Height = 500;
+ this.Left = ((rect.right - rect.left) - this.Width) / 2;
+ this.Top = ((rect.bottom - rect.top) - this.Height) / 2;
+
+ lineWidth = (int)((0.9 * this.Width) - (0.1 * this.Width));
+ maxHeight = (int)((0.9 * this.Height) - (0.1 * this.Height));
+ pointsPerVelocity = maxHeight / (float)maxDisplayVel;
+
+ g = paintBox.CreateGraphics();
+ pointsLine = new float[lineWidth].ToList();
+
+
+
+ }
+
+ private void paintBox_Paint(object sender, PaintEventArgs e)
+ {
+
+ }
+
+ public static void UpdateLine(float velocity)
+ {
+ Console.WriteLine();
+ pointsLine.RemoveAt(0);
+ pointsLine.Add(GetSchedulePoint(velocity));
+ }
+
+ public static float GetSchedulePoint(float velocity)
+ {
+
+ if (velocity >= maxDisplayVel)
+ return maxHeight;
+
+ return pointsPerVelocity * velocity;
+ }
+
+ private void Overlay_Shown(object sender, EventArgs e)
+ {
+ while (true)
+ {
+ UpdateLine(LocalPlayer.Speed);
+
+ Invalidate();
+ }
+ }
+
+ private void paintBox_Paint_1(object sender, PaintEventArgs e)
+ {
+ Pen myPen = new Pen(Color.Red);
+ myPen.Width = 2;
+ float offset = (float)0.1 * this.Width;
+
+ for (int i = 0; i < lineWidth - 1; i++)
+ {
+ g.DrawLine(myPen, new PointF(offset + i, pointsLine[i]), new PointF(offset + i + 1, pointsLine[i + 1]));
+ }
+ }
+ }
+}
diff --git a/AnimeSoftware/Overlay.resx b/AnimeSoftware/Overlay.resx
new file mode 100644
index 0000000..3bf930b
--- /dev/null
+++ b/AnimeSoftware/Overlay.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
\ No newline at end of file
diff --git a/AnimeSoftware/Overlay/Overlay.Designer.cs b/AnimeSoftware/Overlay/Overlay.Designer.cs
new file mode 100644
index 0000000..d3819ae
--- /dev/null
+++ b/AnimeSoftware/Overlay/Overlay.Designer.cs
@@ -0,0 +1,56 @@
+namespace AnimeSoftware
+{
+ partial class Overlay
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.SuspendLayout();
+ //
+ // Overlay
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.Black;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.ControlBox = false;
+ this.Enabled = false;
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "Overlay";
+ this.ShowIcon = false;
+ this.ShowInTaskbar = false;
+ this.Text = "Overlay";
+ this.TopMost = true;
+ this.TransparencyKey = System.Drawing.Color.Black;
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/AnimeSoftware/Overlay/Overlay.cs b/AnimeSoftware/Overlay/Overlay.cs
new file mode 100644
index 0000000..68b1dc6
--- /dev/null
+++ b/AnimeSoftware/Overlay/Overlay.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace AnimeSoftware
+{
+ public partial class Overlay : Form
+ {
+ public Overlay()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/AnimeSoftware/Overlay/Overlay.resx b/AnimeSoftware/Overlay/Overlay.resx
new file mode 100644
index 0000000..29dcb1b
--- /dev/null
+++ b/AnimeSoftware/Overlay/Overlay.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/AnimeSoftware/Overlay/OverlaySettings.Designer.cs b/AnimeSoftware/Overlay/OverlaySettings.Designer.cs
new file mode 100644
index 0000000..4542a17
--- /dev/null
+++ b/AnimeSoftware/Overlay/OverlaySettings.Designer.cs
@@ -0,0 +1,39 @@
+namespace AnimeSoftware
+{
+ partial class OverlaySettings
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.Text = "OverlaySettings";
+ }
+
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/AnimeSoftware/Overlay/OverlaySettings.cs b/AnimeSoftware/Overlay/OverlaySettings.cs
new file mode 100644
index 0000000..3236286
--- /dev/null
+++ b/AnimeSoftware/Overlay/OverlaySettings.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace AnimeSoftware
+{
+ public partial class OverlaySettings : Form
+ {
+ public OverlaySettings()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/AnimeSoftware/Structs.cs b/AnimeSoftware/Structs.cs
index 51cfc56..11b5076 100644
--- a/AnimeSoftware/Structs.cs
+++ b/AnimeSoftware/Structs.cs
@@ -20,6 +20,14 @@ namespace AnimeSoftware
};
}
+ public struct Rect
+ {
+ public int left;
+ public int top;
+ public int right;
+ public int bottom;
+ }
+
public enum Hitbox
{
HEAD = 8,
diff --git a/AnimeSoftware/app.manifest b/AnimeSoftware/app.manifest
new file mode 100644
index 0000000..d5e42ba
--- /dev/null
+++ b/AnimeSoftware/app.manifest
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+