Well, Vortex. mentioned it and I was bored. So, here you go.
For Handlers/Chat.cs put:
Code:
#region Automation
case "aimbot":
{
if (Command.Length >= 2)
{
switch (Command[1])
{
case "stop":
{
Automation.Automation.Going.Remove(CSocket.Client.ID);
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[Aimbot] Aimbot thread stopped.", Struct.ChatType.Top));
break;
}
default:
{
string Name = Command[1].ToString();
int wType = int.Parse(Command[2]);
foreach (ClientSocket CSock in Nano.ClientPool.Values)
{
if (CSock.Client.Name == Name)
{
Character Aim = CSock.Client;
Dictionary<ClientSocket, Character> Objective = new Dictionary<ClientSocket, Character>();
Objective.Add(CSocket, Aim);
if (Automation.Automation.Aimbots.ContainsKey(CSocket.Client.ID))
Automation.Automation.Aimbots.Remove(CSocket.Client.ID);
Automation.Automation.Aimbots.Add(CSocket.Client.ID, Objective);
Automation.Automation.LastAimbot = CSocket.Client.ID;
Automation.Automation.LastAimSID = wType;
if (!Automation.Automation.Going.Contains(CSocket.Client.ID))
Automation.Automation.Going.Add(CSocket.Client.ID);
new Thread(Automation.Automation.AimBot).Start();
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[Aimbot] Aimbot thread started, use `/aimbot stop` to kill it.", Struct.ChatType.Top));
}
}
break;
}
}
}
break;
}
#endregion Automation
And in the Handlers folder make a new file named Aimbot.cs, and in it put:
Code:
using System;
using CoEmu_v2_GameServer.Connections;
using CoEmu_v2_GameServer.Entities;
using CoEmu_v2_GameServer.Calculations;
using CoEmu_v2_GameServer.Handlers;
using System.Threading;
using System.Collections.Generic;
using CoEmu_v2_GameServer.Packets;
using CoEmu_v2_GameServer.Structs;
namespace CoEmu_v2_GameServer.Automation
{
public class Automation
{
public static Dictionary<int, Dictionary<ClientSocket, Character>> Aimbots = new Dictionary<int, Dictionary<ClientSocket, Character>>();
public static int LastAimbot;
public static int LastAimSID;
public static List<int> Going = new List<int>();
public static void AimBot()
{
Dictionary<ClientSocket, Character> Object = Aimbots[LastAimbot];
foreach (KeyValuePair<ClientSocket, Character> CSobj in Object)
{
ClientSocket CSocket = CSobj.Key;
Character Aim = CSobj.Value;
int SkillID = (LastAimSID == 1 ? 1045 : 1046);
if (SkillID == 1045 && !CSocket.Client.Skills.ContainsKey(1045))
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[Aimbot] You must learn FastBlade first.", Struct.ChatType.Top));
break;
}
if (SkillID == 1046 && !CSocket.Client.Skills.ContainsKey(1046))
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[Aimbot] You must learn ScentSword first.", Struct.ChatType.Top));
break;
}
while (Going.Contains(CSocket.Client.ID))
{
if (CSocket.Client.CurrentStam >= 22)
{
if (!Nano.ClientPool.ContainsKey(Aim.ID))
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[Aimbot] User logged off, seizing thread.", Struct.ChatType.Top));
break;
}
else if (!Aim.Dead)
{
if ((int)Aim.Map == (int)CSocket.Client.Map)
{
if (Calculation.InRange(CSocket.Client.X, CSocket.Client.Y, Aim.X, Aim.Y, 9))
{
Handler.NoTargetMagic(CSocket, SkillID, Aim.X, Aim.Y);
}
}
else
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[Aimbot] Aimbot cannot track characters not in your map.", Structs.Struct.ChatType.Top));
break;
}
}
}
Thread.Sleep(1000);
}
break;
}
Thread.CurrentThread.Abort();
}
}
}
It's really only for a joke, so I won't provide support. The version in my server has a lot more checks, I just don't feel like shelling all my functions out (Lazy). Anyway, have fun.
EDIT: By the way, at the top of chat.cs you may wanna add
nice nice, but whats the use of this.
where is the fun of aiming someone without doing anything yourself
if you wanna kill someone just make a kill command.
This is, alright. Your using way too much mem, mine is a simple. Works great
The ironic thing is that you copied your from Kinshi's source, or atleast parts since you two uses the exact same variables and the same code on some parts.
[RELEASE]qaudruplexVIP v1.2 with aimbot 06/19/2010 - WarRock Hacks, Bots, Cheats & Exploits - 14 Replies auflösung:
viele von euch haben drauf geklickt obwohl vor paar tagen schon das gleiche gemacht wurde....
ihr dürft nicht immer überall drauf klicken....
Release USF Chams + Aimbot 03/14/2010 - Soldier Front Hacks, Bots, Cheats & Exploits - 2 Replies Hello, I am now releasing to the public my new hacks i have been making for many months. These include Chams and an Aimbot.
The download link is here:
[RELEASE](USzene)CS Aimbot v.1.2.1 [UD VAC] 11/14/2009 - General Gaming Discussion - 0 Replies Hello,
I release my new "Counter Strike" aimbot version 1.2.1!
-> ATTEMPTION <-
The .EXE have a CryptAPI code algorythmus,and use scripts thay was locatet and anything scanner as joke or fake software!
ALL WARNINGS A FAKE WARNINGS!
+FIX+