Aimbot?!?!

07/05/2011 10:20 tommyboy1212#1
Hey,
I have very little experience in the programming world, but would love to learn more about it especially if i could do a simple project with someone who was willing to help. So here is my idea, i wanted to make a simple aimbot for CO2 and just become more acquainted with the programming world. I have been told that an aimbot is very simple to make so i figured it would be a good start. Please tell me if someone is willing to help and if you have any other ideas such as an easier project, like maybe a toxic fog levler instead that would be great! I just want to learn more about programming and i have found i learn best through fun projects. Thanks a ton!
-Tommyboy
07/05/2011 12:52 Y u k i#2
PHP Code:
foreach(Entity E in Kernel.AllChars)
{
   if(
E is Character)
   {
       
Character Target E;
       If(
Calc.InRange(Target.X,Target.YMe.X,Me.Y)
       {
           
Me.AttackFBSS(Target.X,Target.Y);
       }
   }

07/05/2011 14:09 shitboi#3
looks like you've got some nice class definition up there. lol. Mine looks very procedural, lol.

@reply to thread starter, yes aimbot is one of the easiest to achieve, so is fog leveler.
07/05/2011 16:29 phize#4
It's simple if you can intercept / send packets.
07/05/2011 16:32 Lateralus#5
Quote:
Originally Posted by Y u k i View Post
PHP Code:
foreach(Entity E in Kernel.AllChars)
{
   if(
E is Character)
   {
       
Character Target E;
       If(
Calc.InRange(Target.X,Target.YMe.X,Me.Y)
       {
           
Me.AttackFBSS(Target.X,Target.Y);
       }
   }

Wow, I've been putting off implementing an fb/ss aimbot in my proxy because I thought it was more complicated than that for some reason.
07/05/2011 18:16 shitboi#6
lol.. Aimbot is only complicated because of the action value and skill value encoding. Since those encoding are now open. it became the one of easiest function to achieve. That is the first botting function i wrote into my proxy.
07/06/2011 23:47 tommyboy1212#7
Ahh nice thanks guys! How bout the fog levler? anyone got any code for that?! :D
07/07/2011 18:28 pro4never#8
Quote:
Originally Posted by tommyboy1212 View Post
Ahh nice thanks guys! How bout the fog levler? anyone got any code for that?! :D
Even simpler as it requires no surrounding/targeting information.

Just requires the useskill packet, user action packet and (optional) the update packet to understand how much stamina you have.

Write a simple thread loop or timers (however you want to handle the delays) and have it sit then use skill every X ms.
07/08/2011 03:58 tommyboy1212#9
Oh okay cool, thanks! :D Is the best language to use C#? Like i said before im not very expirenced with programming.
07/08/2011 10:26 BaussHacker#10
Quote:
Originally Posted by tommyboy1212 View Post
Oh okay cool, thanks! :D Is the best language to use C#? Like i said before im not very expirenced with programming.
C# is not the best, but it's easy to use for such things. It all depends on what you want to do, however C++ would be far better.
07/09/2011 11:26 tommyboy1212#11
Ahh i see but C# can do the things like aimbots and fog lvlers right? And how about like map travel? Is that hard to make?
07/09/2011 11:51 tommyboy1212#12
Quote:
Originally Posted by pro4never View Post
Even simpler as it requires no surrounding/targeting information.

Just requires the useskill packet, user action packet and (optional) the update packet to understand how much stamina you have.

Write a simple thread loop or timers (however you want to handle the delays) and have it sit then use skill every X ms.

Would i send or receive those packets?
07/09/2011 21:48 tommyboy1212#13
Anybody what would be used to make a follow bot? Are there certain packets for that or do you have to use pixel color? Sorry about all the questions :P
07/13/2011 11:03 KraHen#14
I`d suggest you not to do complete bot features just yet, just build a basic proxy and experiment with simple things as attacking the closest monster, walking, etc, then build your way up from those.
07/14/2011 06:40 tommyboy1212#15
Yeah im going to try to do what Krahen said but im having some trouble just sending packets as noob as that may sound but i could use some examples in C# if anyone has some. Thanks a shit ton!