Results 1 to 11 of 11
  1. #1
    ilovepie21's Avatar
    Join Date
    Feb 2007
    Location
    Drunk
    Posts
    388
    Reputation
    11
    Thanks
    134

    [ HELP ] Stamina Code VB6

    First time using VB so trying to get hang of it i get error in this code
    Code:
    Private Sub Command1_Click()
    If Timer1.Enabled = True Then
    Timer1.Enabled = False
    Else
    Timer1.Enabled = True
    End If
    End Sub
    
    Private Sub Timer1_Timer()
    If GetKeyPress(vbKeyShift) Then
    Dim STAN As Long
    Dim STAN1 As Long
    Call ReadALong("WarRock", &H1363380, STAN)
    STAN1 = STAN + &H288
    Call WriteAFloat("WarRock", STAN1, 100)
    End Sub
    Last edited by ilovepie21; 02-28-2008 at 03:58 PM.

  2. #2
    arunforce's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    A place for amigos
    Posts
    24,704
    Reputation
    4747
    Thanks
    12,562
    My Mood
    Yeehaw
    Whats the error?



    BRING BACK BT, BRING BACK SAGA, BRING BACK VF, BRING BACK MPGHCRAFT, BRING BACK HABAMON


  3. #3
    Threadstarter
    Dual-Keyboard Member
    ilovepie21's Avatar
    Join Date
    Feb 2007
    Location
    Drunk
    Posts
    388
    Reputation
    11
    Thanks
    134
    Call ReadALong it wont let me save the .exe becuz " Compile Error: Sub or Function not defined " and then it highlights " Call ReadALong " and now i put in a hotkey and it highlights " GetKeyPress "

  4. #4
    arunforce's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    A place for amigos
    Posts
    24,704
    Reputation
    4747
    Thanks
    12,562
    My Mood
    Yeehaw
    Not sure, haven't worked in VB in a while, but it seems like Call ReadALong is not properly defined.



    BRING BACK BT, BRING BACK SAGA, BRING BACK VF, BRING BACK MPGHCRAFT, BRING BACK HABAMON


  5. #5
    skater310's Avatar
    Join Date
    Jan 2008
    Posts
    20
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by arunforce View Post
    Not sure, haven't worked in VB in a while, but it seems like Call ReadALong is not properly defined.
    so how do u define it?

  6. #6
    Threadstarter
    Dual-Keyboard Member
    ilovepie21's Avatar
    Join Date
    Feb 2007
    Location
    Drunk
    Posts
    388
    Reputation
    11
    Thanks
    134
    nobody can help?

  7. #7
    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
    Are you using a module?



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  8. #8
    Threadstarter
    Dual-Keyboard Member
    ilovepie21's Avatar
    Join Date
    Feb 2007
    Location
    Drunk
    Posts
    388
    Reputation
    11
    Thanks
    134
    yes i used the undetected module generator

  9. #9
    yup's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    102
    Reputation
    11
    Thanks
    3
    Quote Originally Posted by ilovepie21 View Post
    yes i used the undetected module generator
    Then you need to see what readalong is in your module

  10. #10
    Threadstarter
    Dual-Keyboard Member
    ilovepie21's Avatar
    Join Date
    Feb 2007
    Location
    Drunk
    Posts
    388
    Reputation
    11
    Thanks
    134
    where is it in the module ? wat line

  11. #11
    johannes2's Avatar
    Join Date
    Feb 2008
    Posts
    9
    Reputation
    10
    Thanks
    2
    add END IF dude then it will work

Similar Threads

  1. [Help] Stamina code freezes to 0
    By ilovepie21 in forum Visual Basic Programming
    Replies: 2
    Last Post: 03-05-2008, 08:21 PM
  2. [ help ] stamina code
    By ilovepie21 in forum Visual Basic Programming
    Replies: 0
    Last Post: 03-02-2008, 03:43 PM
  3. [ HELP ] stamina code
    By ilovepie21 in forum Visual Basic Programming
    Replies: 1
    Last Post: 02-28-2008, 03:35 AM
  4. Please help me with stamina hack (VB6)
    By floris12345! in forum Visual Basic Programming
    Replies: 13
    Last Post: 01-15-2008, 08:58 AM
  5. Writing Stamina Code Vb6 ???done Trainer
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 06-09-2007, 05:40 AM

Tags for this Thread