Add files via upload

master
sagirilover 5 years ago committed by GitHub
parent c17bc87196
commit 223ab7138f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 96
      AnimeSoftware/AnimeForm.Designer.cs
  2. 30
      AnimeSoftware/AnimeForm.cs
  3. 2
      AnimeSoftware/Checks.cs
  4. 5
      AnimeSoftware/Hacks/BlockBot.cs
  5. 10
      AnimeSoftware/Hacks/DoorSpam.cs
  6. 6
      AnimeSoftware/Memory.cs
  7. 14
      AnimeSoftware/Objects/LocalPlayer.cs
  8. 74
      AnimeSoftware/Offsets/Offsets.cs
  9. 15
      AnimeSoftware/Offsets/ScannedOffsets.cs

@ -81,7 +81,12 @@
this.velnameCheckBox = new System.Windows.Forms.CheckBox(); this.velnameCheckBox = new System.Windows.Forms.CheckBox();
this.clanTextBox = new System.Windows.Forms.TextBox(); this.clanTextBox = new System.Windows.Forms.TextBox();
this.clanButton = new System.Windows.Forms.Button(); this.clanButton = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button(); this.trackBar1 = new System.Windows.Forms.TrackBar();
this.trackBar2 = new System.Windows.Forms.TrackBar();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.nickBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nickBox)).BeginInit();
this.nickBoxContextMenuStrip.SuspendLayout(); this.nickBoxContextMenuStrip.SuspendLayout();
this.trashControl.SuspendLayout(); this.trashControl.SuspendLayout();
@ -89,6 +94,8 @@
((System.ComponentModel.ISupportInitialize)(this.smoothTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.smoothTrackBar)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fovTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fovTrackBar)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.chokeTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chokeTrackBar)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.trackBar2)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// refreshButton // refreshButton
@ -368,7 +375,7 @@
// trashControl // trashControl
// //
this.trashControl.Controls.Add(this.aimTab); this.trashControl.Controls.Add(this.aimTab);
this.trashControl.Location = new System.Drawing.Point(476, 55); this.trashControl.Location = new System.Drawing.Point(476, 35);
this.trashControl.Name = "trashControl"; this.trashControl.Name = "trashControl";
this.trashControl.SelectedIndex = 0; this.trashControl.SelectedIndex = 0;
this.trashControl.Size = new System.Drawing.Size(145, 371); this.trashControl.Size = new System.Drawing.Size(145, 371);
@ -608,22 +615,76 @@
this.clanButton.UseVisualStyleBackColor = true; this.clanButton.UseVisualStyleBackColor = true;
this.clanButton.Click += new System.EventHandler(this.clanButton_Click); this.clanButton.Click += new System.EventHandler(this.clanButton_Click);
// //
// button1 // trackBar1
// //
this.button1.Location = new System.Drawing.Point(364, 277); this.trackBar1.Location = new System.Drawing.Point(658, 74);
this.button1.Name = "button1"; this.trackBar1.Maximum = 300;
this.button1.Size = new System.Drawing.Size(75, 23); this.trackBar1.Name = "trackBar1";
this.button1.TabIndex = 44; this.trackBar1.Size = new System.Drawing.Size(104, 45);
this.button1.Text = "button1"; this.trackBar1.TabIndex = 44;
this.button1.UseVisualStyleBackColor = true; this.trackBar1.Value = 1;
this.button1.Click += new System.EventHandler(this.button1_Click_1); this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll);
//
// trackBar2
//
this.trackBar2.Location = new System.Drawing.Point(658, 144);
this.trackBar2.Maximum = 100;
this.trackBar2.Minimum = 1;
this.trackBar2.Name = "trackBar2";
this.trackBar2.Size = new System.Drawing.Size(104, 45);
this.trackBar2.TabIndex = 45;
this.trackBar2.Value = 1;
this.trackBar2.Scroll += new System.EventHandler(this.trackBar2_Scroll);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(655, 125);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(82, 13);
this.label1.TabIndex = 46;
this.label1.Text = "Distance Factor";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(655, 55);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(87, 13);
this.label2.TabIndex = 47;
this.label2.Text = "Trajectory Factor";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(691, 171);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(35, 13);
this.label7.TabIndex = 48;
this.label7.Text = "label7";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(691, 101);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(35, 13);
this.label8.TabIndex = 49;
this.label8.Text = "label8";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// AnimeForm // AnimeForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(476, 414); this.ClientSize = new System.Drawing.Size(468, 414);
this.Controls.Add(this.button1); this.Controls.Add(this.label8);
this.Controls.Add(this.label7);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.trackBar2);
this.Controls.Add(this.trackBar1);
this.Controls.Add(this.clanButton); this.Controls.Add(this.clanButton);
this.Controls.Add(this.clanTextBox); this.Controls.Add(this.clanTextBox);
this.Controls.Add(this.velnameCheckBox); this.Controls.Add(this.velnameCheckBox);
@ -664,6 +725,8 @@
((System.ComponentModel.ISupportInitialize)(this.smoothTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.smoothTrackBar)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fovTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fovTrackBar)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.chokeTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chokeTrackBar)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.trackBar2)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -722,7 +785,12 @@
private System.Windows.Forms.CheckBox velnameCheckBox; private System.Windows.Forms.CheckBox velnameCheckBox;
private System.Windows.Forms.TextBox clanTextBox; private System.Windows.Forms.TextBox clanTextBox;
private System.Windows.Forms.Button clanButton; private System.Windows.Forms.Button clanButton;
private System.Windows.Forms.Button button1; private System.Windows.Forms.TrackBar trackBar1;
private System.Windows.Forms.TrackBar trackBar2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
} }
} }

@ -1,6 +1,7 @@
using AnimeSoftware.Hacks; using AnimeSoftware.Hacks;
using AnimeSoftware.Injections; using AnimeSoftware.Injections;
using AnimeSoftware.Objects; using AnimeSoftware.Objects;
using hazedumper;
using Opulos.Core.UI; using Opulos.Core.UI;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@ -24,7 +25,11 @@ namespace AnimeSoftware
private void Form1_Load(object sender, EventArgs e) private void Form1_Load(object sender, EventArgs e)
{ {
trackBar1.Value = (int)(BlockBot.trajFactor * 100);
label8.Text = BlockBot.trajFactor.ToString();
trackBar2.Value = (int)(BlockBot.distanceFactor * 10);
label7.Text = BlockBot.distanceFactor.ToString();
while (!Init()) while (!Init())
{ {
@ -595,20 +600,25 @@ namespace AnimeSoftware
ClanTag.Set(clanTextBox.Text); ClanTag.Set(clanTextBox.Text);
} }
private void button1_Click(object sender, EventArgs e)
private void trackBar1_Scroll(object sender, EventArgs e)
{ {
while (true) label8.Text = (trackBar1.Value / 100f).ToString();
{ BlockBot.trajFactor = trackBar1.Value / 100f;
Thread.Sleep(100); Console.WriteLine(BlockBot.trajFactor);
Console.WriteLine(LocalPlayer.InGame);
Console.WriteLine(LocalPlayer.Health);
}
} }
private void button1_Click_1(object sender, EventArgs e) private void trackBar2_Scroll(object sender, EventArgs e)
{
label7.Text = (trackBar2.Value / 10f).ToString();
BlockBot.distanceFactor = trackBar2.Value / 10f;
Console.WriteLine(BlockBot.distanceFactor);
}
private void button1_Click(object sender, EventArgs e)
{ {
Overlay overlay = new Overlay(); LocalPlayer.Use = 6;
overlay.Show();
} }
} }
} }

@ -54,7 +54,7 @@ namespace AnimeSoftware
} }
} }
public static string version = "v2.90"; public static string version = "v2.91";
} }
} }

@ -15,6 +15,10 @@ namespace AnimeSoftware.Hacks
public static bool blocking = false; public static bool blocking = false;
public static bool bb = false; public static bool bb = false;
public static bool hb = false; public static bool hb = false;
public static float distanceFactor = 1.5f;
public static float trajFactor = 0.3f;
public static void Start() public static void Start()
{ {
while (true) while (true)
@ -63,6 +67,7 @@ namespace AnimeSoftware.Hacks
LocalPlayer.ViewAngleY = Aimbot.NormalizedAngle(Aimbot.CalcAngle(LocalPlayer.ViewPosition, target.Position)).y; LocalPlayer.ViewAngleY = Aimbot.NormalizedAngle(Aimbot.CalcAngle(LocalPlayer.ViewPosition, target.Position)).y;
LocalPlayer.MoveForward(); LocalPlayer.MoveForward();
} }

@ -6,6 +6,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms;
namespace AnimeSoftware.Hacks namespace AnimeSoftware.Hacks
{ {
@ -26,10 +27,11 @@ namespace AnimeSoftware.Hacks
while ((DllImport.GetAsyncKeyState(Properties.Hotkey.Default.doorspammerKey) & 0x8000) != 0) while ((DllImport.GetAsyncKeyState(Properties.Hotkey.Default.doorspammerKey) & 0x8000) != 0)
{ {
ClientCMD.Exec("+use"); // I did not add this to LocalPlayer to avoid delay. But i dont try, maybe this will not happen lol
Thread.Sleep(15); LocalPlayer.Use = 5;
ClientCMD.Exec("-use"); Thread.Sleep(13);
Thread.Sleep(15); LocalPlayer.Use = 4;
Thread.Sleep(13);
} }
} }

@ -136,6 +136,12 @@ namespace AnimeSoftware
return GetStructure<T>(buffer); return GetStructure<T>(buffer);
} }
public static void WriteBytes(Int32 address, byte[] value)
{
UInt32 nBytesRead = UInt32.MinValue;
WriteProcessMemory(pHandle, (IntPtr)address, value, (IntPtr)value.Length, ref nBytesRead);
}
public static void Write<T>(Int32 address, T value) public static void Write<T>(Int32 address, T value)
{ {
int length = Marshal.SizeOf(typeof(T)); int length = Marshal.SizeOf(typeof(T));

@ -117,12 +117,6 @@ namespace AnimeSoftware.Objects
{ {
ClientCMD.Exec("-forward"); ClientCMD.Exec("-forward");
} }
public static void Use()
{
Memory.Write<int>(Memory.Client + ScannedOffsets.dwUse, 5);
Thread.Sleep(20);
Memory.Write<int>(Memory.Client + ScannedOffsets.dwUse, 4);
}
public static void Jump() public static void Jump()
{ {
Memory.Write<int>(Memory.Client + signatures.dwForceJump, 5); Memory.Write<int>(Memory.Client + signatures.dwForceJump, 5);
@ -166,6 +160,13 @@ namespace AnimeSoftware.Objects
return info; return info;
} }
} }
public static int Use
{
set
{
Memory.Write<int>(Memory.Read<int>(Memory.Client + ScannedOffsets.dwUse), value);
}
}
public static bool InGame public static bool InGame
{ {
get get
@ -175,6 +176,7 @@ namespace AnimeSoftware.Objects
} }
} }
public static int CrossHair public static int CrossHair
{ {
get get

@ -1,6 +1,6 @@
using System; using System;
// 2020-04-26 13:02:18.172054700 UTC // 2020-05-12 01:35:30.947642700 UTC
namespace hazedumper namespace hazedumper
{ {
@ -95,7 +95,7 @@ namespace hazedumper
public static class signatures public static class signatures
{ {
public const Int32 anim_overlays = 0x2980; public const Int32 anim_overlays = 0x2980;
public const Int32 clientstate_choked_commands = 0x10680006; public const Int32 clientstate_choked_commands = 0x4D28;
public const Int32 clientstate_delta_ticks = 0x174; public const Int32 clientstate_delta_ticks = 0x174;
public const Int32 clientstate_last_outgoing_command = 0x4D24; public const Int32 clientstate_last_outgoing_command = 0x4D24;
public const Int32 clientstate_net_channel = 0x9C; public const Int32 clientstate_net_channel = 0x9C;
@ -109,47 +109,47 @@ namespace hazedumper
public const Int32 dwClientState_PlayerInfo = 0x52B8; public const Int32 dwClientState_PlayerInfo = 0x52B8;
public const Int32 dwClientState_State = 0x108; public const Int32 dwClientState_State = 0x108;
public const Int32 dwClientState_ViewAngles = 0x4D88; public const Int32 dwClientState_ViewAngles = 0x4D88;
public const Int32 dwEntityList = 0x4D43AB4; public const Int32 dwEntityList = 0x4D43AC4;
public const Int32 dwForceAttack = 0x3175088; public const Int32 dwForceAttack = 0x3175068;
public const Int32 dwForceAttack2 = 0x3175094; public const Int32 dwForceAttack2 = 0x3175074;
public const Int32 dwForceBackward = 0x31750DC; public const Int32 dwForceBackward = 0x31750A4;
public const Int32 dwForceForward = 0x31750B8; public const Int32 dwForceForward = 0x3175080;
public const Int32 dwForceJump = 0x51ED750; public const Int32 dwForceJump = 0x51ED760;
public const Int32 dwForceLeft = 0x31750D0; public const Int32 dwForceLeft = 0x3175098;
public const Int32 dwForceRight = 0x3175058; public const Int32 dwForceRight = 0x31750BC;
public const Int32 dwGameDir = 0x6285F8; public const Int32 dwGameDir = 0x6286F8;
public const Int32 dwGameRulesProxy = 0x5260A2C; public const Int32 dwGameRulesProxy = 0x5260A3C;
public const Int32 dwGetAllClasses = 0xD55F1C; public const Int32 dwGetAllClasses = 0xD55F2C;
public const Int32 dwGlobalVars = 0x589AD0; public const Int32 dwGlobalVars = 0x589AD0;
public const Int32 dwGlowObjectManager = 0x528B880; public const Int32 dwGlowObjectManager = 0x528B8A0;
public const Int32 dwInput = 0x5195060; public const Int32 dwInput = 0x5195070;
public const Int32 dwInterfaceLinkList = 0x8F9AF4; public const Int32 dwInterfaceLinkList = 0x8FA4A4;
public const Int32 dwLocalPlayer = 0xD2FB84; public const Int32 dwLocalPlayer = 0xD2FB94;
public const Int32 dwMouseEnable = 0xD35728; public const Int32 dwMouseEnable = 0xD35738;
public const Int32 dwMouseEnablePtr = 0xD356F8; public const Int32 dwMouseEnablePtr = 0xD35708;
public const Int32 dwPlayerResource = 0x31733FC; public const Int32 dwPlayerResource = 0x317340C;
public const Int32 dwRadarBase = 0x5178824; public const Int32 dwRadarBase = 0x5178834;
public const Int32 dwSensitivity = 0xD355C4; public const Int32 dwSensitivity = 0xD355D4;
public const Int32 dwSensitivityPtr = 0xD35598; public const Int32 dwSensitivityPtr = 0xD355A8;
public const Int32 dwSetClanTag = 0x89E00; public const Int32 dwSetClanTag = 0x89ED0;
public const Int32 dwViewMatrix = 0x4D353F4; public const Int32 dwViewMatrix = 0x4D35404;
public const Int32 dwWeaponTable = 0x5195B24; public const Int32 dwWeaponTable = 0x5195B34;
public const Int32 dwWeaponTableIndex = 0x325C; public const Int32 dwWeaponTableIndex = 0x325C;
public const Int32 dwYawPtr = 0xD35388; public const Int32 dwYawPtr = 0xD35398;
public const Int32 dwZoomSensitivityRatioPtr = 0xD3A5D0; public const Int32 dwZoomSensitivityRatioPtr = 0xD3A5E0;
public const Int32 dwbSendPackets = 0xD3CEA; public const Int32 dwbSendPackets = 0xD3ECA;
public const Int32 dwppDirect3DDevice9 = 0xA7030; public const Int32 dwppDirect3DDevice9 = 0xA7030;
public const Int32 find_hud_element = 0x30F8C270; public const Int32 find_hud_element = 0x3059C3F0;
public const Int32 force_update_spectator_glow = 0x3990D2; public const Int32 force_update_spectator_glow = 0x3991F2;
public const Int32 interface_engine_cvar = 0x3E9EC; public const Int32 interface_engine_cvar = 0x3E9EC;
public const Int32 is_c4_owner = 0x3A5890; public const Int32 is_c4_owner = 0x3A59C0;
public const Int32 m_bDormant = 0xED; public const Int32 m_bDormant = 0xED;
public const Int32 m_flSpawnTime = 0xA360; public const Int32 m_flSpawnTime = 0xA360;
public const Int32 m_pStudioHdr = 0x294C; public const Int32 m_pStudioHdr = 0x294C;
public const Int32 m_pitchClassPtr = 0x5178AC8; public const Int32 m_pitchClassPtr = 0x5178AD8;
public const Int32 m_yawClassPtr = 0xD35388; public const Int32 m_yawClassPtr = 0xD35398;
public const Int32 model_ambient_min = 0x58CDEC; public const Int32 model_ambient_min = 0x58CE44;
public const Int32 set_abs_angles = 0x1CF130; public const Int32 set_abs_angles = 0x1CF1D0;
public const Int32 set_abs_origin = 0x1CEF70; public const Int32 set_abs_origin = 0x1CF010;
} }
} // namespace hazedumper } // namespace hazedumper

@ -16,14 +16,19 @@ namespace AnimeSoftware
public static int dwUse; public static int dwUse;
public static int Console; public static int Console;
public static int cl_sidespeed;
public static int cl_forwardspeed;
public static void Init() public static void Init()
{ {
dwUse = Memory.FindPattern(new byte[] { 0x8B, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x8B, 0xF2, 0x8B, 0xC1, 0x83, 0xCE, 0x20 }, "xx????xxxxxxx", Memory.Client, Memory.ClientSize);
ClientCMD = Memory.FindPattern(new byte[] { 0x55, 0x8B, 0xEC, 0x8B, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x81, 0xF9, 0x00, 0x00, 0x00, 0x00, 0x75, 0x0C, 0xA1, 0x00, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0xEB, 0x05, 0x8B, 0x01, 0xFF, 0x50, 0x34, 0x50, 0xA1 }, "xxxxx????xx????xxx????x????xxxxxxxxx", Memory.Engine, Memory.EngineSize); ClientCMD = Memory.FindPattern(new byte[] { 0x55, 0x8B, 0xEC, 0x8B, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x81, 0xF9, 0x00, 0x00, 0x00, 0x00, 0x75, 0x0C, 0xA1, 0x00, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0xEB, 0x05, 0x8B, 0x01, 0xFF, 0x50, 0x34, 0x50, 0xA1 }, "xxxxx????xx????xxx????x????xxxxxxxxx", Memory.Engine, Memory.EngineSize);
//UserInfoTable = Memory.FindPattern(new byte[] { 0x8B, 0x89, 0x00, 0x00, 0x00, 0x00, 0x85, 0xC9, 0x0F, 0x84, 0x00, 0x00, 0x00, 0x00, 0x8B, 0x01 }, "xx????xxxx????xx", Memory.Engine, Memory.EngineSize);
//SetConVar = Memory.FindPattern(new byte[] { 0x8D, 0x4C, 0x24, 0x1C, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x56 }, "xxxxx????x", Memory.Engine, Memory.EngineSize); dwUse = Memory.FindPattern(new byte[] { 0x8B, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x8B, 0xF2, 0x8B, 0xC1, 0x83, 0xCE, 0x20 }, "xx????xxxxxxx", Memory.Client, Memory.ClientSize) + 2;
//LvlBypass = Memory.FindPattern(new byte[] { 0x55, 0x8B, 0xEC, 0x8B, 0x55, 0x08, 0x8B, 0xCA, 0x53 }, "xxxxxxxxx", Memory.Client, Memory.ClientSize); //55 8B EC 8B 55 08 8B CA 53
//Console = Memory.FindPattern(new byte[] { 0x58, 0x81, 0x00, 0x56, 0x00, 0x00, 0x00, 0x00 }, "xx?x????", Memory.Client, Memory.ClientSize);
} }
} }
} }

Loading…
Cancel
Save