master
sagirilover 5 years ago
parent 4c032027ec
commit 000d4f8266
  1. 26
      AnimeSoftware/AnimeForm.Designer.cs
  2. 48
      AnimeSoftware/AnimeForm.cs
  3. 3
      AnimeSoftware/Checks.cs
  4. 1
      AnimeSoftware/Memory.cs

@ -108,7 +108,7 @@
// //
// refreshButton // refreshButton
// //
this.refreshButton.Location = new System.Drawing.Point(173, 412); this.refreshButton.Location = new System.Drawing.Point(173, 349);
this.refreshButton.Name = "refreshButton"; this.refreshButton.Name = "refreshButton";
this.refreshButton.Size = new System.Drawing.Size(75, 26); this.refreshButton.Size = new System.Drawing.Size(75, 26);
this.refreshButton.TabIndex = 2; this.refreshButton.TabIndex = 2;
@ -119,7 +119,7 @@
// changeButton // changeButton
// //
this.changeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.changeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.changeButton.Location = new System.Drawing.Point(12, 412); this.changeButton.Location = new System.Drawing.Point(12, 349);
this.changeButton.Name = "changeButton"; this.changeButton.Name = "changeButton";
this.changeButton.Size = new System.Drawing.Size(75, 26); this.changeButton.Size = new System.Drawing.Size(75, 26);
this.changeButton.TabIndex = 5; this.changeButton.TabIndex = 5;
@ -145,7 +145,7 @@
this.nickBox.ReadOnly = true; this.nickBox.ReadOnly = true;
this.nickBox.RowHeadersVisible = false; this.nickBox.RowHeadersVisible = false;
this.nickBox.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.nickBox.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.nickBox.Size = new System.Drawing.Size(317, 390); this.nickBox.Size = new System.Drawing.Size(317, 331);
this.nickBox.TabIndex = 10; this.nickBox.TabIndex = 10;
this.nickBox.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.nickBox_CellClick); this.nickBox.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.nickBox_CellClick);
this.nickBox.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.nickBox_CellMouseUp); this.nickBox.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.nickBox_CellMouseUp);
@ -181,7 +181,7 @@
// //
// resetButton // resetButton
// //
this.resetButton.Location = new System.Drawing.Point(93, 412); this.resetButton.Location = new System.Drawing.Point(93, 349);
this.resetButton.Name = "resetButton"; this.resetButton.Name = "resetButton";
this.resetButton.Size = new System.Drawing.Size(75, 26); this.resetButton.Size = new System.Drawing.Size(75, 26);
this.resetButton.TabIndex = 11; this.resetButton.TabIndex = 11;
@ -247,7 +247,7 @@
// //
// fullrefreshButton // fullrefreshButton
// //
this.fullrefreshButton.Location = new System.Drawing.Point(254, 412); this.fullrefreshButton.Location = new System.Drawing.Point(254, 349);
this.fullrefreshButton.Name = "fullrefreshButton"; this.fullrefreshButton.Name = "fullrefreshButton";
this.fullrefreshButton.Size = new System.Drawing.Size(75, 26); this.fullrefreshButton.Size = new System.Drawing.Size(75, 26);
this.fullrefreshButton.TabIndex = 19; this.fullrefreshButton.TabIndex = 19;
@ -268,7 +268,7 @@
// //
// customnameTextBox // customnameTextBox
// //
this.customnameTextBox.Location = new System.Drawing.Point(12, 444); this.customnameTextBox.Location = new System.Drawing.Point(12, 381);
this.customnameTextBox.Name = "customnameTextBox"; this.customnameTextBox.Name = "customnameTextBox";
this.customnameTextBox.Size = new System.Drawing.Size(259, 20); this.customnameTextBox.Size = new System.Drawing.Size(259, 20);
this.customnameTextBox.TabIndex = 21; this.customnameTextBox.TabIndex = 21;
@ -276,7 +276,7 @@
// //
// setupButton // setupButton
// //
this.setupButton.Location = new System.Drawing.Point(277, 444); this.setupButton.Location = new System.Drawing.Point(277, 381);
this.setupButton.Name = "setupButton"; this.setupButton.Name = "setupButton";
this.setupButton.Size = new System.Drawing.Size(52, 20); this.setupButton.Size = new System.Drawing.Size(52, 20);
this.setupButton.TabIndex = 22; this.setupButton.TabIndex = 22;
@ -306,7 +306,6 @@
this.getByteNameToolStripMenuItem}); this.getByteNameToolStripMenuItem});
this.nickBoxContextMenuStrip.Name = "nickBoxContextMenuStrip"; this.nickBoxContextMenuStrip.Name = "nickBoxContextMenuStrip";
this.nickBoxContextMenuStrip.Size = new System.Drawing.Size(215, 136); this.nickBoxContextMenuStrip.Size = new System.Drawing.Size(215, 136);
this.nickBoxContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.nickBoxContextMenuStrip_Opening);
this.nickBoxContextMenuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.nickBoxContextMenuStrip_ItemClicked); this.nickBoxContextMenuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.nickBoxContextMenuStrip_ItemClicked);
// //
// stealNameToolStripMenuItem // stealNameToolStripMenuItem
@ -375,7 +374,6 @@
this.getByteNameToolStripMenuItem.Name = "getByteNameToolStripMenuItem"; this.getByteNameToolStripMenuItem.Name = "getByteNameToolStripMenuItem";
this.getByteNameToolStripMenuItem.Size = new System.Drawing.Size(214, 22); this.getByteNameToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
this.getByteNameToolStripMenuItem.Text = "Get byte name"; this.getByteNameToolStripMenuItem.Text = "Get byte name";
this.getByteNameToolStripMenuItem.Click += new System.EventHandler(this.getByteNameToolStripMenuItem_Click);
// //
// rightspamButton // rightspamButton
// //
@ -532,7 +530,7 @@
// //
// unlockButton // unlockButton
// //
this.unlockButton.Location = new System.Drawing.Point(575, 476); this.unlockButton.Location = new System.Drawing.Point(335, 413);
this.unlockButton.Name = "unlockButton"; this.unlockButton.Name = "unlockButton";
this.unlockButton.Size = new System.Drawing.Size(10, 10); this.unlockButton.Size = new System.Drawing.Size(10, 10);
this.unlockButton.TabIndex = 31; this.unlockButton.TabIndex = 31;
@ -616,7 +614,7 @@
// //
// clanTextBox // clanTextBox
// //
this.clanTextBox.Location = new System.Drawing.Point(12, 466); this.clanTextBox.Location = new System.Drawing.Point(12, 403);
this.clanTextBox.Name = "clanTextBox"; this.clanTextBox.Name = "clanTextBox";
this.clanTextBox.Size = new System.Drawing.Size(259, 20); this.clanTextBox.Size = new System.Drawing.Size(259, 20);
this.clanTextBox.TabIndex = 42; this.clanTextBox.TabIndex = 42;
@ -624,7 +622,7 @@
// //
// clanButton // clanButton
// //
this.clanButton.Location = new System.Drawing.Point(277, 466); this.clanButton.Location = new System.Drawing.Point(277, 403);
this.clanButton.Name = "clanButton"; this.clanButton.Name = "clanButton";
this.clanButton.Size = new System.Drawing.Size(52, 20); this.clanButton.Size = new System.Drawing.Size(52, 20);
this.clanButton.TabIndex = 43; this.clanButton.TabIndex = 43;
@ -734,7 +732,7 @@
// //
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(592, 488); this.ClientSize = new System.Drawing.Size(592, 431);
this.Controls.Add(this.label9); this.Controls.Add(this.label9);
this.Controls.Add(this.trackBar5); this.Controls.Add(this.trackBar5);
this.Controls.Add(this.trackBar4); this.Controls.Add(this.trackBar4);
@ -775,7 +773,7 @@
this.ImeMode = System.Windows.Forms.ImeMode.On; this.ImeMode = System.Windows.Forms.ImeMode.On;
this.MaximizeBox = false; this.MaximizeBox = false;
this.Name = "AnimeForm"; this.Name = "AnimeForm";
this.Text = "AnimeSoftware"; this.Text = "Animesoftware";
this.Load += new System.EventHandler(this.Form1_Load); this.Load += new System.EventHandler(this.Form1_Load);
this.Shown += new System.EventHandler(this.AnimeForm_Shown); this.Shown += new System.EventHandler(this.AnimeForm_Shown);
((System.ComponentModel.ISupportInitialize)(this.nickBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nickBox)).EndInit();

@ -6,6 +6,7 @@ using Opulos.Core.UI;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.Diagnostics;
using System.Drawing; using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@ -26,11 +27,7 @@ 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())
{ {
@ -216,7 +213,6 @@ namespace AnimeSoftware
private void AnimeForm_Shown(object sender, EventArgs e) private void AnimeForm_Shown(object sender, EventArgs e)
{ {
UpdateNickBox(); UpdateNickBox();
InitForm(); InitForm();
@ -248,6 +244,15 @@ namespace AnimeSoftware
hitboxComboBox.Items.Add(x); hitboxComboBox.Items.Add(x);
if (Properties.Settings.Default.boneid != 0) if (Properties.Settings.Default.boneid != 0)
hitboxComboBox.SelectedItem = Structs.Hitbox[Properties.Settings.Default.boneid]; hitboxComboBox.SelectedItem = Structs.Hitbox[Properties.Settings.Default.boneid];
if (this.Text.ToLower().Contains("philiphook"))
{
Process.GetProcessesByName("csgo")[0].Kill();
Application.Exit();
}
trackBar1.Value = (int)(BlockBot.trajFactor * 100);
label8.Text = BlockBot.trajFactor.ToString();
trackBar2.Value = (int)(BlockBot.distanceFactor * 10);
label7.Text = BlockBot.distanceFactor.ToString();
} }
public void InitHotkey() public void InitHotkey()
{ {
@ -626,38 +631,5 @@ namespace AnimeSoftware
{ {
LocalPlayer.viewmodel_z = trackBar5.Value / 100f; LocalPlayer.viewmodel_z = trackBar5.Value / 100f;
} }
private void button1_Click(object sender, EventArgs e)
{
Color c = Color.Red;
Console.WriteLine(new byte[] { 255,0,0,255 }.ToString());
//Console.WriteLine($"R: {c.R} G: {c.G} B: {c.B} A: {c.A}");
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
Kek(Encoding.Default.GetBytes("\n\xAD\xAD\xAD"));
Kek(Encoding.UTF8.GetBytes("\n\xAD\xAD\xAD"));
Kek(Encoding.UTF8.GetBytes("\n\u00AD\u00AD\u00AD"));
}
public static void Kek(byte[] b)
{
string s = "";
foreach(byte bt in b)
{
s += bt.ToString("X") + " ";
}
Console.WriteLine(s);
}
private void nickBoxContextMenuStrip_Opening(object sender, System.ComponentModel.CancelEventArgs e)
{
}
private void getByteNameToolStripMenuItem_Click(object sender, EventArgs e)
{
}
} }
} }

@ -44,6 +44,7 @@ namespace AnimeSoftware
using (WebClient client = new WebClient()) using (WebClient client = new WebClient())
{ {
string s = client.DownloadString(url); string s = client.DownloadString(url);
Console.WriteLine(s);
if (version != s.Substring(0, 5)) if (version != s.Substring(0, 5))
{ {
DialogResult result = MessageBox.Show("New update: " + s + "\nRedirect to github?", "New version.", MessageBoxButtons.YesNo); DialogResult result = MessageBox.Show("New update: " + s + "\nRedirect to github?", "New version.", MessageBoxButtons.YesNo);
@ -54,7 +55,7 @@ namespace AnimeSoftware
} }
} }
public static string version = "v3.00"; public static string version = "v3.01";
} }
} }

@ -45,6 +45,7 @@ namespace AnimeSoftware
public static bool OpenProcess(string name) public static bool OpenProcess(string name)
{ {
try try
{ {
process = Process.GetProcessesByName(name)[0]; process = Process.GetProcessesByName(name)[0];

Loading…
Cancel
Save