Post: How to edit any stat, or class, with codes
12-23-2010, 09:03 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); THESE MUST BE ENTERED IN SPLITSCREEN
A list of stats compiled by FourzerotwoFAILS
You must login or register to view this content.

Yes, it has been done. The ultimate CoD4 stat hack that has, or ever will be, is here.

To start off:
There is a command called statSet. It may have been discovered before, but no one has really found out how to abuse it, otherwise it would've came out a long time ago.
One day I was trying to mod CoD4 Wii(Wii ftw) and I looked in the code_post in FFViewer. The Code_post revealed quite a few things. In the CSV files, there was a table for stats. It was setup like this:
STATS | xxxx
KILLS | xxxx
PRESTIGE | xxxx

Etc. etc. etc.
To actually hack a stat, you'd need to look at this file, find the number for the stat, then put statSet <stat> <value> into your bypass save as a bind.

After completing this task, you'd have to go to multiplayer, then press whatever bind you made statSet. Nothing will happen(or so it seems)
Going to play online and looking at the barracks would reveal your hacked stat.
Getting it to "stick" isn't needed, statSet basically forces a stick.

Later on, I found another CSV which showed me how classes were laid out. It was like this:
xxxx | Primary Weapon
xxxx | Primary Attachment
xxxx | Secondary Weapon
Etc.

Doing the same statSet <stat> <value> worked for classes, too. It sticks after patch, and nothing is patched like MW2. 3 Guns/4 Perks works.

So basically:
statSet <stat> <value>

Here's a couple of examples for Stats:
statSet 2303 20000000 - 2 Billion Kills
statSet 2302 20000000 - 2 Billion Score
statSet 2305 0 - 0 Deaths
statSet 2316 20000000 - 2 Billion Wins
statSet 2326 11 - 11th Prestige(no error)
Here's a few examples for classes:
statSet 201 = Primary CC1
statSet 202 = Attachment CC1
statSet 203 = Secondary CC1
statSet 204 = Secondary Attachment CC1

A good thing about classes is to get the value for the next class slot you just need to increase the value by 10, IE Primary for Custom Class 2 is 211.

Some uses of this:
statSet 203 64 = R700 Secondary CC1(without Overkill)
statSet 211 50 = Noobtube out on Spawn on CC2, with 4 Noobtubes(Don't know why this is even in the class table, the class table that I get this from doesn't include other attachments)
statSet 201 55 = RPG Primary(don't switch from this otherwise you can't switch back)
statSet 211 4 = Gold Deagle Primary CC2

I'll post a full list of everything later, but for now this thread will suffice.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 20 users say thank you to ihatecompvir for this useful post:

Okami, 8======D----, AgentKing-Botz, Bad Luck Brian, billionk, Choco, Fezous, Honeybro, iDioxide34, ImTrippinHoes, oipsw, Omniplasma, Plurals, quigs, rdh1995, saudi--fantom, Tupac17, UGz-, vx-skillz-vx, xDenley
12-26-2010, 09:35 PM #38
yeah it can it changes your prestiege right off the bat

like if your first level 55
hit 9
you will be ninth level 55
12-26-2010, 10:56 PM #39
Correy
I'm the Original
no because it has to be done in a split screen game
12-27-2010, 08:11 AM #40
Originally posted by FourzerotwoFAILS View Post
Well, since iHateCompVir has released this code for an unknown reason, I'm going to post a load of the stat values.

2302-Score
2303-Kills
2304-Kill streak
2305-Deaths
2306-Death streak
2307-Assists
2308-Headshots
2309-Team kills
2310-Suicides
2311-Time Played Allies
2312-Time Played Opfor
2313-Time Played Other
2314-Time Played Total
2315-KD Ratio

2316-Wins
2317-Loses
2318-Ties
2319-Win Streak
2320-Cur Win Streak <--- I have no idea :P
2321-WL Ratio

2322-Hits
2323-Misses
2324-Total Shots
2325-Accuracy

2326-Prestige Level
2350-Rank

2351-Min XP
2352-Max XP
2353-Last XP

2354-Session Bans
2355-Gametype Bans

2356-Blob_Rev_Number <---- Wtf is that?



Should answer anyones questions about codes
12-27-2010, 01:16 PM #41
bad_carma
Usertitle?
whoa.... i knew about setstat but i never knew how to use it, this is intense. so if im correct, i can edit my class to have the default weapon or the brick gun? and this would allow a shotgun secondary right?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo