Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 21:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Can someone help me, Aimbot code

Discussion on Can someone help me, Aimbot code within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Vortex.'s Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 275
Received Thanks: 22
Can someone help me, Aimbot code

I tried everything, if you could fix it post it back here

Code:
if (Splitter[0] == "/aimbot")
                                        {
                                            bool going = false;
                                            byte Chance = 0;
                                            Chance = byte.Parse(Splitter[1]);
                                            if (Splitter[1] != "off")
                                            {
                                                going = true;
                                            }
                                            else
                                            {
                                                going = false;
                                            }
                                            byte win = (byte)General.Rand.Next(0, 100);
                                            ushort wait = (ushort)General.Rand.Next(750, 1600);
                                            while (going)
                                            {
                                                Character Char = Other.CharNearest(MyChar.LocX, MyChar.LocY, MyChar.LocMap, false);

                                                if (Char.Team != MyChar.Team && Char.GuildID != MyChar.GuildID)
                                                {
                                                    if (Char.Alive && MyMath.PointDistance(MyChar.LocX, MyChar.LocY, Char.LocX, Char.LocY) <= 10 && Char.LocMap == MyChar.LocMap)
                                                    {
                                                        if (win <= Chance)
                                                        {
                                                            MyChar.UseSkill(1045, Char.LocX, Char.LocY, Char.UID);
                                                        }
                                                        else
                                                        {
                                                            MyChar.UseSkill(1045, (ushort)(Char.LocX + 2), Char.LocY, Char.UID);
                                                        }
                                                        System.Threading.Thread.Sleep((ushort)wait);
                                                    }
                                                }
                                            }
                                        }
Vortex. is offline  
Old 06/11/2009, 04:07   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Run the command on a new thread
tao4229 is offline  
Old 06/11/2009, 04:31   #3
 
Vortex.'s Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 275
Received Thanks: 22
I did this

Code:
if (Splitter[0] == "/aimbot")
                                            {
                                                bool going = false;
                                                byte Chance = 0;
                                                Chance = byte.Parse(Splitter[1]);
                                                if (Splitter[1] != "off")
                                                {
                                                    going = true;
                                                }
                                                else
                                                {
                                                    going = false;
                                                }
                                                byte win = (byte)General.Rand.Next(0, 100);
                                                ushort wait = (ushort)General.Rand.Next(750, 1600);
                                                while (going)
                                                {
                                                    Character Char = Other.CharNearest(MyChar.LocX, MyChar.LocY, MyChar.LocMap, false);

                                                    if (Char.Team != MyChar.Team && Char.GuildID != MyChar.GuildID)
                                                    {
                                                        if (Char.Alive && MyMath.PointDistance(MyChar.LocX, MyChar.LocY, Char.LocX, Char.LocY) <= 10 && Char.LocMap == MyChar.LocMap)
                                                        {
                                                            if (win <= Chance)
                                                            {
                                                                MyChar.UseSkill(1045, Char.LocX, Char.LocY, Char.UID);
                                                            }
                                                            else
                                                            {
                                                                MyChar.UseSkill(1045, (ushort)(Char.LocX + 2), Char.LocY, Char.UID);
                                                            }
                                                            Thread.Sleep((ushort)wait);
                                                        }
                                                    }
                                                }
                                            }
Still doesn't work
Vortex. is offline  
Old 06/11/2009, 04:57   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Because it's blocking the clients recieve thread, you need to move it to a timer or a different thread...
tao4229 is offline  
Old 06/11/2009, 05:17   #5
 
Vortex.'s Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 275
Received Thanks: 22
WTF HOW. YOU MADE BOTS EDIT IT FOR ME.
Vortex. is offline  
Old 06/11/2009, 07:55   #6
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
if (Char.Aimbot && Char.Stamina >= 20)
{
foreach (Character Target in LiveManager.SurroundingChars(Char,false,8))
{
SkillUse skill = new SkillUse();
skill.SetInfo(1045, 4);
skill.AimX = Target.Loc.X;
skill.AimY = Target.Loc.Y;
skill.C = Char;
skill.Target = Target.EntityID;
skill.Use();
}
}
That's how mine works, it's not completely done and took me about 5 minutes to do. It is placed in a timethread which updates like every 0.02 second.

Hope that helped you some of how you could make it.

Regards,
Emme
_Emme_ is offline  
Old 06/11/2009, 19:14   #7
 
Vortex.'s Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 275
Received Thanks: 22
So thats fully working?
Vortex. is offline  
Old 06/11/2009, 22:42   #8
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
In my source, yes. Don't think you can copy paste that =P
_Emme_ is offline  
Old 06/11/2009, 23:42   #9
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
Quote:
Originally Posted by EmmeTheCoder View Post
In my source, yes. Don't think you can copy paste that =P
InfamousNoone is offline  
Thanks
1 User
Old 06/12/2009, 00:18   #10
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
Originally Posted by InfamousNoone View Post
Hm, shouldn't be long before your dogs hop in and comment aswell, haha.
I wonder why I'm all over your signature and most of your post's is about me, (I smell jelousy)

_Emme_ is offline  
Old 06/12/2009, 00:36   #11
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
Funny, I smell stupidity =/ You make a ton of ad-hominem argument, funny thing is; I can back mine up.



is better than



Any day.

Edit: Dogs isn't a synonym for rational competent people, but I suppose I can't bash you on not knowing something of a language you don't speak as your first tongue, yes?
InfamousNoone is offline  
Old 06/12/2009, 00:55   #12
 
Vortex.'s Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 275
Received Thanks: 22
In case you was like wtf

Quote:
An ad hominem argument, also known as argumentum ad hominem (Latin: "argument to the man", "argument against the man") consists of replying to an argument or factual claim by attacking or appealing to a characteristic or belief of the person making the argument or claim, rather than by addressing the substance of the argument or producing evidence against the claim.

The process of proving or disproving the claim is thereby subverted, and the argumentum ad hominem works to change the subject.
Vortex. is offline  
Reply


Similar Threads Similar Threads
[Source Code] Aimbot
04/10/2016 - Combat Arms Hacks, Bots, Cheats & Exploits - 26 Replies
Code: PLAYER_DATA GetMyPlayerData(void) PLAYER_DATA GetPlayerData(BYTE PlayerNumber) void SetCrosshairOnEnemy(BYTE PlayerNumber PLAYER_DATA? Yup, to make things more tidy in my programming, I like to use some structs as well as functions. My PLAYER_DATA structure holds valuable information about a player. Such as: Code:
B> DriftCity CBS Code | S> War Rock Code / Bounty Bay Code etc.
10/05/2010 - Trading - 1 Replies
Hi, wie schon im Titel beschrieben. In der CBS vom November gab es Bonusodes für mehrere Spiele. Ich benötige DriftCity Codes. Kann sonst für alle anderen Spiele die Codes biten, einige auch doppelt. Hier eine Liste der Spiele und Bonusaktionen: - (2x) War Rock - (2x) War of Titans - (2x) World of Warcraft - (1x) Warhammer Online - (1x) Bounty Bay online
[REQUEST]How can I Code an Aimbot?
03/02/2010 - CO2 Programming - 7 Replies
Title says All xD



All times are GMT +1. The time now is 21:51.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.