WELCOME TO INFOCHEATS.NET

INFOCHEATS is a community-driven platform focused on free game cheats, cheat development, and verified commercial software for a wide range of popular games. We provide a large collection of free cheats shared by the community. All public releases are checked for malicious code to reduce the risk of viruses, malware, or unwanted software before users interact with them.

Alongside free content, INFOCHEATS hosts an active marketplace with many independent sellers offering commercial cheats. Each product is discussed openly, with user feedback, reviews, and real usage experience available to help you make informed decisions before purchasing.

Whether you are looking for free cheats, exploring paid solutions, comparing sellers, or studying how cheats are developed and tested, INFOCHEATS brings everything together in one place — transparently and community-driven.

Question External c++ knifechanger

Status
Not open for further replies.

godcrewl

Newbie
Newbie

godcrewl

Newbie
Newbie
Status
Offline
Joined
Jul 28, 2021
Messages
4
Reaction score
1
Hello guys, I have external skin changer, weapons skins are fine but knife is not changing which is in hand, icon on the right is changing but not in hand. Where could be the problem?
also I still get this in console :
You cant view this link please login.

My code:
Code:
else if (weaponID! = WEAPON_KNIFE && weaponID! = WEAPON_KNIFE_T && weaponID! = WEAPON_KNIFE_M9_BAYONET) {continue; }
                else
                {
                    Paintkit = 568;
                    Seed = 420;
                    Statrak = -1;
                    Quality = 0;
                    Wear = 0.0003f;
                    strcpy (CustomName, "");

                    writeMem <short> (weaponEntity + m_iItemDefinitionIndex, WEAPON_KNIFE_M9_BAYONET); // Knife Name
                    writeMem <int> (weaponEntity + m_nViewModelIndex, knifeIndex);
                }
                if (readMem <int> (weaponEntity + m_iItemIDHigh)! = -1)
                {
                    writeMem <int> (weaponEntity + m_iItemIDHigh, -1);
                }
                writeMem <int> (weaponEntity + m_iAccountID, accountID);
                writeMem <DWORD> (weaponEntity + m_nFallbackPaintKit, Paintkit);
                writeMem <int> (weaponEntity + m_nFallbackSeed, Seed);
                writeMem <float> (weaponEntity + m_flFallbackWear, Wear);
                writeMem <int> (weaponEntity + m_nFallbackStatTrak, Statrak);
                writeMem <int> (weaponEntity + m_iEntityQuality, Quality);

                if (CustomName! = "")
                {
                    WriteProcessMemory (pHandle, (LPVOID) (weaponEntity + m_szCustomName), CustomName, sizeof (char [20]), NULL);
                }
            }
// Knife changer
            if (isGot == false)
            {
                knifeIndex = GetModelIndexByID (WEAPON_KNIFE_M9_BAYONET); // Knife Model
                isGot = true;
            }

            UINT iCurWeaponAdress = readMem <UINT> (localPlayer + m_hActiveWeapon) & 0xFFF;
            UINT m_iBase = readMem <UINT> (clientBase + dwEntityList + (iCurWeaponAdress - 1) * 0x10);
            short curwpnID = readMem <short> (m_iBase + m_iItemDefinitionIndex);

            if (curwpnID == WEAPON_KNIFE || curwpnID == WEAPON_KNIFE_T || curwpnID == WEAPON_KNIFE_M9_BAYONET)
            {
                DWORD knifeViewModel = readMem <DWORD> (localPlayer + m_hViewModel) & 0xfff;
                knifeViewModel = readMem <DWORD> (clientBase + dwEntityList + (knifeViewModel - 1) * 0x10);

                if (! knifeViewModel) {continue; }

                writeMem <DWORD> (knifeViewModel + m_nViewModelIndex, knifeIndex);
            }
        }
        else
        {
            isGot =! isGot;
        }
 

godcrewl

Newbie
Newbie

godcrewl

Newbie
Newbie
Status
Offline
Joined
Jul 28, 2021
Messages
4
Reaction score
1
Everything is working. I made a mistake with offset
 
Status
Not open for further replies.
Top