| [Tutorial] Auto Knife or Auto Med | |
|
|
Author | Message |
---|
-TM- V.I.P
Posts : 78 Join date : 2008-01-04
| Subject: [Tutorial] Auto Knife or Auto Med Fri Jan 04, 2008 4:58 am | |
| This is a simple tutorial for making a Auto Knife or Auto Med.
What you need:
1. Visual Basic 6 2. Trainer_Module
- Credits -
1. x TM x - Made the tutorial
- First -
1. Make a new Project 2. Add the Trainer_Module to your Project 3. Make 1 Timer and 2 Button's
- Second -
1. Label one Button On 2. Label the other Button Off 3. Make sure that the Timer has a Interval of about 100 and isn't enabled
- Third -
1. In the On Button put this code: - Code:
-
Timer1.Enabled = True 'Starts
2. In the Off Button put this code: - Code:
-
Timer1.Enabled = False 'Stops
3. In the Form Load put this code: - Code:
-
CurrentProcess = "Put Process Here" 'Gets the games process 4. In the Timer1 put this code: - Code:
-
Call SendKeyChar(vbKey1) 'This is for taking out the Knife Or... - Code:
-
Call SendKeyChar(vbKey9) 'This is for taking out the Med Pack Add the sleep time: - Code:
-
Sleep(100) 'Use so it has time in between taking out the knife, and mass enter clicking. And add the mass enter clicks: - Code:
-
Call SendKeyChar(vbKeyReturn) 'This makes it "Fire Weapon" - Finishing Up -
You code should be similar to this: - Code:
-
Private Sub Form_Load() CurrentProcess = "Delta Force, V1.5.0.5" End Sub
Private Sub Command1_Click() Timer1.Enabled = True End Sub
Private Sub Command2_Click() Timer1.Enabled = False End Sub
Private Sub Timer1_Timer() Call SendKeyChar(vbKey1) Sleep(100) Call SendKeyChar(vbKeyReturn) End Sub
Note: vbKey1, vbKey9 and vbKeyReturn are the default settings for the Knife, Med Pack and Fire Weapon, also, set the Timer interval to whatever you want, the lower the number, the faster it gets.
Now build your project and test it out!
- Finished! -
This is the easiest way to make a Auto Knife or Auto Med, using this tutorial you can make other things too. There are a lot of ways to improve this, I just chose the simplest way for the tutorial.
Last edited by on Fri Jan 04, 2008 8:25 am; edited 5 times in total | |
|
| |
me V.I.P
Posts : 49 Join date : 2007-12-23
| Subject: Re: [Tutorial] Auto Knife or Auto Med Fri Jan 04, 2008 6:58 am | |
| big, but well explained
But why 2 timers? | |
|
| |
-TM- V.I.P
Posts : 78 Join date : 2008-01-04
| Subject: Re: [Tutorial] Auto Knife or Auto Med Fri Jan 04, 2008 7:06 am | |
| I have to redo that, it's a mistake, what I used before was one timer takes out knife and turns off, then another timer turns on and starts auto knifing, but you can do all that with one timer. I'll fix it. | |
|
| |
Jtwizzle Admin
Posts : 163 Join date : 2007-12-21
| Subject: Re: [Tutorial] Auto Knife or Auto Med Sat Jan 05, 2008 9:25 am | |
| Nice work, thanks. | |
|
| |
-TM- V.I.P
Posts : 78 Join date : 2008-01-04
| Subject: Re: [Tutorial] Auto Knife or Auto Med Sat Jan 05, 2008 10:13 am | |
| | |
|
| |
»–gHÒ§†–« Admin
Posts : 92 Join date : 2007-12-19 Age : 32 Location : NY
| Subject: Re: [Tutorial] Auto Knife or Auto Med Thu Jan 10, 2008 5:22 am | |
| I think this is what Toyzzz meant tm. ( http://www.megaupload.com/?d=32QD001S ) just make one timer and then make it set to whatever you would like it to do. In this example it would be - Code:
-
Private Sub Timer1_Timer() Call SendKeyChar(vbKey1) Sleep(100) Call SendKeyChar(vbKeyReturn) End Sub Below is the code for the command... - Code:
-
if timer1.enabled = false then timer1.enabled = true elseif timer1.enabled = true then timer1.enabled = true end if p.s, you can do a lot of stuff based off of this. Ex: You can change the forecolors of buttons, background colors, label captions, and all sorts of stuff. To do something like that, just do this. - Code:
-
if timer1.enabled = true then label1.caption = "Hack [On]" elseif timer1.enabled = false then label1.caption = "Hack [Off]" end if try that TM, that should work. | |
|
| |
me V.I.P
Posts : 49 Join date : 2007-12-23
| Subject: Re: [Tutorial] Auto Knife or Auto Med Thu Jan 10, 2008 9:28 am | |
| sleep 100? why? just let the mofo run | |
|
| |
»–gHÒ§†–« Admin
Posts : 92 Join date : 2007-12-19 Age : 32 Location : NY
| Subject: Re: [Tutorial] Auto Knife or Auto Med Fri Jan 11, 2008 5:52 am | |
| - toyzzz wrote:
- sleep 100? why? just let the mofo run
i was just using his code to correct him , your grounded. | |
|
| |
me V.I.P
Posts : 49 Join date : 2007-12-23
| Subject: Re: [Tutorial] Auto Knife or Auto Med Fri Jan 11, 2008 11:06 am | |
| - Ghost wrote:
- toyzzz wrote:
- sleep 100? why? just let the mofo run
i was just using his code to correct him , your grounded. ffs how long? kk, i be in my room... *stomps away* | |
|
| |
»–gHÒ§†–« Admin
Posts : 92 Join date : 2007-12-19 Age : 32 Location : NY
| Subject: Re: [Tutorial] Auto Knife or Auto Med Fri Jan 11, 2008 11:07 am | |
| | |
|
| |
-TM- V.I.P
Posts : 78 Join date : 2008-01-04
| Subject: Re: [Tutorial] Auto Knife or Auto Med Sat Jan 12, 2008 10:02 am | |
| Thats shows a bunch of Boolean...How is that supposed to help, I'll revise it again anyway. | |
|
| |
Sponsored content
| Subject: Re: [Tutorial] Auto Knife or Auto Med | |
| |
|
| |
| [Tutorial] Auto Knife or Auto Med | |
|