Hm I see, I dont think ive ever noticed this, I am doing something with this tutorial right now now Il see if I can find the problem
Thanks for the feedback
After you play for a few minutes with the aimbot, it will stop working (It goes on to the system("pause")). I cannot tell what causes this because it seems to be at kinda random times. I'm pretty sure that some point in the Aim_Bot function, it is returning false, even though the game is up and in front of everything, and it was working fine just a second ago.
The other problem, is if you use this with COD4, it doesn't aim anywhere near the bots for some reason, but works perfectly fine in CS:S.
You said in the other thread that it may be COD's lighting, but it actually acts really weirdly and it pretty much tries not to aim at the bots. If you don't stare directly at them, it doesn't do anything. If you aim at the color you are looking for, it looks away from it and you usually end up looking straight up. I set the colors to search for to be the same as the ones you did with the trigger bot (green was r<40, g>50, b<40). It was definitely finding the colors, it just wasn't aiming at them I guess.
@maptwo3: Ya! Any fix for this problem? I have seen many people complaining about the color aimbot in cod games. Dynamic lightning and shadows make the changes in the color of the chams.