Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > First-Person Shooters > Call of Duty Series > Call of Duty 5: World at War

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Call of Duty 5: World at War
hacks cheats tutorials downloads source code
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

cod5 1.6 Engine
Old 10-26-2009, 01:50 PM   #1
Known as King-Orgy.

Heim Werker's Avatar

Join Date: Dec 2007
Location: Deutsches Reich
Posts: 1,020
Reputation: 60587
Rep Power: 676
Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!Heim Werker has a huge epeen!
Snake Champion Troll Rampage Champion Pathfinder Champion Electric Soldier Porygon Champion 2 Ball Pool Champion Boris The Bandit Champion Armless Invaders Champion All Ball Champion
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 39,968, Level: 30
Points: 39,968, Level: 30 Points: 39,968, Level: 30 Points: 39,968, Level: 30
Activity: 10.0%
Activity: 10.0% Activity: 10.0% Activity: 10.0%
Last Achievements
cod5 1.6 Engine

Code:
typedef enum { 
    TEAM_FREE, 
    TEAM_AXIS, 
    TEAM_ALLIES, 
    TEAM_SPECTATOR 
} team_t;

typedef enum {
    ET_GENERAL,//0
    ET_PLAYER,//1
    ET_PLAYER_CORPSE,//2
    ET_ITEM,//3
    ET_MISSILE,//4
    ET_INVISIBLE,//5
    ET_SCRIPTMOVER,//6
    ET_SOUND_BLEND,//7
    ET_FX,//8
    ET_LOOP_FX,//9
    ET_PRIMARY_LIGHT,//10
    ET_MG42,//11
    ET_HELICOPTER,//12
    ET_PLANE,//13
    ET_VEHICLE,//14
    ET_VEHICLE_COLLMAP,//15
    ET_VEHICLE_CORPSE,//16
    ET_ACTOR,//17
    ET_ACTOR_SPAWNER,//18
    ET_ACTOR_CORPSE,//19
    ET_TEAM,//20
    ET_EVENTS
} entityType_t;

/*SUB EAX,DWORD PTR DS:[9E2AA0]*/
static int                *cg_time            = (int *)                0x9E2AA0;

typedef struct {
    int zcrap[0x128];
    float glyphScale;
    char name[50];
} fontInfo_t;

typedef enum {
    qfalse, qtrue
} qboolean;

typedef unsigned char byte;

typedef struct{
    qhandle_t white;
    qhandle_t boutom;
    /*...*/
}Media_t;//size:0x2C( 44 ) 

extern Media_t *        Media;

typedef struct{
    void* smallDefFont;
    void* bigDefFont;
    /*...*/
}Font_t;//size:0x4F( 79 ) 

extern Font_t *        Fonts;

typedef enum {
    CA_UNINITIALIZED,
    CA_DISCONNECTED,     
    CA_AUTHORIZING,         
    CA_CONNECTING,    
    CA_CHALLENGING,        
    CA_CONNECTED,    
    CA_LOADING,        
    CA_PRIMED,            
    CA_ACTIVE,        
    CA_CINEMATIC    
} connstate_t;

typedef struct {
    connstate_t    state;                
    
    qboolean    InServer;
    
    char        servername[256];    
    
    qboolean    rendererStarted;
    qboolean    soundStarted;
    qboolean    soundRegistered;
    qboolean    uiStarted;
    qboolean    cgameStarted;
    /*...*/
} clientStatic_t;//size:0x304978(3164536)

extern    clientStatic_t    *    cls;

typedef struct {
    int            x, y, Width, Height;
    float        fov_x, fov_y;
    float       Total_fov;

    vec3_t        vieworg;

    char        z_crap[4];

    vec3_t        viewaxis[3];
    
    char        z_crap_2[17044];

    vec3_t        refdefViewAngles;
} refdef_t;//size:0x50(80)


extern    refdef_t    *    ref;

typedef struct{    
    char   z_crap[32];
}dog_t;//Size:0x100*8(256*8)

extern dog_t *        dog;

typedef struct {

    char        z_crap[16];
    float        fraction;    
    char        z_crap_2[110];
    int         surfaceFlags;    
} r_trace_t;


typedef struct {
    char* Name;
} weaponInfo_t;

extern    weaponInfo_t    *    wp_info;

typedef struct{
    char   z_crap[8];
    int    ping;
    int    NewTime;    
    int    OldTime;
    int    DeadNum;
    int    RunTime;
    int    State;
    int    UsingState;
    int    MenuNum;
    int    JumpTime;
    float  MapState_X;
    float  MapState_Y;
    float  MapState_Z;
    char   z_crap_2[176];
    int    AnimationTime;
    int    AnimationTime_2;
    int    ClientNum;
}PlayerSnap_t;  

extern PlayerSnap_t *        PlayerSnap;

typedef struct{
    int InfoValid; 
    char z_crap[4];
    int  ClientNum;
    char name[32]; 
    int  team; 
    char z_crap2[1324];
}clientinfo_t; //size: 0x55C(1372)

extern clientinfo_t *        clientInfo;

typedef struct entityState_s {
    char    z_crap[152];
    int        otherEntityNum;    //a1+152
    int        otherEntityNum2;//a1+156
    int        groundEntityNum;//a1+160
    char    z_crap_2[24];
    int        event;//a1+188
    int     eventParm;//a1+192
} entityState_t;



typedef struct{
    char     z_crap[204];
    entityState_t current;
}centity_t;

typedef struct{    
    int         clientNum;
    qboolean    demoPlayback;

    /*...*/
}cg_t;//Size:0xFDDC0(1039808)

extern cg_t *        cg;

typedef struct
{
    
    char            zcrap1[8];  
    
    int             vidWidth;    
    int             vidHeight;    
    
    int             unknow;
    
    int             serverCommandSequence;    
    int             processedSnapshotNum;    
    qboolean        localServer;    
    
    char            zcrap2[3];  
    
    char            GameMode[4];    
    
    char            zcrap3[28];  
    
    char            ServerName[16];    
    
    char            zcrap4[236];  
    
    int                maxclients;
    char            mapname[64];  
    
    int             timeStartRound;  
    char            unknown392[38]; 
    int             TimeLimit;  
    int             VoteTime;  
    int             YesVote;  
    int             NoVote;  
    char            voteString[256];  
    int             levelStartTime;   

    /*...*/    
}cgs_t;//Size:0x45C0(17856)

extern cgs_t *        cgs;


typedef struct
{
    short UNKNOW; 
    short active; 
    short j_spine4; 
    short j_helmet;
    short j_head; 
    short UNKNOW_2; 
    short allies; 
    short axis; 
    short bad_path; 
    short begin_firing; 
    short cancel_location; 
    short confirm_location;
    short crouch; 
    short current; 
    short damage; 
    short dead; 
    short death;
    short detonate;
    short direct;
    short dlight; 
    short done; 
    short empty;
    short end_firing;
    short entity; 
    short explode; 
    short failed; 
    short fraction; 
    short free; 
    short goal; 
    short goal_changed; 
    short goal_yaw; 
    short grenade; 
    short grenade_danger; 
    short grenade_fire;
    short grenade_pullback; 
    short info_notnull;
    short invisible; 
    short key1; 
    short key2; 
    short killanimscript; 
    short left; 
    short light; 
    short movedone; 
    short noclass; 
    short none; 
    short normal; 
    char  z_crap[4];
    short projectile_impact; 
    short prone; 
    short right; 
    short reload; 
    short reload_start; 
    short rocket;
    short rotatedone;
    short script_brushmodel; 
    short script_model;
    short script_origin; 
    short snd_enveffectsprio_level;
    short snd_enveffectsprio_shellshock; 
    short snd_channelvolprio_holdbreath; 
    short snd_channelvolprio_pain; 
    short snd_channelvolprio_shellshock; 
    short stand; 
    short suppression; 
    short suppression_end; 
    short surfacetype; 
    short tag_aim; 
    short tag_aim_animated; 
    short tag_brass; 
    short tag_butt; 
    short tag_clip; 
    short tag_flash; 
    short tag_flash_11; 
    short tag_flash_2; 
    short tag_flash_22; 
    short tag_flash_3; 
    short tag_fx; 
    short tag_inhand;
    short tag_knife_attach;
    short tag_knife_fx; 
    short tag_laser; 
    short tag_origin; 
    short tag_weapon;
    short tag_player; 
    short tag_camera; 
    short tag_weapon_right; 
    short tag_gasmask; 
    short tag_gasmask2; 
    short tag_sync; 
    short target_script_trigger;
    short tempEntity; 
    short UNKNOW_3; 
    short touch; 
    short trigger; 
    short trigger_use; 
    short trigger_use_touch; 
    short trigger_damage; 
    short trigger_lookat;
    short truck_cam; 
    short weapon_change; 
    short weapon_fired; 
    short worldspawn; 
    short flashbang; 
    short flash; 
    short smoke; 
    short night_vision_on; 
    short night_vision_off; 
    short MOD_UNKNOWN; 
    short MOD_PISTOL_BULLET;
    short MOD_RIFLE_BULLET;
    short MOD_GRENADE;
    short MOD_GRENADE_SPLASH; 
    short MOD_PROJECTILE; 
    short MOD_PROJECTILE_SPLASH; 
    short MOD_MELEE; 
    short MOD_HEAD_SHOT;
    short MOD_CRUSH; 
    short MOD_TELEFRAG; 
    short MOD_FALLING; 
    short MOD_SUICIDE; 
    short MOD_TRIGGER_HURT;
    short MOD_EXPLOSIVE;
    short MOD_IMPACT; 
    short script_vehicle; 
    short script_vehicle_collision; 
    short script_vehicle_collmap; 
    short script_vehicle_corpse; 
    short turret_fire; 
    short turret_on_target; 
    short turret_not_on_target;
    short turret_on_vistarget; 
    short turret_no_vis; 
    short turret_rotate_stopped; 
    short turret_deactivate; 
    short turretstatechange; 
    short turretownerchange; 
    short reached_end_node; 
    short reached_wait_node; 
    short reached_wait_speed;
    short near_goal; 
    short veh_collision; 
    short veh_predictedcollision; 
    short auto_change; 
    short back_low; 
    short back_mid; 
    short back_up; 
    short begin; 
    short call_vote;
    short freelook;
    short head; 
    short intermission; 
    short j_head2; 
    short manual_change; 
    short menuresponse; 
    short neck;
    short pelvis; 
    short pistol; 
    short plane_waypoint; 
    short playing; 
    short spectator; 
    short vote; 
    short sprint_begin; 
    short sprint_end; 
    short tag_driver; 
    short tag_passenger;
    short tag_gunner; 
    short tag_wheel_front_left; 
    short tag_wheel_front_right; 
    short tag_wheel_back_left; 
    short tag_wheel_back_right; 
    short tag_wheel_middle_left; 
    short tag_wheel_middle_righ; 
    short tag_detach; 
    short tag_popout; 
    short tag_body; 
    short tag_turret; 
    short tag_turret_base; 
    short tag_barrel; 
    short tag_engine_left; 
    short tag_engine_right; 
    short front_left; 
    short front_right; 
    short back_left; 
    short back_right; 
    short tag_gunner_pov; 
    
}RE_Tags_t;//0x221A910  size:174(DEZ.372) 


extern RE_Tags_t *        RegisterTag;


//Dvars Structs
typedef struct 
{
    const char*    value;
} thirdperson_t;

extern thirdperson_t * Thirdperson;

typedef struct {
    const char*    value;
} fx_t;

extern fx_t * fx_fr;

typedef struct {
    const char*    value;
} fullbright_t;

extern fullbright_t * fullbright;

typedef struct {
    const char*    value;
} colormap_t;

extern colormap_t * colormap;

typedef struct {
    const char*    value;
} fog_t;

extern fog_t * fog;
Code:
Media_t        *        Media             = (Media_t *) 0xA8DAA8;
Font_t         *        Fonts             = (Font_t *)  0xF337440;

clientStatic_t *        cls                = (clientStatic_t *) 0xBD3510;
refdef_t       *           ref                = (refdef_t *)0x9E676C;
weaponInfo_t   *        wp_info            = (weaponInfo_t *)0x8EF798;
PlayerSnap_t   *        PlayerSnap        = (PlayerSnap_t *)0x98FD04;
clientinfo_t   *        clientInfo        = (clientinfo_t *)0xA76764;
cg_t           *         cg                 = (cg_t *)0x98FCE0;
centity_t   *         cg_entities        = (centity_t *)0xA90930;
RE_Tags_t        *        RegisterTag        = (RE_Tags_t *)0x221A910;
cgs_t            *        cgs                = (cgs_t *)0x98B700;

//Game Dvars
thirdperson_t * Thirdperson                = (thirdperson_t*)0x9267FC;
fx_t * fx_fr                            = (fx_t*)0x1EB3FB4;
fullbright_t * fullbright                = (fullbright_t*)0x10F399D0;
colormap_t * colormap                    = (colormap_t*)0x10F39B44;
fog_t * fog                                = (fog_t*)0x10F39C3C;
Code:
void _cdecl cEngine_t::RegisterTags( )
{

//Register your tags hire    

    #ifdef COD5BOT_DEBUG
    LOG.Log ( "[DEBUG_LOG]  cEngine_t::RegisterTags( )","Hooked");
    #endif

    ENGINE.orig_RegisterTags( );
}    
void _cdecl cEngine_t::ClientFrame(  )
{    

//Draw your rendering Functions
    
    #ifdef COD5BOT_DEBUG
    LOG.Log ( "[DEBUG_LOG] cEngine_t::ClientFrame( )","Hooked");
    #endif


    ENGINE.orig_ClientFrame( );
}


void _cdecl cEngine_t::ShoutDown( )
{
    void *    clDo            = NULL;
    __asm mov clDo, eax

//Do detourRemoves hire or save your lates configs
    
    #ifdef COD5BOT_DEBUG
    LOG.Log ( "[DEBUG_LOG]  cEngine_t::ShoutDown( )","Hooked");
    #endif

    __asm mov eax, clDo 
    ENGINE.orig_ShoutDown( );
}    
void _cdecl cEngine_t::CG_Init( int serverMessageNum, int serverCommandSequence, int clientNum, int unk )
{
    //Register your shaders hire
    #ifdef COD5BOT_DEBUG
    LOG.Log ( "[DEBUG_LOG]  cEngine_t::CG_Init( int serverMessageNum, int serverCommandSequence, int clientNum, int unk)","Hooked");
    #endif

    ENGINE.orig_CG_Init( serverMessageNum, serverCommandSequence, clientNum, unk  );
}    
void _cdecl cEngine_t::CL_Init(  )
{
    
//Register your fonts hire

#ifdef COD5BOT_DEBUG
    LOG.Log ( "[DEBUG_LOG]  cEngine_t::CL_Init(  ), "Hooked";
    #endif

    ENGINE.orig_CL_Init(  );
}    
void _cdecl cEngine_t::CG_FireWeaponRecoil( int a1, int a2, signed int a3, __int16 a4, unsigned int a5, int a6 )
{    
    
//do a sound or what ever
#ifdef COD5BOT_DEBUG
    LOG.Log ( "[DEBUG_LOG] cEngine_t::CG_FireWeaponRecoil( int a1, int a2, signed int a3, __int16 a4, unsigned int a5, int a6 )","Hooked");
    #endif
}

DWORD WINAPI cEngine_t::HooK( LPVOID )
{    
    aERROR.EnableHandler( );

    if( ENGINE.isOn == 1 )
    {
        DetourFunction( ( PBYTE )0x592140, ( PBYTE )&ENGINE.CL_Init );
        __asm MOV [ ENGINE.orig_CL_Init ], EAX;
        
        DetourFunction( ( PBYTE )0x457A30, ( PBYTE )&ENGINE.CG_Init );
        __asm MOV [ ENGINE.orig_CG_Init ], EAX;

        DetourFunction( ( PBYTE )0x548D30, ( PBYTE )&ENGINE.RegisterTags );
        __asm MOV [ ENGINE.orig_RegisterTags ], EAX;

        DetourFunction( ( PBYTE )0x43A550, ( PBYTE )&ENGINE.ClientFrame );
        __asm MOV [ ENGINE.orig_ClientFrame ], EAX;
    
        DetourFunction( ( PBYTE )0x4807A0, ( PBYTE )&ENGINE.CG_FireWeaponRecoil );

        DetourFunction( ( PBYTE )0x44B390, ( PBYTE )&Obituary.CG_Obituary );
        __asm MOV [ Obituary.orig_CG_Obituary ], EAX;
        
        DetourFunction( ( PBYTE )0x49D150, ( PBYTE )&ENGINE.ShoutDown );
        __asm MOV [ ENGINE.orig_ShoutDown ], EAX;

        LOG.Log ( "HooK","is: Enable" );
    }
    else
    {   
        LOG.Log ( "HooK","is: Disable" );
    }


    return 0;
}
others

Code:
int *cursorX                = (int*)0xF4997EC;
int *cursorY                = (int*)0xF4997F0;
/*
mov     dword_F4997EC, ecx
mov     dword_F4997F0, edx
*/

//Enable mouse
    *(int *)0xF44784 |= 22;
Credits:kanavel,gamedeception.net,ida,q3 sdk's
__________________

Orly:



to bad i always save my chat logs


Last edited by Heim Werker; 10-26-2009 at 01:56 PM.
Heim Werker is offline

Reply With Quote


Old 10-26-2009, 03:33 PM   #2
:3 1337 :3

Wieter20's Avatar

Join Date: Nov 2008
Location: The Netherlands
Posts: 979
Reputation: 14563
Rep Power: 204
Wieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server spaceWieter20 's rep takes up 1 gig of server space
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (1)
Points: 13,900, Level: 15
Points: 13,900, Level: 15 Points: 13,900, Level: 15 Points: 13,900, Level: 15
Activity: 1.2%
Activity: 1.2% Activity: 1.2% Activity: 1.2%
Last Achievements
another great release man +reputation
__________________
hai
Wieter20 is offline

Reply With Quote

Old 10-26-2009, 07:35 PM   #3
Level 3

ReconProHacker's Avatar

Join Date: Jan 2008
Location: United States
Posts: 355
Reputation: 5528
Rep Power: 112
ReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATSReconProHacker DEFINES UNKNOWNCHEATS
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (3)
Points: 6,878, Level: 9
Points: 6,878, Level: 9 Points: 6,878, Level: 9 Points: 6,878, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
absolutely, good time saver thanks alot +rep
__________________
ReconProHacker is offline

Reply With Quote

Old 10-27-2009, 11:39 AM   #4
Supreme G0d

d1gitalSLR's Avatar

Join Date: Sep 2008
Posts: 377
Reputation: 3457
Rep Power: 82
d1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating communityd1gitalSLR is a legend in the cheating community
Points: 6,105, Level: 8
Points: 6,105, Level: 8 Points: 6,105, Level: 8 Points: 6,105, Level: 8
Activity: 1.1%
Activity: 1.1% Activity: 1.1% Activity: 1.1%
Last Achievements
Good Job Orgy!
d1gitalSLR is offline

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
cod5, engine
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 02:37 AM.