Posted in Debugging,Gamehacking by Mr. Novocain on November 18, 2007 at 14:26

Call of Duty 4

Get A Quick And Easy Ebook That Introduces Readers To Computer Programming In A Jargon Free, Easy To Understand Way. now!


So Call of Duty 4 finally arrived.. good singleplay aswell as multiplay!
Last night I started looking at the multiplay-aspect from a hackers POV..

Anyway.. started out by unlocking all cvars and found some nice usefull ones :)

This can be done easily.. follow along..

In this image r_fullbright (no lightning, no shadows on map)..
cg_laserForceOn (always have laser-sight)
cg_drawCrosshair (hardcore-servers remove crosshair, this turns it on again)
g_compassShowEnemies (always show compass/radar/map)
compassEnemyFootstepEnabled (with this and option above enemies are always visible on compass/radar/map)
compass (have compass/radar/map)
player_sprintTime (sprint for longer time)
r_fog (set to 0 to get away the annoying fog/smoke)
cg_drawThroughWalls (always see friendlies nametags)

Looking a bit more on the cvars this can easily be achieved..

Another nice cvar is cg_drawShellshock, when set to 0 you wont get visible effects of flashbangs & stuns :)

Since I’m nice I’ll give away some offsets.. (this is in v1.0)

no smoke
00436EAD 74 45 JE SHORT iw3mp.00436EF4
to
00436EAD EB 45 JMP SHORT iw3mp.00436EF4

“variable is cheat protected”
0056A296 75 29 JNZ SHORT iw3mp.0056A2C1
to
0056A296 EB 29 JMP SHORT iw3mp.0056A2C1

“cheats are not enabled on this server”
004B1E0C |. 75 5F JNZ SHORT iw3mp.004B1E6D
to
004B1E0C |. EB 5F JMP SHORT iw3mp.004B1E6D

Patch the 2 last and you can use almost any CVARS. (eg. god is still server-side)

cg_laserForceOniw3mp.exe+C78E9AC
cg_drawCrosshairiw3mp.exe+C784320
cg_drawFPSiw3mp.exe+C786460
cg_thirdPersoniw3mp.exe+C78EFE8
cg_drawGuniw3mp.exe+C78DF48
cg_drawShellshockiw3mp.exe+C78E1F4
r_fullbrightiw3mp.exe+C794270
r_fogiw3mp.exe+C79451C
cg_drawThroughWallsiw3mp.exe+C78F5D8

Some floats
player_breath_hold_lerpiw3mp.exe+C791F1C – set to 50 and sniper is 100% stable when holding breath (shift)
player_breath_hold_timeiw3mp.exe+C791DEC – set to 30 to be able to hold breath (shift) longer
player_sprintTimeiw3mp.exe+C792428 – set to 12.8 to be able to sprint for more time

These are just a few things.. I’m starting basehook today instead =P

Incoming search terms for the article:

 

6 Comments for this post

 
 
 
November 20th, 2007 at 22:15

Very nice MrK!
To bad my pc sucks and cant handle COD4 =/

 
 
 
January 14th, 2008 at 14:32

these hacks are for losers who can’t develop their skills in online gaming

 
 
 
February 27th, 2008 at 00:34

yaaa well COD works ok on single player for me, but i deffinitely need more ram, a better graphics card, and a better internet connection to make multiplayer the least bit entertaining

 

Leave a Reply