# Thread: Headshot / Kills Fix for the Weapons - Structure of the Memory Area etc

1. ## Headshot / Kills Fix for the Weapons - Structure of the Memory Area etc

For those of you who are having trouble with the weapon stats, here is an in-depth look at the block of code for weapons. I will try to explain this as easily as I can. In this example, I am using the KAP-40, since there are several people who are having trouble with the stats of this weapon.

Every weapon has a "multiplier". For the KAP-40, that multiplier is 8. For example, if you get 1 kill with the KAP-40, your kills will equal 08 (hex). If you get 2 kills with the KAP-40, your kills will equal 10 (hex). 10 (hex) = 16. 2 kills x 8 multiplier = 16.

The following example is what the KAP-40 block of code looks like freshly unlocked, never used:

This following example is what the KAP-40 block of code looks like after firing a full clip (15 rounds) into the air. You will notice that the address for rounds fired equals 78 (hex). 78 (hex) = 120. 15 rounds fired x 8 multiplier = 120.

The following example is what the KAP-40 block of code looks like after firing 15 rounds and getting 1 kill. Looking at the rounds fired and rounds hit, remembering that the multiplier for the KAP-40 is 8, you can see that I fired 15 rounds, but only 2 of them hit. This gives me an accuracy of 13.33% (2 / 15 * 100 = 13.33%).

You will notice that my combat kills for the KAP-40 is now 08 (hex), which is 1 kill. The weapon XP is 64 (hex). 64 (hex) = 100, which is how many xp points you get for 1 kill.

This example is after getting killed 2 times while using the KAP-40. I'm not exactly sure what the yellow variable is for, but it changes every time I die, so I'm assuming it's for damage taken. As you can see, the address for deaths shows 10 (hex). 10 (hex) = 16. 2 deaths x 8 multiplier = 16.

This example is after getting killed 2 times while using the KAP-40. I'm not exactly sure what the yellow variable is for, but it changes every time I die, so I'm assuming it's for damage taken. As you can see, the address for deaths shows 10 (hex). 10 (hex) = 16. 2 deaths x 8 multiplier = 16.

Here is the complete KAP-40 code diagram. Every weapon has the same layout, so after reviewing this diagram, you should be able to easily edit other weapons.

Example:
02E6CFDE - 100 Combat Record Kills
02E6CFEA - 100 Deaths
02E6CFF0 - 200 Rounds Fired
02E6CFF6 - 100 Rounds Hit
02E6CFFC - 100 Combat Record Headshots
02E6D000 - 100 Camouflage Unlock Headshots
02E6D024 - Gold Camouflage Unlocked
02E6D02A - Carbon Fiber Camouflage Unlocked
02E6D02C - 100 Kills
02E6D030 - Cherry Blossom Camouflage Unlocked
02E6D036 - Art Of War Camouflage Unlocked
02E6D03C - Ronin Camouflage Unlocked
02E6D042 - Skulls Camouflage Unlocked
02E6D04E - 31,500 Weapon XP (max)

The maximum weapon XP for the KAP-40 is 31,500 (hex 0C 7B). I didn't include the address for weapon prestige because it ties into the unlock variable for the next weapon and it's more hassle than it's worth. To prestige the weapon, just do it manually by setting the weapon XP to the max value then click the prestige button.

A quick overview for the Pistol-Bracket:

This is the way the memory structure works. Maybe this little tutorial makes it clearer to those of you trying to fix their kills and headshots. Btw for the headshots its the same way on editing it. Remember that every Weapon has his own Multiplier (Kap-40 -> 8, Type 25 -> 128!

Code:
```<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="14">
<CheatEntries>
<CheatEntry>
<ID>29</ID>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
<CheatEntries>
<CheatEntry>
<ID>19</ID>
<Description>"Kap40"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>0</ID>
<Description>"tac45"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>20</ID>
<Description>"B23R"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>1</ID>
<Description>"executioner"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>2</ID>
<Description>"five seven"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>31</ID>
<Description>"MP7"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>32</ID>
<Description>"Scorpion"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>33</ID>
<Description>"PDW"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>34</ID>
<Description>"Chicom"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>35</ID>
<Description>"MSMC"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>36</ID>
<Description>"Vector"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>11</ID>
<Description>"m8a1"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>23</ID>
<Description>"Scar"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>5</ID>
<Description>"an94"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>22</ID>
<Description>"Swat"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>26</ID>
<Description>"type25"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>27</ID>
<Description>"fal dsw"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>28</ID>
<Description>"smr"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>24</ID>
<Description>"M27"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>13</ID>
<Description>"mtar"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>12</ID>
<Description>"mk48"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>14</ID>
<Description>"qbb"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>10</ID>
<Description>"lsat"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>9</ID>
<Description>"hamr"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>6</ID>
<Description>"ballista"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>17</ID>
<Description>"svu"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>25</ID>
<Description>"dsr"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>18</ID>
<Description>"xpr"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>37</ID>
<Description>"R870 MCS"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>4</ID>
<Description>"m1216"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>38</ID>
<Description>"S12"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>3</ID>
<Description>"ksg"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>16</ID>
<Description>"smaw"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>15</ID>
<Description>"rpg"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>21</ID>
<Description>"Shield"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>8</ID>
<Description>"crossbow"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
<CheatEntry>
<ID>7</ID>
<Description>"ballistic knife"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>30</ID>
<Description>"Credits to Dharbert, Zune/Ytoof"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
</CheatEntry>
</CheatEntries>
<UserdefinedSymbols/>
</CheatTable>```
Credits: Dharbert - Tutorial
Me - Sharing with you

2. ## The Following 15 Users Say Thank You to ytoof For This Useful Post:

3x1h4x (01-13-2013),Agito (01-15-2013),Bijan Moeinzadeh (03-10-2013),bocasecaman (03-10-2013),clar6422 (02-03-2013),Heterodon. (03-26-2013),Horror (01-13-2013),iMexi (01-20-2013),jojothecat99 (03-25-2013),Jorndel (01-13-2013),kevincnh (02-09-2013),luid123 (01-24-2013),pablofub (02-14-2013),therealhulk (05-18-2016),xjonasxv (01-16-2013)

3. /Sticky - Thanks for your contribution

-Jorndel

4. Here is my contribution - Legit kills, headshots, KD for all pistols:
(Max level, all camos + diamond)

5. ## The Following 3 Users Say Thank You to Agito For This Useful Post:

kevincnh (02-09-2013),Stoner.E (01-15-2013),ytoof (01-15-2013)

6. Dude I cant change the weapon kills what should i do ?

7. Originally Posted by crazycake12432
Dude I cant change the weapon kills what should i do ?

8. Thank u bro, now i understand!

9. I don't get this..

10. i dont get it too hard for me but why cant u make something like trainer,or something like that

11. If you are using cheat engine, READ THIS https://www.mpgh.net/forum/674-call-d...-area-etc.html It tells you everything you need to know, There is no easier way to explain it. I will add something that no one has put in their advice though, if you just need to change the kills, change the value, no memory dump needed like it is to change the headshots.

12. Looking for someone to reset me back to level 1 prestige 0.

I'm currently level 30, and i can't use the fresh start thingy from the prestige shop.

I just want to get ride of my diamond secondary cause i heared many of my friends got banned, so i wanna get ride of the million headshots from my combat record.

Edit : I mean if someone will do this for me on Teamviewer.

Looking for someone to reset me back to level 1 prestige 0.

I'm currently level 30, and i can't use the fresh start thingy from the prestige shop.

I just want to get ride of my diamond secondary cause i heared many of my friends got banned, so i wanna get ride of the million headshots from my combat record.

Edit : I mean if someone will do this for me on Teamviewer.
If you want to get an reset: https://www.mpgh.net/forum/674-call-d...d-how-fix.html

14. any chance i might get banned for this? will they detect i used a hack to get a fresh start?

any chance i might get banned for this? will they detect i used a hack to get a fresh start?
You already hacked. They can ban you now.
Fresh Start = You wanted to start over-again. And you're proving that you didn't want to cheat.
I would not ban you for this.

So mostly like: Not