Results 1 to 4 of 4
  1. #1
    wieter20's Avatar
    Join Date
    Feb 2007
    Gender
    male
    Location
    doesn't matter i only say im fam. of queen of holland!
    Posts
    207
    Reputation
    16
    Thanks
    41

    Wat the hell am i doing wrong?

    can som1 please post the good code of this:
    Private Sub Command21_Click()
    Dim SJ As Long
    Dim SJ1 As Long
    Dim SJ2 As Single
    Call ReadALong("Warrock", &H12C8520, SJ)
    SJ1 = SJ + &H180
    SJ2 = Text1.Text
    Call WriteAFloat("Warrock", SJ1, SJ2)
    End Sub
    and
    Private Sub Command15_Click()
    Dim SSwim1 As Long
    Dim SSwim2 As Long
    Call ReadALong("Warrock", &H12C8520, SSwim1)
    SSwim2 = SSwim1 + &H276
    Call WriteAFloat("Warrock", SSwim2, 1)
    End Sub
    please i really need help
    Gtfo k

  2. #2
    Someguytwo's Avatar
    Join Date
    Nov 2007
    Posts
    141
    Reputation
    -5
    Thanks
    9
    For Swim you write 4. As far as I can see its all correct, Does your code compile? Swim,SJ are 4 bytes, so use write a long.

  3. #3
    K2 Nemico's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Posts
    160
    Reputation
    8
    Thanks
    29
    here are the 2 correct codes:

    Superjump:
    Code:
    Dim SJ As Long
    Dim SJ1 As Long
    Dim SJ2 As Single
    Call ReadALong("Warrock", &H12C8520, SJ)
    SJ1 = SJ + &H179
    SJ2 = Text1.Text
    Call WriteAFloat("Warrock", SJ1, SJ2)
    End Sub
    the offset was wrong, its 179 not 180.

    Swim:
    Code:
    Dim SSwim1 As Long
    Dim SSwim2 As Long
    Call ReadALong("Warrock", &H12C8520, SSwim1)
    SSwim2 = SSwim1 + &H276
    Call WriteAFloat("Warrock", SSwim2, 4)
    instead of 1 it should be 4 because 0 is walk, 1 is prone, 2 is kneel, 3 is ladder, 4 is swim, and 5 is vehicle.

  4. #4
    vescovo's Avatar
    Join Date
    Sep 2007
    Location
    Hitlers Grave
    Posts
    1,403
    Reputation
    11
    Thanks
    145
    Quote Originally Posted by K2 Nemico View Post
    here are the 2 correct codes:

    Superjump:
    Code:
    Dim SJ As Long
    Dim SJ1 As Long
    Dim SJ2 As Single
    Call ReadALong("Warrock", &H12C8520, SJ)
    SJ1 = SJ + &H179
    SJ2 = Text1.Text
    Call WriteAFloat("Warrock", SJ1, SJ2)
    End Sub
    the offset was wrong, its 179 not 180.

    Swim:
    Code:
    Dim SSwim1 As Long
    Dim SSwim2 As Long
    Call ReadALong("Warrock", &H12C8520, SSwim1)
    SSwim2 = SSwim1 + &H276
    Call WriteAFloat("Warrock", SSwim2, 4)
    instead of 1 it should be 4 because 0 is walk, 1 is prone, 2 is kneel, 3 is ladder, 4 is swim, and 5 is vehicle.
    so you could make it where u r driving in CQC without a vehicle?

Similar Threads

  1. Wat am i doing wrong?
    By wieter202 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 01-20-2008, 03:17 AM
  2. C++ and vC++ wats the difference
    By $GHOST$ in forum C++/C Programming
    Replies: 5
    Last Post: 09-16-2007, 02:41 AM
  3. how the hell??????
    By Edge15 in forum WarRock - International Hacks
    Replies: 8
    Last Post: 06-25-2007, 05:58 AM
  4. What am i doing wrong?
    By Elliwood in forum WarRock - International Hacks
    Replies: 13
    Last Post: 05-28-2007, 09:25 AM
  5. Where the hell is everyone?
    By SadisticGrin in forum General
    Replies: 15
    Last Post: 07-31-2006, 11:58 PM