Results 1 to 8 of 8
  1. #1
    GEHhgerhgerhgerhrhr's Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    675
    Reputation
    107
    Thanks
    11,410
    My Mood
    Angelic

    Post Chams with Model Name

     
    DWORD dwEBX = NULL;

    HRESULT WINAPI new_DrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
    {
    _asm mov dwEBX, ebx;

    // If you want to find this function (caller) again, do this:
    // F7 40 04 00 00 00 10

    BYTE* pReturnAddressBytes = (BYTE*) _ReturnAddress();

    pReturnAddressBytes -= 0x2F;

    if(
    pReturnAddressBytes[0] == 0xC1 &&
    pReturnAddressBytes[1] == 0xE8 &&
    pReturnAddressBytes[2] == 0x1F)
    {
    _asm push eax;
    _asm mov eax, dwEBX;
    _asm mov eax, [eax];
    _asm mov dwEBX, eax;
    _asm pop eax;

    char* modelName = (char*)(dwEBX + 0x14);

    if(GetAsyncKeyState(VK_F3) != 0)
    {
    gApp.AddToLogFileA("obj.log", "%s (0x%X)", (char*)(dwEBX + 0x14), ((DWORD)_ReturnAddress() - (DWORD)GetModuleHandle(NULL)));
    }

    if(gLiveMenu.esp_chams->Boolean())
    {
    if(
    _strnicmp(modelName, "Hero_", 5) == 0 || // Player Models
    _strnicmp(modelName, "Gear_", 5) == 0 || // Gear (backpacks, etc)
    _strnicmp(modelName, "HGEAR_", 6) == 0 || // Headgear (masks, helmets, etc)
    _strnicmp(modelName, "HEADHELMET", 10) == 0 || // Helmet
    _strnicmp(modelName, "ARMOR_", 6) == 0 || // Armor
    _strnicmp(modelName, "Head_", 5) == 0 || // Head stuff
    _strnicmp(modelName, "Mask_", 5) == 0 || // Mask (again?)
    _strnicmp(modelName, "UpperBody_", 10) == 0 || // Shirts and crap
    _strnicmp(modelName, "LowerBody_", 10) == 0 // Pants and crap
    )
    {
    // Player!
    }
    else if(_strnicmp(modelName, "Zombie_", 7) == 0) // Zombies (Zombie_ and zombie_)
    {
    //Zombie!
    }
    else if(
    _strnicmp(modelName, "SHG_", 4) == 0 || // Shotguns (again??)
    _strnicmp(modelName, "SMG_", 4) == 0 || // Submachine Guns
    _strnicmp(modelName, "MG_", 3) == 0 || // Machine Guns
    _strnicmp(modelName, "ASR_", 4) == 0 || // Assault Rifles
    _strnicmp(modelName, "SNP_", 4) == 0 || // Sniper Rifles
    _strnicmp(modelName, "EXP_", 4) == 0 || // Explosives
    _strnicmp(modelName, "Consumables_", 12) == 0 || // Consumables
    _strnicmp(modelName, "Item_", 5) == 0 || // Items (Item_ and item_)
    _strnicmp(modelName, "MEL_", 4) == 0 || // Melee
    _strnicmp(modelName, "HG_", 3) == 0 || // Hand Guns
    _strnicmp(modelName, "SUP_", 4) == 0 || // Suppressors
    _strnicmp(modelName, "Loot_", 5) == 0 || // Loot
    _strnicmp(modelName, "ATTM_", 5) == 0 // Attachments
    )
    {
    //Items!
    }
    }
    }

    return gOrig.DrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
    }


    You can just hold down F3 to log more model names


  2. #2
    braga1918's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    onde devo colocar isso?
    em qual arquivo devo colocar?

  3. #3
    yourout's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    In a box
    Posts
    385
    Reputation
    10
    Thanks
    135
    My Mood
    Inspired
    Thanks, trying to make my own beginner hack and I will include these


    Thank me if I help. Please?

  4. #4
    drblowfish's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    272
    My Mood
    Aggressive
    This is from Elitecoders... Please give proper credits.

    ---------- Post added at 12:15 PM ---------- Previous post was at 12:12 PM ----------

    Unknown Cheats*

  5. #5
    drblowfish's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    272
    My Mood
    Aggressive
    Why was Farah Banned? and credits were never added.

  6. #6
    turnloy's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    114
    Reputation
    10
    Thanks
    77
    My Mood
    Daring
    she leaches hacks from ppl and other sites

  7. #7
    drblowfish's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    272
    My Mood
    Aggressive
    BUt she adds credits, so isn't that ok? Unless the developer specifically states not to share?

  8. #8
    SicoSicool's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    it not working it say "Renderer is not valid, the game has probably been updated

Similar Threads

  1. [Release] All Models (Listed with Map Name)
    By Jorndel in forum Call of Duty Modern Warfare 2 Server / GSC Modding
    Replies: 6
    Last Post: 07-05-2011, 01:41 PM
  2. rez chams with enemy names
    By wisebommerr in forum Combat Arms Mod Request
    Replies: 7
    Last Post: 11-01-2010, 04:49 AM
  3. Replies: 7
    Last Post: 05-31-2009, 03:01 PM
  4. need help with gm name and name spoof
    By kill3r4lyf in forum Combat Arms Hacks & Cheats
    Replies: 13
    Last Post: 08-18-2008, 02:56 AM
  5. need one chams with work after update
    By gabiruskt in forum Combat Arms Hacks & Cheats
    Replies: 6
    Last Post: 08-07-2008, 02:04 PM