When I thought of making this guide i had WoW in mind but im sure most games have the same afk concept as WoW. Anyway, lets get started.
Open vb.net and make a new project call it whatever you like. I would probably avoid calling it Anti AFk bot cause warden might detect it. Once you've made it, drag one button and one timer. In the properties make the button text say 'Start'. Now double click the start button and in the code window type:
Code:timer1.start()
now go back to the designer (double click form1 in the solution explorer or click form1.vb [Desiger] at the top.
Now resize the form if you like. Now its time to make the timer. Make the timers interval (in the properties window) somewhere from 5000-50000 (Speed in milleseconds so thats how fast its gonna make you do whatever you make it do)
Next double click the timer. In it write:
Code:appactivate("World of Warcraft")
This is where you can get creative, you can now choose what buttons you want your timer to push, I will be doing the following:
Code:sendkeys.send("w")This will make my character walk forward a little bit then jump. All the letters are in quotation marks, things such as space, enter, tab, ctrl, shift, alt are like this:Code:sendkeys.send("w") sendkeys.send("w") sendkeys.send("w") sendkeys.send("{SPACE}")
Code:sendkeys.send("{SPACE}")You're done. Push f5 close it then save it.Code:sendkeys.send("{ENTER}") sendkeys.send("{TAB}")
Note: You have to already have WoW open for this to work.