never made a AFK Bot but maybe this can help
keybd_event Function (Windows)
Can any coder help me make a simple AFK Bot application that moves the player forward by pressing the [W],[S],[A], or [D] key automatically. I need to make this for CrossFire.
,Thanks
Press that Thanks button If I helped
Also press the reputation button
[IMG]https://i614.photobucke*****m/albums/tt226/Mikez56/Sigcopy.jpg[/IMG]
never made a AFK Bot but maybe this can help
keybd_event Function (Windows)
~ Moved ~
Ah we-a blaze the fyah, make it bun dem!
Ive recently been working on one to farm.
and ive found out that it IS possible to use getasynckeystate because im code is FULL of it and i injected and played nothing happened. the code which used to do mouse moves etc worked completely after pressing F1, so i might be releasing one soon since ive leeched some shit from here i want to give smth back =)
(not 100% yet maybe i get some other ufnction i need detected, i hope not) =)
Keep in mind that you need mouse inputs too. The game has gotten smarter and if the mouse doesn't move, it will still kick the bot.
[IMG]https://i64.photobucke*****m/albums/h188/confender/AeBo4Ka.jpg[/IMG]
nice hope it works well get plenty of exp in a few years!