Results 1 to 6 of 6
  1. #1
    floris12345!'s Avatar
    Join Date
    May 2007
    Gender
    male
    Location
    gasdhf
    Posts
    63
    Reputation
    10
    Thanks
    13

    what is wrong with this ??

    This codes i got from wr194t

    : If GetKeyPress(vbKey5) Then
    Dim Shotgun1 As Long
    Dim Shotgun2 As Long
    Call ReadALong("Warrock", &H12A8560, Shotgun1)
    Shotgun2 = Shotgun1 + &H4C
    Call WriteALong("Warrock", Shotgun2, 42)

    If GetKeyPress(vbKey5) Then
    Dim SmokeNade As Long
    Dim SmokeNade1 As Long
    Call ReadALong("Warrock", &H12A8560, SmokeNade)
    SmokeNade1 = SmokeNade + &H4C
    Call WriteALong("Warrock", SmokeNade1, 42)

    but they dont work anymore in the game ?? why

  2. The Following User Says Thank You to floris12345! For This Useful Post:

    8oo73l2 (01-16-2008)

  3. #2
    wr194t's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    Guess.
    Posts
    3,016
    Reputation
    21
    Thanks
    361
    My Mood
    Hot
    Quote Originally Posted by floris12345! View Post
    This codes i got from wr194t

    : If GetKeyPress(vbKey5) Then
    Dim Shotgun1 As Long
    Dim Shotgun2 As Long
    Call ReadALong("Warrock", &H12A8560, Shotgun1)
    Shotgun2 = Shotgun1 + &H4C
    Call WriteALong("Warrock", Shotgun2, 42)

    If GetKeyPress(vbKey5) Then
    Dim SmokeNade As Long
    Dim SmokeNade1 As Long
    Call ReadALong("Warrock", &H12A8560, SmokeNade)
    SmokeNade1 = SmokeNade + &H4C
    Call WriteALong("Warrock", SmokeNade1, 42)

    but they dont work anymore in the game ?? why
    You're using the same hotkey and values for both hacks, and your address is wrong:

    Shotgun:
    Code:
    If GetKeyPress(vbKey5) Then
    Dim Shotgun1 As Long
    Dim Shotgun2 As Long
    Call ReadALong("Warrock", &H12DF500, Shotgun1)
    Shotgun2 = Shotgun1 + &H4C
    Call WriteALong("Warrock", Shotgun2, 42)
    Smoke Granade:
    Code:
    If GetKeyPress(vbKey6) Then
    Dim SmokeNade As Long
    Dim SmokeNade1 As Long
    Call ReadALong("Warrock", &H12DF500, SmokeNade)
    SmokeNade1 = SmokeNade + &H4C
    Call WriteALong("Warrock", SmokeNade1, 53)

  4. The Following User Says Thank You to wr194t For This Useful Post:

    8oo73l2 (01-16-2008)

  5. #3
    MaskedFox's Avatar
    Join Date
    Feb 2007
    Posts
    97
    Reputation
    10
    Thanks
    27
    Quote Originally Posted by wr194t View Post
    You're using the same hotkey and values for both hacks, and your address is wrong:

    Shotgun:
    Code:
    If GetKeyPress(vbKey5) Then
    Dim Shotgun1 As Long
    Dim Shotgun2 As Long
    Call ReadALong("Warrock", &H12DF500, Shotgun1)
    Shotgun2 = Shotgun1 + &H4C
    Call WriteALong("Warrock", Shotgun2, 42)
    Smoke Granade:
    Code:
    If GetKeyPress(vbKey6) Then
    Dim SmokeNade As Long
    Dim SmokeNade1 As Long
    Call ReadALong("Warrock", &H12DF500, SmokeNade)
    SmokeNade1 = SmokeNade + &H4C
    Call WriteALong("Warrock", SmokeNade1, 53)
    lol was gonna say im pretty sure u cant use the same hotkey for 2 commands.

  6. #4
    K2 Nemico's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Posts
    160
    Reputation
    8
    Thanks
    29
    Quote Originally Posted by floris12345! View Post
    Call WriteALong("Warrock", Shotgun2, 42)
    Call WriteALong("Warrock", SmokeNade1, 42)
    err... it's WriteAFloat not WriteALong

  7. #5
    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
    Quote Originally Posted by K2 Nemico View Post
    err... it's WriteAFloat not WriteALong
    Write a float is 4, Write a long is 4. Basically there the same thing. If you programmed in C++ or without your VB module, you would know that this function uses the API Read\WriteProcessmemory as well as its parameters.



    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. #6
    wr194t's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    Guess.
    Posts
    3,016
    Reputation
    21
    Thanks
    361
    My Mood
    Hot
    Quote Originally Posted by K2 Nemico View Post
    err... it's WriteAFloat not WriteALong
    Weapons and Swim use Long, not Float, otherwise the hack won't function properly, or the game will crash. NFD and Super Jump/Sky Stormer use Float.

Similar Threads

  1. What's wrong with this?
    By fvestrgenrl in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 6
    Last Post: 07-21-2010, 03:12 PM
  2. What's wrong with this guy?
    By Mr.Magicman in forum General
    Replies: 15
    Last Post: 06-01-2010, 08:53 AM
  3. What is wrong with this code?
    By t7ancients in forum C++/C Programming
    Replies: 10
    Last Post: 10-19-2009, 01:58 PM
  4. What's wrong with this?
    By yup in forum Visual Basic Programming
    Replies: 4
    Last Post: 03-18-2008, 10:36 AM
  5. what is wrong with this source?
    By Petros in forum C++/C Programming
    Replies: 6
    Last Post: 07-04-2007, 04:33 PM