COD4 related code
Sticky Threads
Last week I had some time to sit down and reverse how Call of Duty 4 generates the bullet location, including the spread on each bullet. Here is the entire reversed code, which (if used correctly) can do perfect No Spread in Call of Duty 4. If it would help anyone, I'll gladly post the...
this method will draw every bullet made by any entities included helicopter if you reverse a bit more you can draw where the bullet will shoot at. typedef struct { char unknown0; vec3_t origin; char unknown16; vec3_t origin2; float spread_7;
#include <windows.h> #include <detours.h> typedef LONG (WINAPI *InterlockedExchangeAdd_t)(LONG volatile *, LONG); InterlockedExchangeAdd_t o_InterlockedExchangeAdd = NULL; void _declspec(naked) h_InterlockedExchangeAdd(void) { __asm { push eax
Version 1.5 Do not assume the structure sizes are correct! An example of how to use a couple of these: Inside CG_Init at 0043FBB0 are cgs and cg offsets and sizes. memset((void *)0x74A688, 0, 0x3A24u); //cgs memset((void *)0x74E0B8, 0, 0xFE7F0u); //cg
this is my first "release" for cod4, i accept every comment and suggestion thanks for reading souce code plus compiled code are in the zipped file, i used GCC compiler for build it, i do not like the developing software that create a lot of file for a single project, so i have made a batch file...
Im trying to enable the laser via memory editing. But i cant find the function. /cg_laserforceon 1 Is the laser command to enable the laser. I have tryed searching 1 and 0 etc... but it didnt seem to get anywere... Can someone help? If your going to post an address please tell me how you...
typedef enum { TEAM_FREE, TEAM_AXIS, TEAM_ALLIES, TEAM_SPECTATOR } team_t; typedef enum { ET_GENERAL,//0 ET_PLAYER,//1
Assuming u have a few of the needed structs here is how to make a esp for cod4.. The next 2 functions are from the quake sdk and are perfect for finding the correct distance between you and any given entity... //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- float...
the conncept was just a random idea there is no any specials in it but works float *ViewAngleX = (float *)0x00C84FDC; float *ViewAngleY = (float *)0x00C84FD8; float CAimbot::distance( vec3_t origin ) { vec3_t vector; VectorSub( origin, refdef->Vieworg, vector );
Thought I'd release this, could be helpful for things like no recoil/no spread. I mainly got the names through comparing the struct in memory with the weapon files in iw11.iwd, which you can open as a .zip file (I could have got some vars with coincidentally matching values wrong). EDIT: This...
. special thx: R4z8r, King-OrgY, Tammimego, kynox ,pinki185 and others... it forgives if I did not add other people I credit in it .... http://img199.imageshack.us/img199/576/codwawmp20090705140814.png
I have been working on the CoD4 for about a bit now, and I have come up with enough information to develop a decent hack. I thought I would share some of that information so others can gain from my work. This is not meant to be a complete how-to guide on creating a Cod4 client hook, but a very...
ok friends found in ollydbg to unlock mouse in game Unlock Mouse 004634F6 83F8 01<- CMP EAX,1 00463502 83F8 01<- CMP EAX,1 DEFAULT 004634F6 83F8 FF CMP EAX,-1 00463502 83F8 FF CMP EAX,-1
basic Xhair from memory used OLLYDBG 00430F95 75 0C JE SHORT iw3mp.00430FA3 00430F95 74 0C JNZ SHORT iw3mp.00430FA3 :banana::banana:
boring again! cod4 1.7 void __cdecl PatchEngineEsp() { HANDLE CurrentP = GetCurrentProcess(); /*Enable ESP and Set Max Distance to Zero*/
hi all, I tested this memory in mod LAN functioned perfect, not yet I tested in way ONLINE, I am passing all here to test. find Tsearch has increased = hosted on has descreased = hosted off Memory One Patched script: Poke 505101 90 90 90 90
typedef struct { short UNKNOW; short active; short j_spine4; short j_helmet; short j_head; short UNKNOW_2; short allies; short axis;
Warning this is not c&p ! Works for: Before The Dawn 2 Before The Dawn 2.10 Before The Dawn 2.20 Before The Dawn Alpha cod4 1.7
Hey guys, This code is MUCH better then the crappy codes I posted before... BOOL CEsp::IsVisible( CEntity* Ent ) { BYTE bRet = TRUE;
check my basic source menu 3d in game. source create in Visual C++ 2008 thx all gamedeception
Figured I may aswell give some shit out. With this info you can do tag aim and visibility tracing for CoD4 and CoD5 EDIT: Added quad drawing CoD4: struct Trace { float Fraction;
ok ,found value to mod Spider Man :lick::lick::lick::lick: default :( -> is bad you need press SPACE BAR 0x70A740 = 18.0000 spider man lol -> is very good but it leans in the ready object 0x70A740 = 1000.00
Here is a different method of model rec using skin strings because other methods are time consuming, inacurate and messy.. Hook R_DrawXModelSkinnedCached (search iw3mp.exe referenced string "--- R_DrawXModelSkinnedCached( %s ) ---\n"). void __declspec(naked)...
Stopped coding this more than a month ago. Just removed the anti PB stuff. Was in the middle of implementing the aim code when I /quit HF, and don't be a no-credit ripping lameass Credits are in source. To run codex loader thats included you will need the 2008 redist. You probably need...
Using this feature enables the minimap and HUD, for mode HC :biggrin: .... trRadarHud = (tRadarHud)DetourCreate((void *)0x00585C5F, hRadarHud, DETOUR_TYPE_JMP, 0); ... void __declspec(naked) CEngine::hRadarHud() {
Hey guys, nothing new here but I hope it will be usefull to someone: CHAR* Bone_Middle = { "j_head", "neck", "j_spineupper", "j_spinelower", "pelvis" }; CHAR* Bone_Right_Arm = { "neck", "j_clavicle_ri", "j_shoulder_ri", "j_elbow_ri", "j_wrist_ri" }; CHAR* Bone_Left_Arm = {...
This can be kinda tricky to find, so I'll post it here. DWORD dwWeaponInfoBase = 0x736DB8; int GetWeaponAmmo() { DWORD dwAddr = 0; int iCurrWeaponId = 0; DWORD dwCurrWeaponData = 0;
push 0 push 1.0 ; ScaleY push 1.0 ; ScaleX push Y push X push Font push iTextLen push String mov ecx, Color ; RGBA ( 0 - 1.0 ) mov eax, 0x005CDB30
Alright well this is my first post and it's for cod4 one of my favorite games. Here I've found out how to make an aimbot/esp and unlimited radar,tags,tracers,laser ect and theres so much more possible if you just add more commands to it. Heres how to do it. 1) You need a Playstation 3 2)...
Just started playing CoD4 again after not playing for a long time, here are the new addresses. 1.7 patch: Anti Teamcheck - For making enemys show up too: Address: 0x0042E1AC Patch: unsigned long oTeamcheck = (unsigned long)0x0042E1AC; unsigned long patch = { 0x90, 0x90, 0x90, 0x90, 0x90,...
Some strange thing I had discover. The hooking of Direct3DCreate and replacing of IDirect3D is ok for PB, but when I'm trying to replace the device interface with my own in IDirect3D9.CreateDevice I'm getting kick for violation (wrong driver or something). However when I'm returning the original...
Well the old classname method was a failure, so i went looking and found this. At the entity + 0xD0 is the entity type, i've listed the entity types for you!. #define TYPE_SMOKEGRENADE 0 #define TYPE_HUMAN 1 #define TYPE_HUMANCORPSE 2 #define TYPE_WEAPON 3 #define TYPE_EXPLOSIVE 4
This is how it works: you open your game you check out how much XP you need to advance you write the amount - 8 at this offset iw3mp.exe+C7E9E68 you join a server you kill somebody boom promoted. EDIT
Might aswell post this.. //Generated using ReClass by DrUnKeN ChEeTaH class ChallengesBase; class Assault; class SMG; class LMG; class Shotgun; class Sniper; class BootCamp;
// 1 == Spetnaz / Opfor // 2 == Marines / SAS int getTeam(int Client) { int iTeam = 0; _asm { mov edx,Client imul edx, 4CCh push esi mov esi,
Normal Threads
I've been going through a lot of values in the weapon classes posted on here, but I can't seem to figure out how to determine what attachments each person's weapons are using. For example, I know it will return "M4 Carbine" as the name, but I want to know if it has a silencer or iron sight, or...
another game based ESP since its a usercall we need to use asm but is easy done with a bit knowledge about assembly/reversing. cod5 also its a cdecl call void CG_DrawDebugLockOn( vec3_t color ){ DWORD DebugLockOn = 0x402D40; __asm push color; color __asm mov eax,...
simple method to draw Name Tags without modify the memory at all void (*CG_DrawNameTags)( int noIdea, centity_t *cent, float Alpha ) = (void (__cdecl *)( int , centity_t *, float ))0x00000; then call inside your every frame function for( int i = 0; i < cgs->maxclients; i++ ) {
Anyone know where UAV status is stored? I would like to know when both allies and axis teams have uav on or off. Thanks! eNF!
i have noticed that there are some people who have problems with the basics of the hacks! i mean injection, memory management, and hooks. so i have start writing an library for these things. at the moment my lib can inject dlls to running processes, start processes with dlls, and eject dlls.......
Hey guys, i need some help again, i'm trying to draw text and a rectangle with the engine functions, but when i press the key to draw, my game freezes, i'm sure that the problem is not the asm code. Engine Functions: int CEngineDraw::RegisterShader( char* name, int i) //register shader { ...
Hey guys, i read a bunch of structs and information in this section and thought about making a little hack for cod4.. my project compiles fine, but when i inject the dll, my cod4 crashes instantly. :'( this is my code, i want to render text ingame with the RenderText function by kynox. ...
Has anyone found the structs or functions to handle the perks? I'd like to know what perks the players are using (e.g. Last Stand). Anyone figure this out? Thanks!
this method shows your the exact position from the game mouse the same way uses cod4 for drawing there mouse. well you know im not good in explain if you don't know how it works try it out you self. from the decompiled CL_CGameRendering(0x5434F0) function v2 = flt_E34420 * 32.0...
another function i found today cod4 don't use this function for there namatags only ScanForCrosshairEntitie used it and the bullet trace. void __usercall sub_403A00(int a1<edi>, int a2) { int v2; // esi@4 char v3; // @8 if ( !(byte_794488 & 2) )
Im trying to avoid punkbuster at hooking a client function such as renderscene/endframe. My d3d hook isnt enough for that game. I dont really have an idea...I dont like hooking punkbuster and the only thing that comes thru my head is hw breakpointing but the only experience I had with HW...
This is old I know but it might be useful to someone. What is being done is the game has a table of information on each command the game registers. The command is registered with the name of the command and the function the command is to use. Simply just going through the table and finding the...
Hi all, Someone have refdef_t & snapshot_t structures? (for cod4 1.7) :rolleyes2:
Hi all, I need check local ID and local team but i don't know how to do this
I Have a question, that how can i use cod4 engine text or how can i use engine rendering. want to say that i dont have to mess with directx. instead i could use engine to make name tags and other stuff. thanks
I need nospread for unscoping every time?
hi, I created amateur mode.... so far I did rideable plane that can bombard, invisbility mode, shields, rideable tanks, teleports............... - What I want: This is just a mod (extra IWDs) - I don't want a mod Can anyone, who know how to inject, tell me if it possible to inject simple...
im interested in drawing a replica of minimap/radar of cod4 somewhere else on screen. ideally an overlay. so i would like to get some advice about what methods i should use to get it done. here is an illustration of what im planning to do ( photoshop :P)
hi, i tried to draw a new monitor with RenderScene and a new RefDef but CoD crashes @ 0x005FAF5A D946 18 FLD DWORD PTR DS:. Then i called RenderScene with the current refdef from 0x797600 but CoD crashes again, now @ 0x63487C 8B04FD E44058D MOV EAX,DWORD PTR DS:). Why it crashes all the time?...
i used it before a while ago just found today the function in my base, may it can help someone lerpBase can be found inside 'PlayerAngles' typedef struct { char z_crap; int lerpBase;// result = *(_DWORD *)(v7 + 180); char z_crap2; }centity_t;//0x0084F2D8 - size...
vec3_t trDelta; float CG_PING=(PlayerSnap->ping)/50; VectorSubtract(cent->lerpOrigin_3, cent->lerpOrigin_2, trDelta); VectorMA(aimpoint,CG_PING,trDelta, aimpoint); thanks to DrunkenCheater for the awesome tool. i used olly/ida before please ignore the...
Ello all! Well,i've just started to work on cod2 hack.I got esp and radar for now,but i have small problem with my esp.It keeps moving all around the player.At cod4,i've used Tamimego's functions,but in cod2 im totaly lost :( Thanks in advanced for anykind of help! Pike.
*(int *)0xCBA7404 |= 1; almost 1 line ok hire is how i found it if ( v12 & 0x40 ) return sub_4FCBC0(16, "%s is read only.\n", *(_DWORD *)_EDI); if ( v12 & 0x10 ) return sub_4FCBC0(16, "%s is write protected.\n", *(_DWORD *)_EDI); if ( a6 == 1 && (_BYTE)v12 < 0 && !*(_BYTE...
Alright, So I've been doing some lurking around these forums, have been working on hacking COD4 for a while, and finally have enough questions to warrant making a topic. I'm doing everything through C#, so I'm only using readprocessmemory and writeprocessmemory, and not injecting anything. I'm...
I cant seem to get my mouse GUI to work... I am just trying to make so that if i click on the Chams then it must activate and PrintText... Here is code: if (IsMouse(50,66,30,20) && GetAsyncKeyState(VK_LBUTTON) && chamzorzs==true)//Chams { PrintText(m_font1, 50,66, 255, 255, 255,...
Media_t * Media = (Media_t *) 0xA8DAA8; typedef struct{ qhandle_t white; qhandle_t boutom; /*...*/ }Media_t;//size:0x2C( 44 )
I used it its good but the game keeps diconnecting and tell me Pb kicked me for 0 Mints and memory or file corupted how can i fix this .?!?! ama just asking af someone knows how to fix this .... Thx in advance
So, I was just playing some COD4, and there was a guy on who wasn't walling or aiming (as far as I can see), instead, he was impossible to kill. He was on one of the mounted machine guns, and I shot him 5 times in the head and the server registered no damage. Several other team-mates unloaded...
dunno me was boring lol cod4 1.7 void __cdecl CG_R_PlayerWallhack() { HANDLE CurrentP = GetCurrentProcess(); DWORD CG_PLAYER = 0x00445480;//Addresse Inside 0x445370
0000DEA9 68 F8216C00 PUSH 6C21F8 ; "Multiplayer for extra bullet penetration" 0000DEAE 8950 08 MOV DWORD PTR DS:,EDX 0000DEB1 8948 0C MOV DWORD PTR DS:,ECX 0000DEB4 68 80000000 PUSH 80 0000DEB9 6A 01 PUSH 1 0000DEBB B8 20226C00 MOV...
There are currently 1 users browsing this forum. (0 members & 1 guests)
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules