Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Combat Arms Hacks & Cheats › Combat Arms Hack Coding / Programming / Source Code › Color Chams - Source Code -

Color Chams - Source Code -

Posts 1–15 of 20 · Page 1 of 2
Aeir
Aeir
Color Chams - Source Code -
IDC
__
Credits : IDK/ who ever you want pssh shit say it's you..
Please don't click thanks, cuz you know the credits are to you...
__

need me post more source codes...


if you don't get this at all or maybe your like wtf, what i need to do get shit work on my base? - just look at the shit and take the meat out ok =/
if still need help reply and i post diff way for them noobs,
gl
Code:
UINT m_Stride;
D3DPRIMITIVETYPE Type; 
INT BaseVertexIndex; 
UINT MinVertexIndex; 
UINT NumVertices; 
UINT startIndex;
UINT primCount;

	#define RED2			D3DCOLOR_ARGB(100, 255, 000, 000)
DWORD dwOldZEnable = D3DZB_TRUE;
	LPDIRECT3DTEXTURE9 White2,Red2,Green2,Blue2,Black2,Purple2,Grey2,Yellow2,Orange2;
	LPDIRECT3DVERTEXBUFFER9 StreamData;
UINT OffsetInBytes;

		


typedef HRESULT (WINAPI* tPresent)(LPDIRECT3DDEVICE9 pDevice,CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion);
tPresent oPresent;

typedef HRESULT (WINAPI* tReset)(LPDIRECT3DDEVICE9 pDevice,D3DPRESENT_PARAMETERS* Parametri);
tReset oReset;

typedef HRESULT (WINAPI* oDrawIndexedPrimitive) ( LPDIRECT3DDEVICE9 pDevice,D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount );
oDrawIndexedPrimitive pDrawIndexedPrimitive;


void CreateDev(DWORD * dwVTable){
LPDIRECT3D9 pD3d9 = NULL;
LPDIRECT3DDEVICE9 pD3DDevice = NULL;
pD3d9 = Direct3DCreate9(D3D_SDK_VERSION);
if(pD3d9 == NULL){
return;
}
D3DPRESENT_PARAMETERS pPresentParms;
ZeroMemory(&pPresentParms,sizeof(pPresentParms));
pPresentParms.Windowed = TRUE;
pPresentParms.BackBufferFormat = D3DFMT_UNKNOWN;
pPresentParms.SwapEffect = D3DSWAPEFFECT_DISCARD;
if(FAILED(pD3d9->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,GetDesktopWindow(),D3DCREATE_SOFTWARE_VERTEXPROCESSING,&pPresentParms,&pD3DDevice))){
return;
}
DWORD * dwTable = ( DWORD* )pD3DDevice;
dwTable = ( DWORD* ) dwTable[0];
dwVTable[0] = dwTable[16];
dwVTable[1] = dwTable[17];
}

void *Salta(BYTE *src,const BYTE *dst,const int len){
BYTE *jmp = (BYTE*)malloc(len+5);
DWORD dwback;
VirtualProtect(src, len, PAGE_READWRITE, &dwback);
memcpy(jmp, src, len); jmp += len;
jmp[0] = 0xE9;
*(DWORD*)(jmp+1) = (DWORD)(src+len - jmp) - 5;
src[0] = 0xE9;
*(DWORD*)(src+1) = (DWORD)(dst - src) - 5;
VirtualProtect(src, len, dwback, &dwback);
return (jmp-len);
}


HRESULT WINAPI hkReset(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS* Parametri){
_asm NOP;

d3dfont->OnLostDevice();

HRESULT hTorna = oReset(pDevice, Parametri);

if(SUCCEEDED(hTorna)){
d3dfont->OnResetDevice();
}
return hTorna;
}
class cHelper
	{
	public:
		DWORD FindDevice(DWORD Len);
		VOID HideDLL(HINSTANCE hModule);
		void EraseHeader(HINSTANCE hModule);
		VOID StarLog(HMODULE hDll);
		VOID __cdecl cHelper::WriteLog (const char *fmt, ...);
		CHAR* Decrypt(const char* plaintext);
		CHAR* Encrypt(const char* plaintext);
		CHAR * GetTime();
		BOOL CheckVersion();
		INT URLGetPage(char *link, char *buffer, int maxsize);
		BOOL cHelper::_cCompareHost( char *HostName );
	private:
		CHAR * GetDirectoryFile(char *filename);
	};


DWORD cHelper::FindDevice(DWORD Len)
{
    DWORD dwObjBase = 0;
		
	dwObjBase = (DWORD)LoadLibrary("D3D9.DLL");
    while (dwObjBase++ < dwObjBase + Len)
    {
        if ( (*(WORD*)(dwObjBase + 0x00)) == 0x06C7
          && (*(WORD*)(dwObjBase + 0x06)) == 0x8689
          && (*(WORD*)(dwObjBase + 0x0C)) == 0x8689
		  ) { dwObjBase += 2; break; }
    }
    return( dwObjBase );
}
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
{
	
	
//THIS IS TO DRAW BASIC CHAMS - 
	
	if(pDevice->GetStreamSource(0,&StreamData,&OffsetInBytes,&m_Stride) == D3D_OK) 
	{
		StreamData->Release();

	}
//the chams --> white ok? 
if(IsIngame() &&cBox[24].OnOff == 1)
						{
								if( (m_Stride == 36) || (m_Stride == 32) || (m_Stride == 44))
		{
			
			pDevice->SetRenderState(D3DRS_ZENABLE, 0);
			 pDevice->SetTexture(0,Red2);
			 	pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
			pDevice->SetRenderState(D3DRS_ZENABLE, 1);
			pDevice->SetTexture(0,Red2);
								}

								

}


return pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);

}

DWORD cDetours::CreateDIP_JMP_EAX( DWORD  SrcVA, DWORD  DstVA, DWORD  Size )
{

	DWORD DetourVA, dwProtect, i;

#define SIZEOF_MOVEAX_JMPEAX 6

	if ( SrcVA && DstVA && Size >= SIZEOF_MOVEAX_JMPEAX )
	{
		DetourVA = (DWORD) VirtualAlloc( 
			NULL, Size + SIZEOF_MOVEAX_JMPEAX, 
			MEM_COMMIT, PAGE_EXECUTE_READWRITE );

		if ( DetourVA && VirtualProtect( (VOID*)SrcVA, Size, PAGE_EXECUTE_READWRITE, &dwProtect ) )
		{
			for ( i=0; i < Size; i++ ) {
				*(BYTE*)( DetourVA + i ) = *(BYTE*)( SrcVA + i );
			}
			
			*(BYTE*)( DetourVA + Size + 0 ) = 0xB8;
			*(DWORD*)( DetourVA + Size + 1 ) = ( SrcVA + Size );
			*(WORD*)( DetourVA + Size + 5 ) = 0xE0FF;

			*(BYTE*)( SrcVA + 0 ) = 0xB8;
			*(DWORD*)( SrcVA + 1 ) = ( DstVA );
			*(WORD*)( SrcVA + 5 ) = 0xE0FF;

			VirtualProtect( (VOID*)SrcVA, Size, dwProtect, &dwProtect );

			VirtualProtect( (VOID*)DetourVA, Size + 
				SIZEOF_MOVEAX_JMPEAX, PAGE_EXECUTE_READ, &dwProtect );

	    	return DetourVA;
		}
		Sleep(3);
	}
	return (0);
}
DWORD dwVTable[82] = {0};
HRESULT WINAPI hkPresent(LPDIRECT3DDEVICE9 pDevice,CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion){
_asm PUSHAD;
menu->RenderMenu(pDevice);
menu->********(pDevice);
//menu->TeleKillFull();

menu->Ghostmode1(pDevice);
_asm POPAD;
return oPresent(pDevice, pSourceRect,  pDestRect,  hDestWindowOverride,  pDirtyRegion);
}


DWORD WINAPI Wait(LPVOID lpArgs){
DWORD dwD3D9 = NULL;
while(!dwD3D9){
Sleep(20);
dwD3D9 = (DWORD)GetModuleHandleA("d3d9.dll");
}

	PDWORD VTable;
	cHelper *cHelpers;
    *(DWORD*)&VTable = *(DWORD*)cHelpers->FindDevice(0x128000);

    if(VTable == NULL)
	{
		MessageBox(NULL,"D3DDevice Pointer Not Found!",0,MB_ICONSTOP);
        ExitProcess(0);
	}

	

CreateDev( dwVTable );
oReset = ( tReset ) cDetour->CreateJMP_REL(( DWORD ) dwVTable[0], ( DWORD ) &hkReset ,5);
oPresent = ( tPresent )cDetour->CreateJMP_REL(( DWORD ) dwVTable[1], ( DWORD ) &hkPresent ,5);
pDrawIndexedPrimitive=(oDrawIndexedPrimitive)cDetour->CreateJMP_EAX((DWORD)dwVTable[82],(DWORD)myDrawIndexedPrimitive,5);

while(1)
{
    if(memcmp((void *)VTable[82], (void *)"\x8B\xFF", 2) == 0 )
	{
		pDrawIndexedPrimitive=(oDrawIndexedPrimitive)cDetour->CreateDIP_JMP_EAX((DWORD)VTable[82],(DWORD)myDrawIndexedPrimitive,12);
	}
    Sleep(500);
}

return 0;
}
BOOL APIENTRY DllMain( HMODULE hModule, DWORD dwReason, LPVOID lpReserved ){
if ( dwReason == DLL_PROCESS_ATTACH ){
	
CreateThread( NULL, NULL, &Wait, NULL, NULL, NULL );
//CreateThread(NULL, NULL,(LPTHREAD_START_ROUTINE)TELEKILL, NULL, NULL, NULL);
}
return TRUE;
}
FUCK THE WORLD
NOOB VERSION
Code:
   /Mod Took it out tehe
#1 · edited 14y ago · 14y ago
gotter
gotter
/INB4FLAME
why would you post that ? CA IS FUCKED AGAIN NOW
#2 · 14y ago
Aeir
Aeir
Quote Originally Posted by gotter View Post
/INB4FLAME
why would you post that ? CA IS FUCKED AGAIN NOW
It's not fucked, it perfectly fine. The best part this shit has been working for over 1-2 years now.
#3 · edited 14y ago · 14y ago
BACKD00R
[MPGH]BACKD00R
I'm seeing BR strings in the code!
#4 · 14y ago
CodeDelta
CodeDelta
@Aeir
What's your MSN?
Your skills impress me
and also thanks for the code.
D.I.P Hook Included?
Or do the noobs need to have it first
#5 · 14y ago
FI
FinalHazard_
Color Chams for free
#6 · 14y ago
Aeir
Aeir
It has all items you need, - posted noob version and again

backstabbers
#7 · edited 14y ago · 14y ago
johwsouza
johwsouza
@Aeir color chams does not appear.
testing in CABR

#Sorry, I'm using GoogleTranslate for help
#8 · 14y ago
supercarz1991
supercarz1991
my dip hook shits on this :P its like 25 times less the code
#9 · 14y ago
Aeir
Aeir
a code is a code, it just has to get the job done. And am not helping anyone to get shit working it's super basic
#10 · 14y ago
XA
xAced
Ty is DIP hook Included?
#11 · 14y ago
RE
Reflex-
Quote Originally Posted by xAced View Post
Ty is DIP hook Included?
Have you looked at the Code?
#12 · 14y ago
Aeir
Aeir
=_= i just post them wit out dip yep yep
#13 · 14y ago
n4n033
n4n033
Chams Colored Source is Same For War Rock, CA & More Games I Guess
#14 · 14y ago
LE
leonardoferro
Good Job Friend!
#15 · 14y ago
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Similar Threads

  • [Kinda Release]AVA Chams Source CodeBy noleash in Alliance of Valiant Arms (AVA) Coding / Source Code
    14Last post 15y ago
  • Chams Source CodeBy D3t0N4t3 in WarRock Hack Source Code
    10Last post 15y ago
  • CoD4 Chams Source CodeBy JoEyHaX in Call of Duty 4 - Modern Warfare (MW) Hacks
    7Last post 14y ago
  • D3D Chams Source Code C++ 2010By enverheckir in CrossFire Hack Coding / Programming / Source Code
    6Last post 14y ago
  • Cham Colors And Their CodesBy Zhellbound in Combat Arms Hacks & Cheats
    4Last post 17y ago

Tags for this Thread

None