Register for your free account! | Forgot your password?

You last visited: Today at 03:45

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

Advertisement



aimbot

Discussion on aimbot within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
aimbot

hey , i`m making an aimbot and i need to get the player x,y and uid but i cant do so this code gives me the uid and x y if i`m using any skill but not fb/ss in fb/ss it returns the uid 0 here`s the code :
Code:
  ushort SpellID = 0, X = 0, Y = 0;
            uint Target = 0;
                #region GetSkillID
            SpellID = Convert.ToUInt16(((long)Packet[24 +4]  & 0xFF) | (((long)Packet[25 + 4] & 0xFF) << 8));
            SpellID ^= (ushort)0x915d;
            SpellID ^= (ushort)role.UID;
            SpellID = (ushort)(SpellID << 0x3 | SpellID >> 0xd);
            SpellID -= 0xeb42;

            if (SpellID == role.AimbotSkillToReplace)
            {
            #endregion
                #region GetCoords
                X = (ushort)((Packet[16+4] & 0xFF) | ((Packet[17+4] & 0xFF) << 8));
                X = (ushort)(X ^ (uint)(role.UID & 0xffff) ^ 0x2ed6);
                X = (ushort)(((X << 1) | ((X & 0x8000) >> 15)) & 0xffff);
                X = (ushort)((X | 0xffff0000) - 0xffff22ee);

                Y = (ushort)((Packet[18+4] & 0xFF) | ((Packet[19+4] & 0xFF) << 8));
                Y = (ushort)(Y ^ (uint)(role.UID & 0xffff) ^ 0xb99b);
                Y = (ushort)(((Y << 5) | ((Y & 0xF800) >> 11)) & 0xffff);
                Y = (ushort)((Y | 0xffff0000) - 0xffff8922);
                #endregion
                #region GetTarget
                Target = ((uint)Packet[12 + 4] & 0xFF) | (((uint)Packet[13 + 4] & 0xFF) << 8) | (((uint)Packet[14 + 4] & 0xFF) << 16) | (((uint)Packet[15 + 4] & 0xFF) << 24);
                Target = ((((Target & 0xffffe000) >> 13) | ((Target & 0x1fff) << 19)) ^ 0x5F2D2463 ^ role.UID) - 0x746F4AE6;
                #endregion
so, can anyone tell me how to do it ?
kakamankoko is offline  
Old 03/11/2014, 22:14   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
That's decryption for a skill packet.

You want to know where a player is so instead record spawn, walk and jump packets to update player locations.
pro4never is offline  
Thanks
1 User
Old 03/11/2014, 22:35   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
I can do so and I can get the nearest monesters Id and x and y but I don't know what packet to get player uid and x y so can u tell me it I'm using your bot(proxyparadise) BTW and I'm glad you replayed
kakamankoko is offline  
Old 03/12/2014, 01:22   #4
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
Packet offsets vary by patches. So without knowing what patch you are on, we really can't help you.

UID, X and Y is contained within the SpawnEntityPacket.
Which is 1014 for older patches, and 10014 for newer patches.
As far as what offset, you might be better off checking a public source that's close to your patch to find it.
Aceking is offline  
Thanks
1 User
Old 03/12/2014, 15:27   #5
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
i have all the offsets for the patch i need and the patch is 5870 but what offset i need i have all of them from a puplic source
kakamankoko is offline  
Old 03/12/2014, 15:30   #6
 
elite*gold: 0
Join Date: Sep 2006
Posts: 774
Received Thanks: 8,580
Log the packets and figure it out..?
phize is offline  
Thanks
1 User
Old 03/13/2014, 14:55   #7
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
i now got all the players that spawn but the x,y do not update if they jump,walk i know that 10005 is the entity move but i dont know how to get the x,y and uid from it
kakamankoko is offline  
Old 03/13/2014, 23:30   #8
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Look at any pserver to see how a server handles those packets. By mimicking the same processes then you will know where the server things the target is.
pro4never is offline  
Thanks
1 User
Old 03/14/2014, 00:02   #9
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
I just need to know how to update the jump packet of other players example 10015 when target walk I can get uid and direction north , south etc... So what is the packet of other players jumping and I have another question too if I have a player uid can I get his x y
kakamankoko is offline  
Old 03/14/2014, 03:56   #10
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413
Quote:
Originally Posted by kakamankoko View Post
I just need to know how to update the jump packet of other players example 10015 when target walk I can get uid and direction north , south etc... So what is the packet of other players jumping and I have another question too if I have a player uid can I get his x y
the spawn packet tells you the current location. Now if you get the dir from walking you can calculate the new X and Y.
Y u k i is offline  
Thanks
1 User
Old 03/14/2014, 06:23   #11
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
what about jumping ?
kakamankoko is offline  
Old 03/14/2014, 11:45   #12
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
As its been stated, you need to look at public sources to see how they handle those packets.
Its not a hard process, infact if you actually looked, they will pretty much show you how to do it.
Aceking is offline  
Thanks
1 User
Old 03/14/2014, 13:37   #13
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
Quote:
Originally Posted by Aceking View Post
As its been stated, you need to look at public sources to see how they handle those packets.
Its not a hard process, infact if you actually looked, they will pretty much show you how to do it.
i`v looked at 5870 source code but i cant find anything that update the x,y of the players near me when they jump i found only when they run/walk
kakamankoko is offline  
Old 03/14/2014, 15:27   #14
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
Quote:
Originally Posted by kakamankoko View Post
i`v looked at 5870 source code but i cant find anything that update the x,y of the players near me when they jump i found only when they run/walk
Packet 10010 is the jump packet.
You are clearly not looking hard enough.
Aceking is offline  
Thanks
1 User
Old 03/14/2014, 17:24   #15
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
Quote:
Originally Posted by Aceking View Post
Packet 10010 is the jump packet.
You are clearly not looking hard enough.
Oh ***, packet 10010 is jump packet for my current char not players near me
kakamankoko is offline  
Reply




All times are GMT +1. The time now is 03:45.


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.