Page 1 of 8 123 ... LastLast
Results 1 to 15 of 117

Hybrid View

  1. #1
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic

    Modern Warfare 3 Source Code / Address Thread


    This thread will be where you can post all the addresses/offsets.


    READ:
    Before you post in this thread be aware of:
    Any posts that don't contain addresses/offsets will be DELETED
    Be sure that the addresses/offsets are working
    Try to post them as clean as possible (Don't post the address/offset in the middle of a text, make it easy found and the function)



    Posted by -InSaNe-
    Offsets for 1.4.382 (TeknoMW3)
    Code:
    Game Version.............1.4.382
    Version Build Date.......Thu Jan 19 2012 11:09:49AM
    No Recoil................0x0054F8F9
    Refdef...................0x0096A280
    CG.......................0x008FF100
    CGS......................0x008FABA0
    Entity...................0x00A08630
    Entity Size..............0x000001F8
    ClientInfo...............0x009FC748
    ClientInfo Size..........0x00000560
    Maxtrix..................0x010637BC
    PlayerSnap...............0x008FF100
    KButtons.................0x00B39EE0
    RenderDevice.............0x05F96FA8
    RegisterFont.............0x004FB960
    RegisterShader...........0x0041B6B0
    DrawEngineText...........0x0042C970
    DrawStretchPic...........0x004DF3C0
    DrawRotatedPic...........0x0042F420
    GetScreenMatrix..........0x004B6350
    StrWidth.................0x00431750
    ViewAngleX...............0x0106389C
    ViewAngleY...............0x01063898
    WeaponViewAngleX.........0x0096EDE8
    WeaponViewAngleY.........0x0096EDEC
    WritePacket..............0x00420AB0
    GetSnapshot..............0x004BD0A0
    Obituary.................0x0058D1D0
    DrawEngineRadar..........0x00476870
    OverlayPackage...........0x0054BD70
    OverlayEnemy.............0x004CD2B0
    OverlayFriendly..........0x004370C0
    OverlayTurret............0x00561BF0
    OverlayHeli..............0x004C3FB0
    OverlayLocal.............0x004FD740
    OverlayPlane.............0x0052A6C0
    Com_Error................0x004A2720
    Com_Notice...............0x0048C7D0
    MsgManager...............0x004A6660
    Zoom.....................0x010603B0
    Keys.....................0x00B3A390
    KeyCatcher...............0x06BD1CF8
    CG_Trace.................0x004FE440
    GetPlayerTag/GetBonePos..0x00571790
    RegisterTag..............0x004922E0
    Aim Assist...............0x00571790
    Refdef ViewAngles........0x0096EDAC
    GetWeaponName............0x00A042D4
    GetWeapon................0x008DDB50
    CG_Init..................0x00476FF0
    IsInGame.................0x008FF110
    Console..................0x004C1030
    IsVisible................0x0054E6D0
    Fonts....................0x004771C4
    KillIcons................0x004772C3
    Com_HashKey..............0x004235C0
    ServerCommandsSequence...0x00B5D4A4
    ServerCommands...........0x00B5D4AC
    UserCmd Input............0x010638A4
    UserCmd Size.............0x0000002C
    CurrentCmdNumberPtr......0x01064EA4
    CSnapshot................0x0106D77C
    Rank.....................0x0046C6C0    
    WorldToScreen............0x004E5FC0    
    GetCalc..................0x004B6350    
    Shader...................0x00A03E14
    Credits to CypherPresents, g0dly, King-Orgy, raiders, cardoow, poink, and master131.

    Last edited by MarkHC; 09-24-2012 at 10:26 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  2. The Following 11 Users Say Thank You to Jorndel For This Useful Post:

    baseball435 (10-20-2013),billy100 (06-29-2013),cucuYeL (03-11-2013),KlaKsyBack (11-24-2013),Lovroman (08-06-2013),marcd2 (04-29-2015),mwxplayer (01-31-2013),rangerkik (06-10-2013),rexxibabee (03-03-2013),Silent (06-16-2015),[EPiC] Rev (12-25-2013)

  3. #2
    mustafa96m's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed

    score:
    322c6214

    xp:
    01CDBA54


    wins:
    01CDBCC8

    Losses:

    322C7028

    Deaths:
    322C843C

    Kills:
    322c641c

    Kill Streak:


    Assistis:


    Win Streak:


    Ties:


    MORE coming soon

  4. #3
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    4D1 (IW5M) Addresses (Should be Correct)


     
    Level
    1CDBA54

    Prestige
    1CDBC64

    Tokens
    1CDDAC3


     
    Score
    1CDBC6C

    Wins
    1CDBCC8

    Losses
    1CDBCCC

    Ties
    1CDBCD0

    Kills
    1CDBC94

    Deaths
    1CDBC9C

    Assists
    1CDBCA4

    Killstreak
    1CDBC98

    Winstreak
    1CDBCD4

    Headshots
    1CDBCA8

    Barrack Play Time
    1CDBCB4
    Last edited by Jorndel; 08-18-2012 at 11:50 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  5. The Following User Says Thank You to Jorndel For This Useful Post:

    mustafa96m (08-19-2012)

  6. #4
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,750
    Reputation
    66
    Thanks
    14,530
    My Mood
    Angelic
    Some structs..
    Code:
    typedef struct
    {
    	char unknown0[12];
    	char Name[16];
    	__int32 Team;
    }ClientInfo_T;
    
    typedef struct
    {
    	char _0x0000[0x8];
    	int Width;
    	int Height;
    	int FovX;
    	int FovY;
    	Vector Origin;
    	Vector ViewAxis[3];
    	char _0x0048[0x24];
    	float ZoomProgress;
    	char _0x0070[0x4ABC]; 
    	Vector ViewAngles;
    	char _0x4B34[0x30];
    	float WeaponViewAngleX;
    	float WeaponViewAngleY;
    }RefDef_T;
    
    typedef struct
    {
    public:
           Vector Recoil;
           Vector vOrigin;
           Vector DeltaOrigin; 
           float ReadViewAngleY;
           float ReadViewAngleX;
           char _0x0070[108];
           float SetViewAngleY;
           float SetViewAngleX; 
    } ViewMatrix;
    
    typedef struct
    {
    	char _0x0000[0x2];                         
    	short Valid;                                   
    	char _0x0004[0x10];                        
    	Vector Origin;                                
    	Vector Angles;                              
    	char _0x002C[0x3C];                      
    	int Flags;                                  
    	char _0x006C[0xC];                          
    	Vector OldOrigin;                           
    	char _0x0084[0x18];                         
    	Vector OldAngles;                        
    	char _0x00A8[0x28];                     
    	int ClientNumber;                                 
    	short Type;                            
    	char _0x00D6[0x12];                          
            Vector NewOrigin;   
    	char _0x00F4[0x1C];                        
    	Vector NewAngles;                            
    	char _0x011C[0x7C];                      
    	byte WeaponID;                            
    	char _0x0199[0x37];                    
    	int IsAlive; 
    	char _0x01D4[0x24];
    }Entity_T; 
    
    typedef struct
    {
        int servertime; 
        int playerstate; 
        int staminatimer; 
        unsigned short playerstance;
        char _pad[10];
        int velocity; 
        Vector Origin;
        Vector Velocity;
        char _pad1[44];
        float refdefViewAngleY; 
        float refdefViewAngleX; 
        char _pad2[232];
        int ClientNumber; 
        char _pad3[4];
        float viewAngleY;
        float viewAngleX; 
        char _pad4[4];
        int   playerStanceInt; 
        float playerStanceFlt;
        char _pad5[80];
        int MaxEntities;
        char _pad6[432];
        int WeaponNum;
        unsigned short EquipmentState;
        unsigned short WeaponSwapState;
        float WeaponZoomFlt;
        float MovementSpreadMultiplier;
        char _pad7[4];
        float DefaultSpreadMultiplier;
        int  WeaponState;
        char _pad8[352];
        BYTE perkslot3;
        char _pad9[19];
    }CG_T;
    
    typedef struct
    {
    public:
    	__int32 Time;
    	char unknown0[512];
    	__int32 Uav;
    	char unknown1[384];
    	__int32 SpreadValue;
    }CGS_T;
    Last edited by MarkHC; 08-20-2012 at 02:35 AM.


    CoD Minion from 09/19/2012 to 01/10/2013

  7. The Following 4 Users Say Thank You to MarkHC For This Useful Post:

    cucuYeL (03-12-2013),Fawkes1234 (10-12-2012),Lovroman (11-24-2013),mwxplayer (11-07-2012)

  8. #5
    Fawkes1234's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by -InSaNe- View Post
    Some structs..
    Code:
    typedef struct
    {
    	char unknown0[12];
    	char Name[16];
    	__int32 Team;
    }ClientInfo_T;
    
    typedef struct
    {
    	char _0x0000[0x8];
    	int Width;
    	int Height;
    	int FovX;
    	int FovY;
    	Vector Origin;
    	Vector ViewAxis[3];
    	char _0x0048[0x24];
    	float ZoomProgress;
    	char _0x0070[0x4ABC]; 
    	Vector ViewAngles;
    	char _0x4B34[0x30];
    	float WeaponViewAngleX;
    	float WeaponViewAngleY;
    }RefDef_T;
    
    typedef struct
    {
    public:
           Vector Recoil;
           Vector vOrigin;
           Vector DeltaOrigin; 
           float ReadViewAngleY;
           float ReadViewAngleX;
           char _0x0070[108];
           float SetViewAngleY;
           float SetViewAngleX; 
    } ViewMatrix;
    
    typedef struct
    {
    	char _0x0000[0x2];                         
    	short Valid;                                   
    	char _0x0004[0x10];                        
    	Vector Origin;                                
    	Vector Angles;                              
    	char _0x002C[0x3C];                      
    	int Flags;                                  
    	char _0x006C[0xC];                          
    	Vector OldOrigin;                           
    	char _0x0084[0x18];                         
    	Vector OldAngles;                        
    	char _0x00A8[0x28];                     
    	int ClientNumber;                                 
    	short Type;                            
    	char _0x00D6[0x12];                          
            Vector NewOrigin;   
    	char _0x00F4[0x1C];                        
    	Vector NewAngles;                            
    	char _0x011C[0x7C];                      
    	byte WeaponID;                            
    	char _0x0199[0x37];                    
    	int IsAlive; 
    	char _0x01D4[0x24];
    }Entity_T; 
    
    typedef struct
    {
        int servertime; 
        int playerstate; 
        int staminatimer; 
        unsigned short playerstance;
        char _pad[10];
        int velocity; 
        Vector Origin;
        Vector Velocity;
        char _pad1[44];
        float refdefViewAngleY; 
        float refdefViewAngleX; 
        char _pad2[232];
        int ClientNumber; 
        char _pad3[4];
        float viewAngleY;
        float viewAngleX; 
        char _pad4[4];
        int   playerStanceInt; 
        float playerStanceFlt;
        char _pad5[80];
        int MaxEntities;
        char _pad6[432];
        int WeaponNum;
        unsigned short EquipmentState;
        unsigned short WeaponSwapState;
        float WeaponZoomFlt;
        float MovementSpreadMultiplier;
        char _pad7[4];
        float DefaultSpreadMultiplier;
        int  WeaponState;
        char _pad8[352];
        BYTE perkslot3;
        char _pad9[19];
    }CG_T;
    
    typedef struct
    {
    public:
    	__int32 Time;
    	char unknown0[512];
    	__int32 Uav;
    	char unknown1[384];
    	__int32 SpreadValue;
    }CGS_T;
    insane best man

  9. #6
    cucuYeL's Avatar
    Join Date
    Jun 2012
    Gender
    female
    Location
    En la revista
    Posts
    1,412
    Reputation
    272
    Thanks
    2,693
    Quote Originally Posted by -InSaNe- View Post
    Some structs..
    Code:
    typedef struct
    {
    	char unknown0[12];
    	char Name[16];
    	__int32 Team;
    }ClientInfo_T;
    
    typedef struct
    {
    	char _0x0000[0x8];
    	int Width;
    	int Height;
    	int FovX;
    	int FovY;
    	Vector Origin;
    	Vector ViewAxis[3];
    	char _0x0048[0x24];
    	float ZoomProgress;
    	char _0x0070[0x4ABC]; 
    	Vector ViewAngles;
    	char _0x4B34[0x30];
    	float WeaponViewAngleX;
    	float WeaponViewAngleY;
    }RefDef_T;
    
    typedef struct
    {
    public:
           Vector Recoil;
           Vector vOrigin;
           Vector DeltaOrigin; 
           float ReadViewAngleY;
           float ReadViewAngleX;
           char _0x0070[108];
           float SetViewAngleY;
           float SetViewAngleX; 
    } ViewMatrix;
    
    typedef struct
    {
    	char _0x0000[0x2];                         
    	short Valid;                                   
    	char _0x0004[0x10];                        
    	Vector Origin;                                
    	Vector Angles;                              
    	char _0x002C[0x3C];                      
    	int Flags;                                  
    	char _0x006C[0xC];                          
    	Vector OldOrigin;                           
    	char _0x0084[0x18];                         
    	Vector OldAngles;                        
    	char _0x00A8[0x28];                     
    	int ClientNumber;                                 
    	short Type;                            
    	char _0x00D6[0x12];                          
            Vector NewOrigin;   
    	char _0x00F4[0x1C];                        
    	Vector NewAngles;                            
    	char _0x011C[0x7C];                      
    	byte WeaponID;                            
    	char _0x0199[0x37];                    
    	int IsAlive; 
    	char _0x01D4[0x24];
    }Entity_T; 
    
    typedef struct
    {
        int servertime; 
        int playerstate; 
        int staminatimer; 
        unsigned short playerstance;
        char _pad[10];
        int velocity; 
        Vector Origin;
        Vector Velocity;
        char _pad1[44];
        float refdefViewAngleY; 
        float refdefViewAngleX; 
        char _pad2[232];
        int ClientNumber; 
        char _pad3[4];
        float viewAngleY;
        float viewAngleX; 
        char _pad4[4];
        int   playerStanceInt; 
        float playerStanceFlt;
        char _pad5[80];
        int MaxEntities;
        char _pad6[432];
        int WeaponNum;
        unsigned short EquipmentState;
        unsigned short WeaponSwapState;
        float WeaponZoomFlt;
        float MovementSpreadMultiplier;
        char _pad7[4];
        float DefaultSpreadMultiplier;
        int  WeaponState;
        char _pad8[352];
        BYTE perkslot3;
        char _pad9[19];
    }CG_T;
    
    typedef struct
    {
    public:
    	__int32 Time;
    	char unknown0[512];
    	__int32 Uav;
    	char unknown1[384];
    	__int32 SpreadValue;
    }CGS_T;
    Is this for Tekno or IW5M?

  10. #7
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    Quote Originally Posted by TheBossMan99 View Post
    Is this for Tekno or IW5M?
    Both. They are, after all, running on the same version.

  11. The Following User Says Thank You to Kenshin13 For This Useful Post:

    cucuYeL (03-12-2013)

  12. #8
    cucuYeL's Avatar
    Join Date
    Jun 2012
    Gender
    female
    Location
    En la revista
    Posts
    1,412
    Reputation
    272
    Thanks
    2,693
    Quote Originally Posted by Kenshin13 View Post
    Both. They are, after all, running on the same version.
    Though, if this is true, are the offsets in the OP for IW5M too?

  13. #9
    Genius4G's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    UK
    Posts
    38
    Reputation
    10
    Thanks
    564
    Quote Originally Posted by -InSaNe- View Post
    Some structs..
    Code:
    typedef struct
    {
    	char unknown0[12];
    	char Name[16];
    	__int32 Team;
    }ClientInfo_T;
    
    typedef struct
    {
    	char _0x0000[0x8];
    	int Width;
    	int Height;
    	int FovX;
    	int FovY;
    	Vector Origin;
    	Vector ViewAxis[3];
    	char _0x0048[0x24];
    	float ZoomProgress;
    	char _0x0070[0x4ABC]; 
    	Vector ViewAngles;
    	char _0x4B34[0x30];
    	float WeaponViewAngleX;
    	float WeaponViewAngleY;
    }RefDef_T;
    
    typedef struct
    {
    public:
           Vector Recoil;
           Vector vOrigin;
           Vector DeltaOrigin; 
           float ReadViewAngleY;
           float ReadViewAngleX;
           char _0x0070[108];
           float SetViewAngleY;
           float SetViewAngleX; 
    } ViewMatrix;
    
    typedef struct
    {
    	char _0x0000[0x2];                         
    	short Valid;                                   
    	char _0x0004[0x10];                        
    	Vector Origin;                                
    	Vector Angles;                              
    	char _0x002C[0x3C];                      
    	int Flags;                                  
    	char _0x006C[0xC];                          
    	Vector OldOrigin;                           
    	char _0x0084[0x18];                         
    	Vector OldAngles;                        
    	char _0x00A8[0x28];                     
    	int ClientNumber;                                 
    	short Type;                            
    	char _0x00D6[0x12];                          
            Vector NewOrigin;   
    	char _0x00F4[0x1C];                        
    	Vector NewAngles;                            
    	char _0x011C[0x7C];                      
    	byte WeaponID;                            
    	char _0x0199[0x37];                    
    	int IsAlive; 
    	char _0x01D4[0x24];
    }Entity_T; 
    
    typedef struct
    {
        int servertime; 
        int playerstate; 
        int staminatimer; 
        unsigned short playerstance;
        char _pad[10];
        int velocity; 
        Vector Origin;
        Vector Velocity;
        char _pad1[44];
        float refdefViewAngleY; 
        float refdefViewAngleX; 
        char _pad2[232];
        int ClientNumber; 
        char _pad3[4];
        float viewAngleY;
        float viewAngleX; 
        char _pad4[4];
        int   playerStanceInt; 
        float playerStanceFlt;
        char _pad5[80];
        int MaxEntities;
        char _pad6[432];
        int WeaponNum;
        unsigned short EquipmentState;
        unsigned short WeaponSwapState;
        float WeaponZoomFlt;
        float MovementSpreadMultiplier;
        char _pad7[4];
        float DefaultSpreadMultiplier;
        int  WeaponState;
        char _pad8[352];
        BYTE perkslot3;
        char _pad9[19];
    }CG_T;
    
    typedef struct
    {
    public:
    	__int32 Time;
    	char unknown0[512];
    	__int32 Uav;
    	char unknown1[384];
    	__int32 SpreadValue;
    }CGS_T;
    what is the offset for the vOrigin (vieworigin) for 1.4.382?

  14. #10
    殺す必要がある唯一のものは殺されるために準備され人 々である。
    Premium Member
    Hitokiri~'s Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Cancer.
    Posts
    1,201
    Reputation
    24
    Thanks
    937
    My Mood
    Bitchy
    Quote Originally Posted by Genius4G View Post
    what is the offset for the vOrigin (vieworigin) for 1.4.382?
    ...It's in the first post retard.

  15. #11
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,750
    Reputation
    66
    Thanks
    14,530
    My Mood
    Angelic
    Quote Originally Posted by Genius4G View Post
    what is the offset for the vOrigin (vieworigin) for 1.4.382?
    Refdef_t + 0x18, if I am not mistaken.

    Which would be 0x96A298.


    CoD Minion from 09/19/2012 to 01/10/2013

  16. #12
    Genius4G's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    UK
    Posts
    38
    Reputation
    10
    Thanks
    564
    Quote Originally Posted by -InSaNe- View Post


    Refdef_t + 0x18, if I am not mistaken.

    Which would be 0x96A298.
    thanks bro

  17. #13
    jakeman45's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    143
    Quote Originally Posted by Jorndel View Post
    4D1 (IW5M) Addresses (Should be Correct)


     
    Level
    1CDBA54

    Prestige
    1CDBC64

    Tokens
    1CDDAC3


     
    Score
    1CDBC6C

    Wins
    1CDBCC8

    Losses
    1CDBCCC

    Ties
    1CDBCD0

    Kills
    1CDBC94

    Deaths
    1CDBC9C

    Assists
    1CDBCA4

    Killstreak
    1CDBC98

    Winstreak
    1CDBCD4

    Headshots
    1CDBCA8

    Barrack Play Time
    1CDBCB4

    I have the title text address for IW5M.dat:

    Title Text: 01328D37
    Data Type: String[9]
    Value: (Anything you want)
    Credit: @jakeman45

  18. #14
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    Quote Originally Posted by jakeman45 View Post
    I have the title text address for IW5M.dat:

    Title Text: 01328D37
    Data Type: String[9]
    Value: (Anything you want)
    Credit: @jakeman45
    Really man? Like seriously..?
    Tell me if you spot a difference:
    Quote Originally Posted by xxcrusherxx View Post
    This is for iw5m, Edit: Also works for Tekno

    Code:
    Custom Title Text
    0x1328D34  /Activates blank FMG title - Must be done other wise the rest of these addresses wont work.
    0x1328D35  /Through
    0x1328D47  /Is where you add text
    0x1328D50  /Changes title - Flags start at { 0xD8, 0x01 } and ends at { 0xFF, 0x01 }
    0x1328D50  /Uses Flags - 0x01 only anything else turns title to checker board.
    
    ELITE CLAN
    0x1328D33 /Activates Clantag 
    0x1328D54 /Through
    0x1328D55 /
    0x1328D56 /
    0x1328D57 /Is where you add Text

  19. #15
    mwxplayer's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    hax
    Posts
    584
    Reputation
    10
    Thanks
    2,928
    My Mood
    Doh
    Quote Originally Posted by jakeman45 View Post
    I have the title text address for IW5M.dat:

    Title Text: 01328D37
    Data Type: String[9]
    Value: (Anything you want)
    Credit: @jakeman45
    stop posting other's work and saying you made it... credits : MassTumor

    ---------- Post added at 12:25 AM ---------- Previous post was at 12:24 AM ----------

    Quote Originally Posted by Kenshin13 View Post
    Don't judge me, I'm high.

    Code:
    char isVisible(Entity_t* ret, int* entityNum) //54E6D0
    {
      int *v4; // eax@1
      char result; // al@2
    
      v4 = &dword_9FC748[344 * *(_DWORD *)(entityNum+ 352)]; //Get the ClientInfo address for the entity passsed.
      if ( !*entityNum|| *((_BYTE *)entityNum+ 56) & 0x40 ) //Compare perk. if(SelectedClient->Perk & 0x40) return;
        result = 0;
      else
        result = sub_474000(ret, entityNum, (int)&unk_2807823) != 0; //Else, execute a trace using cEntity, EntityClientNum and the traceflag, here it's 0x2807823
      return result; //Then returns 1 if the Entity is visible.
    }
    Yea....I found this. Bite me.

    naked functions format
    Code:
    __declspec(naked) void hookname()
    {
    	__asm
    	{
    		do origional code
    		save stack
    	}
    	do hacks here
    	__asm
    	{
    		restore stack
    		jmp [returnaddress];
    	}
    }
    required function
    Code:
    void JumpTo( BYTE* pAddress, DWORD dwJumpTo, DWORD dwLen ) {
    	DWORD dwOldProtect, dwBkup, dwRelAddr;
    	VirtualProtect ( pAddress, dwLen, PAGE_EXECUTE_READWRITE, &dwOldProtect );
    	dwRelAddr = ( DWORD ) ( dwJumpTo - ( DWORD ) pAddress ) - 5;
    	*pAddress = 0xE9;
    	* ( ( DWORD * ) ( pAddress + 0x1 ) ) = dwRelAddr;
    	for ( DWORD x = 0x5; x < dwLen; x++ ) * ( pAddress + x ) = 0x90;
    	VirtualProtect ( pAddress, dwLen, dwOldProtect, &dwBkup );
    	return;
    }
    common functions
    Code:
    DWORD writepacket_rtn = 0x00420AB5, writepacket_OFFS = 0x00420AB5, hooksize_wpkt = 0x5;
    __declspec(naked) void writepacket_hook()
    {
    	__asm
    	{
    		mov eax,0x1058
    		pushad
    		pushfd
    	}
    	//Call code here
    	__asm
    	{
    		popfd
    		popad
    		jmp writepacket_rtn
    	}
    }
    
    DWORD obituary_rtn = 0x58D1D8, obituary_OFFS = 0x58D1D0, hooksize_obt = 0x8, version = 0x7E1218;
    __declspec(naked) void obituary_hook()
    {
    	__asm
    	{
    		sub esp,0x74
    		cmp eax,0xF0
    		fld ds:[version]
    		pushad
    		pushfd
    	}
    	//Call code here
    	__asm
    	{
    		popfd
    		popad
    		jmp obituary_rtn
    	}
    }
    In some thread:
    Code:
    JumpTo((PBYTE)obituary_OFFS, (DWORD)obituary_hook, hooksize_obt);
    pls need entity_t state..
    Last edited by Lovroman; 05-26-2014 at 02:04 PM.

  20. The Following User Says Thank You to mwxplayer For This Useful Post:

    Silent (07-06-2015)

Page 1 of 8 123 ... LastLast

Similar Threads

  1. Modern Warfare 3 Source Code / Address Thread
    By lolbie in forum Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 281
    Last Post: 11-06-2020, 12:53 AM
  2. CrossFire Hack Source Code Resource Thread
    By Hero in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 0
    Last Post: 07-04-2012, 01:58 AM
  3. [Info] Source Code Section Thread List
    By CoderNever in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 05-14-2012, 08:16 AM
  4. [Source Code] Battlefield 3 Hack Source Code / Reversal Thread
    By Helper in forum Battlefield 3 (BF3) Hacks & Cheats
    Replies: 7
    Last Post: 01-14-2012, 01:25 AM
  5. Buying blackops or modern warefare 3 or modern warfare 2 codes for steam
    By tavistavis in forum Buying Accounts/Keys/Items
    Replies: 4
    Last Post: 11-24-2011, 09:46 PM