K.e.m strike with every kill
Here, my pattern function:
External AoB.
External AoB.
Code:
Private Function pScan(ByVal startadress As Long, ByVal maxbytestoscan As Integer, ByVal pattern() As String, ByVal mask() As String) As Long
For i As Integer = 0 To maxbytestoscan
Dim n() As Byte = ReadMemory(startadress + i, pattern.Length)
For k As Integer = 0 To n.Length - 1
If mask(k) = "X" Then
If pattern(k) = n(k) Then
If k = n.Length - 1 Then
Return startadress + i
Else
Continue For
End If
Else
Exit For
End If
Else
Continue For
End If
Next
Next
Return 0
End Function
I remember trying to make a MOAB killstreak hack for MW3 and the array of bytes to get the player's killstreak value was WAY too much unstable to even make it possible. In private match its easy since you are always in player's slot #1 if you are the host of the private party. I wouldnt be suprise if the array of byte for killstreak is as unstable as MW3.
And Again, without host in a public match. The AOB is useless.
And Again, without host in a public match. The AOB is useless.
or converted into C#
Code:
private long pScan(long startadress, int maxbytestoscan, string[] pattern, string[] mask)
{
for (int i = 0; i <= maxbytestoscan; i++) {
byte[] n = ReadMemory(startadress + i, pattern.Length);
for (int k = 0; k <= n.Length - 1; k++) {
if (mask[k] == "X") {
if (pattern[k] == n[k]) {
if (k == n.Length - 1) {
return startadress + i;
} else {
continue;
}
} else {
break; // TODO: might not be correct. Was : Exit For
}
} else {
continue;
}
}
}
return 0;
}
I made a tutorial on it. Can't link, but it's here and is called: K.E.M. Strike with every kill.
This thread is closed for replies.
Similar Threads
Call of Duty 10 - Ghosts Hacks & Cheats[Release] K.E.M. Strike with every kill.DJ 22 CrossFire Mods & Rez ModdingHelp with crossfire kill badge plzAR 0 Selling Accounts/Keys/ItemsTrading CF major with every wep for CA NA accounts. 4 Call of Duty Modern Warfare HelpEvery Kill = Post! 5 Selling Accounts/Keys/ItemsSelling/Trading steam account with EVERY steam accountMO 10

