1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Steam MW3 Adressthread

Discussion in 'Adressen & Offsets' started by Cre3per, Apr 3, 2014.

  1. Cre3per

    Cre3per Member

    Joined:
    Oct 22, 2012
    Messages:
    764
    Likes Received:
    2
    Nur teilweise im Multiplayer getestet. Es sollte aber das meiste bis alles funktionieren
    Code:
    ​DWORD HostPlayers_Base = 0x1D0BBCC;
    DWORD HostPlayers_Size = 0x38EC;
    class offsets_HostPlayers
    {
    public:
    	DWORD PlayingMode = 0x00;
    	DWORD IsDead = 0x10;
    	DWORD Score = 0x18;
    	DWORD Death = 0x1C;
    	DWORD Kills = 0x20;
    	DWORD Assists = 0x24;
    	DWORD Lagg = 0x2C; //2 = None
    	DWORD Valid = 0xC0;
    	DWORD Name = 0x104;
    	DWORD Level = 0x118;
    	DWORD Prestige = 0x11C;
    	DWORD UAV = 0x170;
    	DWORD PrimaryEquipmentIcon = 0x184;
    	DWORD SecondaryEquipmentIcon = 0x188;
    	DWORD SecretKillstreakIcon = 0x194;
    	DWORD Clippingmode = 0x2C0;
    	DWORD AttackPlayer = 0x2F0;
    	DWORD ForceProne = 0x5BC;
    	DWORD DisplayText = 0x5D8;
    	DWORD DisplayText2 = 0x5DC;
    }HostPlayers_Offsets;
     
  2. AimBRoT

    AimBRoT Member

    Joined:
    Aug 1, 2012
    Messages:
    604
    Likes Received:
    0
    Was isn "DisplayText"?
     
  3. Cre3per

    Cre3per Member

    Joined:
    Oct 22, 2012
    Messages:
    764
    Likes Received:
    2
    Dann steht da "Press and Hold F do move the turret" und so ein Kram
     
  4. AimBRoT

    AimBRoT Member

    Joined:
    Aug 1, 2012
    Messages:
    604
    Likes Received:
    0
    Wenn das für jeden Spieler gilt, könntest Du damit z.b. immer "Keller-Elite.com" hinschreiben oder?
     
  5. Cre3per

    Cre3per Member

    Joined:
    Oct 22, 2012
    Messages:
    764
    Likes Received:
    2
    Ich denke, dass der Text der angezeigt wird clientside ist. Sonst wäre der ja bei jedem in der gleichen Sprache und so
     
  6. Cre3per

    Cre3per Member

    Joined:
    Oct 22, 2012
    Messages:
    764
    Likes Received:
    2
    Code:
    ​DWORD HostPlayers2_Base = 0x1D087B4;
    DWORD HostPlayers2_Size = 0x38EC;
    class offsets_HostPlayers2
    {
    public:
    	DWORD Origin = 0x128;
    	//Player Weapons and Equipment
    	DWORD Weapon_Secondary_ID_0 = 0x380;	//Secondary
    	DWORD Equipment_Lethal_ID_0 = 0x384;	//Lethal
    	DWORD Weapon_Primary_ID_0	= 0x388;	//Primary
    	DWORD Equipment_Tactical_ID_0 = 0x38C;	//Tactical
    	DWORD Weapon_Secondary_ID_1 = 0x4A0;	//Secondary
    	DWORD Weapon_Secondary_Ammo_Reload = 0x4A4;
    	DWORD Equipment_Lethal_ID_1 = 0x4A8;	//Lethal
    	DWORD Weapon_Primary_ID_1 = 0x4B0;		//Primary
    	DWORD Weapon_Primary_Ammo_Reload = 0x4B4;
    	DWORD Equipment_Tactical_ID_1 = 0x4B8;	//Tactical
    	DWORD Weapon_Secondary_ID_2 = 0x518;	//Secondary
    	DWORD Weapon_Secondary_Ammo_Active = 0x51C;
    	DWORD Equipment_Lethal_ID_2 = 0x524;	//Lethal
    	DWORD Equipment_Lethal_Ammo = 0x528;
    	DWORD Weapon_Primary_ID_2 = 0x530;		//Primary
    	DWORD Weapon_Primary_Ammo_Active = 0x534;
    	DWORD Equipment_Tactical_ID_2 = 0x53C;	//Tactical
    	DWORD Equipment_Tactical_Ammo = 0x540;
    	//Other Vars
    	DWORD Movementspeed = 0x34C8;
    	DWORD Team = 0x34DC;
    }HostPlayers2_Offsets;
     
  7. Cre3per

    Cre3per Member

    Joined:
    Oct 22, 2012
    Messages:
    764
    Likes Received:
    2
    Dvar Dump

    Source
    Code:
    #define OFFS_DVAR_ARRAY 0x5AAD280
    #define DVAR_SIZE 0x4C
    #define GetDvarOffsByIndex(i) (OFFS_DVAR_ARRAY + DVAR_SIZE * i)
    
    void DumpDvars()
    {
    	std::string dvarDump = "";
    	std::stringstream ss;
    	for (int i = 0; i < 4096; i++)
    	{
    		DWORD dwDvar = GetDvarOffsByIndex(i);
    		if (dwDvar != 0x00)
    		{
    			DWORD dwName = 0x00;
    			dwName = *(DWORD*) dwDvar;
    			if (dwName != 0x00)
    			{
    				std::string name = Utils.ReadString(dwName, 256);
    				ss << "#define OFFS_" << name << " 0x" << std::hex << dwDvar << std::endl;
    			}
    		}
    	}
    	dvarDump = ss.str();
    
    	Utils.WriteFile("C:\\Users\\Lukas\\Documents\\Visual Studio 2013\\Projects\\2MW3 Internal\\Debug\\config\\dump.txt", dvarDump);
    }
    
     
  8. Cre3per

    Cre3per Member

    Joined:
    Oct 22, 2012
    Messages:
    764
    Likes Received:
    2
    Model Dump (Wahrscheinlich nicht vollständig, da noch nicht fertig reversed)

    Viel Spaß damit ;)
    [​IMG]