Results 1 to 10 of 10
  1. #1
    ........'s Avatar
    Join Date
    May 2007
    Posts
    189
    Reputation
    15
    Thanks
    0

    Hotkeys on VB6 Problem (getting bypass for help)

    Why doesn't work any hotkey pls help...this is an example.

    Private Sub Timer1_Timer()
    If GetAsyncKeyState(18) <> 0 Then
    Dim sj As Long
    Dim sj1 As Long
    Dim sj2 As Single
    Call ReadALong1("Warrock", &HXXXXXX, sj)
    sj1 = sj + &HXXX
    sj2 = Text1.Text
    Call WriteAFloat1("Warrock", sj1, Text1.Text)
    End If
    End Sub

    (Intervall=100)

    why it doesn't work??? +help



    here another example that doesn't work:

    Private Sub Timer2_Timer()
    If GetKeyPress(vbKeyControl) And GetKeyPress(vbKeyNumpad1) Then
    Dim shotgun As Long
    Dim shotgun1 As Long
    Call ReadALong1("Warrock", &HXXXXXX, shotgun)
    shotgun1 = shotgun + &HXX
    Call WriteALong1("Warrock", shotgun1, 34)
    End If
    End Sub

    (Interval=1)

    why it doesn't work??? +help

    HELPPPPPPPPPPPPPPPPPPPPPPPPP!
    Last edited by ........; 08-03-2007 at 02:50 PM.

  2. #2
    Threadstarter
    Advanced Member
    ........'s Avatar
    Join Date
    May 2007
    Posts
    189
    Reputation
    15
    Thanks
    0
    so nobody want to help but when you help me and it works than you get a private bypass from me...sry for double posting

  3. #3
    Massaka's Avatar
    Join Date
    May 2007
    Posts
    175
    Reputation
    10
    Thanks
    14
    Maybe this works:

    Private Sub TimerX_Timer()
    If GetKeyPress(vbKeyX) Then
    Dim shotgun As Long
    Dim shotgun1 As Long
    Call ReadALong1("Warrock", &HXXXXXX, shotgun)
    shotgun1 = shotgun + &HXX
    Call WriteALong1("Warrock", shotgun1, 34)
    End If
    End Sub


    Good site for the keys : https://www.gh-gold.co.uk/keycodes.php

  4. #4
    Xocitus's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    0
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As _
    Long) As Integer
    '^^Define this....

    Private Sub Timer1_Timer()
    If GetAsyncKeyState(18) <> 0 Then
    Dim sj As Long
    Dim sj1 As Long
    Dim sj2 As Single
    Call ReadALong1("Warrock", &HXXXXXX, sj) 'Sure about the 1?
    sj1 = sj + &HXXX
    sj2 = Text1.Text
    Call WriteAFloat1("Warrock", sj1, Text1.Text) 'Sure about the 1?
    End If
    End Sub

    ps: do you get error or what?

  5. #5
    Threadstarter
    Advanced Member
    ........'s Avatar
    Join Date
    May 2007
    Posts
    189
    Reputation
    15
    Thanks
    0
    no error but its so different i use my own module so i think nobody can help me out.

    its so i make that right it work when i test with play button but when i test it in game nothing work with the hotkey...so i press a button then the hack work but not with hotkey
    Last edited by ........; 08-03-2007 at 03:54 PM.

  6. #6
    Perunamuusi's Avatar
    Join Date
    Jun 2007
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    I think it is becouse of that you have typed "Warrock" as the name of the process, but the real process name is "WarRock".

  7. #7
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    timer interval = 100 ?? the declaration into general?? it must work...

  8. #8
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    KK give my your module(I don't use WriteAByte Module So I won't steal it). And in vb.net getkeypress doesn't work you have to use a diffrent API, another thing in VB.net its
    if(getkeypress(keys.x)) then
    Well thats what it would be if it did work. I'll try to find a diffrent API for you.
    Last edited by radnomguywfq3; 09-25-2007 at 08:16 AM.

  9. #9
    Iam"iDude"'s Avatar
    Join Date
    Sep 2007
    Location
    El Estado unido de América (Tejas)
    Posts
    235
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by Perunamuusi View Post
    I think it is becouse of that you have typed "Warrock" as the name of the process, but the real process name is "WarRock".
    it doesnt matter as long as it is spelled the same.

  10. #10
    Iam"iDude"'s Avatar
    Join Date
    Sep 2007
    Location
    El Estado unido de América (Tejas)
    Posts
    235
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by ........ View Post
    here another example that doesn't work:

    Private Sub Timer2_Timer()
    If GetKeyPress(vbKeyControl) And GetKeyPress(vbKeyNumpad1) Then
    Dim shotgun As Long
    Dim shotgun1 As Long
    Call ReadALong1("Warrock", &HXXXXXX, shotgun)
    shotgun1 = shotgun + &HXX
    Call WriteALong1("Warrock", shotgun1, 34)
    End If
    End Sub

    (Interval=1)

    why it doesn't work??? +help

    HELPPPPPPPPPPPPPPPPPPPPPPPPP!
    *cough* try
    Code:
    Private Sub Timer2_Timer()
    If GetKeyPress(vbKeyControl) And GetKeyPress(vbKeyNumpad1) Then
    Dim shotgun As Long
    Dim shotgun1 As Long
    Call ReadALong1("Warrock", &HXXXXXX, shotgun)
    shotgun1 = shotgun + &HXX
    Call WriteAFloat1("Warrock", shotgun1, 34)
    End If
    End Sub
    edit: sorry for double post :-(

Similar Threads

  1. [HELP] BF2 and vb6 problem
    By herowarz in forum Battlefield 2 Hacks & Cheats
    Replies: 5
    Last Post: 03-29-2008, 09:34 AM
  2. vb6 problem
    By NetNavi in forum WarRock - International Hacks
    Replies: 20
    Last Post: 09-03-2007, 01:04 AM
  3. vb6 problem
    By dragoonleader69 in forum Visual Basic Programming
    Replies: 8
    Last Post: 07-14-2007, 04:06 PM
  4. Vb6 Problem With Weapon Code?
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 6
    Last Post: 07-03-2007, 12:06 AM
  5. text on a button in vb6 problem
    By 123456789987654321 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 06-09-2007, 08:12 AM