Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


can any one fix this vb code for the Tapper so i can use it

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  

Can You Fix This Code To Work On Any Game?
Yes
33%
 33%  [ 1 ]
No
66%
 66%  [ 2 ]
Total Votes : 3

Author Message
darknight2121
How do I cheat?
Reputation: -1

Joined: 14 Apr 2009
Posts: 4

PostPosted: Fri May 14, 2010 3:39 pm    Post subject: can any one fix this vb code for the Tapper so i can use it Reply with quote

i cant use it. it is coming up but then it just freezes. It is supposed to work for any game that you play online the code is this:
Code:
Public Class Form1
    Public Declare Function GetAsyncKeyState Lib "User32" (ByVal vKey As Long) As Integer
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Timer1.Enabled = True
        Timer2.Enabled = True
    End Sub


    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Dim Hotkey1 As Boolean
        Hotkey1 = GetAsyncKeyState(Keys.F11)
        If Hotkey1 = True Then
            Timer1.Enabled = True
            Shell("NET START DHCP")
        End If

    End Sub

    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        Dim Hotkey2 As Boolean
        Hotkey2 = GetAsyncKeyState(Keys.F10)
        If Hotkey2 = True Then
            Timer2.Enabled = True
            Shell("NET STOP DHCP")
        End If
    End Sub


End Classl

_________________
I JUST LOVE THE SPEED HACK AND TAPPS
Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Fri May 14, 2010 3:40 pm    Post subject: Reply with quote

Try debugging.
Back to top
View user's profile Send private message
darknight2121
How do I cheat?
Reputation: -1

Joined: 14 Apr 2009
Posts: 4

PostPosted: Fri May 14, 2010 3:47 pm    Post subject: This post has 1 review(s) Reply with quote

i have but it doesn't do anything but come up in command prompt and freezes.
_________________
I JUST LOVE THE SPEED HACK AND TAPPS
Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Fri May 14, 2010 3:50 pm    Post subject: Reply with quote

darknight2121 wrote:
i have but it doesn't do anything but come up in command prompt and freezes.



How... exactly are you debugging the code? And will it even compile?
Back to top
View user's profile Send private message
darknight2121
How do I cheat?
Reputation: -1

Joined: 14 Apr 2009
Posts: 4

PostPosted: Fri May 14, 2010 3:54 pm    Post subject: Reply with quote

as i would do like any visual basic i went into the bin to see if it worked and it didn't and i went into the obj folder in the debug to activate the .exe file
_________________
I JUST LOVE THE SPEED HACK AND TAPPS
Back to top
View user's profile Send private message
iTz SWAT
I post too much
Reputation: 1

Joined: 20 Dec 2007
Posts: 2227
Location: Me.Location;

PostPosted: Tue May 18, 2010 4:09 am    Post subject: Reply with quote

Is it suposed to end in End Class1?
Shouldn't it just be End Class?

Also, you should combine both into 1 Timer instead of having 2 Timers.

_________________
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed May 19, 2010 1:55 am    Post subject: Reply with quote

iTz SWAT wrote:
Is it suposed to end in End Class1?
Shouldn't it just be End Class?

Also, you should combine both into 1 Timer instead of having 2 Timers.

yes and yes

Code:
Public Class Form1
    Public Declare Function GetAsyncKeyState Lib "User32" (ByVal vKey As Long) As Integer
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Timer1.Enabled = True
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        if(GetAsyncKeyState(Keys.F10))
        {
            Shell("NET START DHCP")
        }
        else if(GetAsyncKeyState(Keys.F11))
        {
            Shell("NET STOP DHCP")
        }

        End if
    End Sub
End Class

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites