what is wrong with this ??

Posts 1–6 of 6 · Page 1 of 1
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
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)
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.
Quote Originally Posted by floris12345! View Post
Call WriteALong("Warrock", Shotgun2, 42)
Call WriteALong("Warrock", SmokeNade1, 42)
err... it's WriteAFloat not WriteALong
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.
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.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?