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 › My Cham source

CoolMy Cham source

Posts 1–13 of 13 · Page 1 of 1
Andyklk2009
Andyklk2009
My Cham source
yo i have a question any exprect or any one who knows much about Chams tell me if this is right
HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
{
if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )
return E_FAIL;

WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)
|(WORD)(((colour32>>20)&0xF)<<8)
|(WORD)(((colour32>>12)&0xF)<<4)
|(WORD)(((colour32>>4)&0xF)<<0);

D3DLOCKED_RECT d3dlr;
(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
WORD *pDst16 = (WORD*)d3dlr.pBits;

for(int xy=0; xy < 8*8; xy++)
*pDst16++ = colour16;

(*ppD3Dtex)->UnlockRect(0);

return S_OK;
}

HRESULT CD3DManager::Initialize()
{
/*
initialize Resources such as textures
(managed and unmanaged [D3DPOOL]),
vertex buffers, and other D3D rendering resources
...
m_pD3Ddev->CreateTexture(..., ..., &m_pD3Dtexture);
*/


GenerateTexture(m_pD3Ddev, &texRed,D3DCOLOR_ARGB(255,255,0,0));
GenerateTexture(m_pD3Ddev, &texPurple,D3DCOLOR_ARGB(255,160,32,240));
GenerateTexture(m_pD3Ddev, &texGreen,D3DCOLOR_ARGB(255,0,255,0));
GenerateTexture(m_pD3Ddev, &texYellow,D3DCOLOR_ARGB(255,255,255,0));
GenerateTexture(m_pD3Ddev, &texOrange,D3DCOLOR_ARGB(255,255,140,0));
GenerateTexture(m_pD3Ddev, &texPink,D3DCOLOR_ARGB(255,255,192,203));
GenerateTexture(m_pD3Ddev, &texBlue,D3DCOLOR_ARGB(255,0,0,255));
GenerateTexture(m_pD3Ddev, &texViolet,D3DCOLOR_ARGB(208,32,144,0));
GenerateTexture(m_pD3Ddev, &texSea,D3DCOLOR_XRGB( 32, 178, 170 ));
GenerateTexture(m_pD3Ddev, &texBlack,D3DCOLOR_XRGB( 0, 0, 0 ));
GenerateTexture(m_pD3Ddev, &texSlate,D3DCOLOR_XRGB( 47, 79, 79 ));
GenerateTexture(m_pD3Ddev, &texCoral,D3DCOLOR_XRGB( 255, 127, 80 ));
GenerateTexture(m_pD3Ddev, &texDOrange,D3DCOLOR_XRGB( 255, 140, 0 ));
GenerateTexture(m_pD3Ddev, &texGrey,D3DCOLOR_XRGB( 190, 190, 190 ));

return S_OK;
}
#1 · 18y ago
peanut1
peanut1
Dont double post.
#2 · 18y ago
Andyklk2009
Andyklk2009
i know i edited
#3 · 18y ago
IW
Iwin
Did you write this?

This is just some old source code for taking a player X and Y and turning them into a certain color. I am not sure if this script is still works.

If you were to execute this code you'd probably just end up with D3D errors.
#4 · 18y ago
kirbythepuff
kirbythepuff
man this thing is complicated
#5 · 18y ago
xobbfly
xobbfly
im not sure, but atm, im looking for a way, to get the cham source [c=19]\ if i got the right one, the one i have looks different from the one you have / [/c] to work with iwin's bypass. and trying to modify the application.
#6 · 18y ago
KI
kingpop91770
Anyway to re-hook this onto Combat Arms?
#7 · 18y ago
Andyklk2009
Andyklk2009
omg this is hard im working on a chams but i get 1 failed is that an error what???
#8 · 18y ago
skool
skool
Wow andy you have so much kills. :l
and it is complicated
#9 · 18y ago
IM
iMajorPwnage
this guy is a fuckin dum ass he has kryticals stats on his sig! wtf take dat crap off. stupid ass noob
#10 · 18y ago
ME
MesoPlz
Says the choob.

Anyway, isn't this method patched? I thought the chams use a different address now.
#11 · 18y ago
CyberStriker
CyberStriker
You need to check for stride.



Quote Originally Posted by MesoPlz View Post
Says the choob.

Anyway, isn't this method patched? I thought the chams use a different address now.
Chams don't use addresses you idiot. It's hooking DirectX.
#12 · 18y ago
LO
lolfunny
GenerateTexture(m_pD3Ddev, &texRed,D3DCOLOR_ARGB(255,255,0,0));
GenerateTexture(m_pD3Ddev, &texPurple,D3DCOLOR_ARGB(255,160,32,240));
GenerateTexture(m_pD3Ddev, &texGreen,D3DCOLOR_ARGB(255,0,255,0));
GenerateTexture(m_pD3Ddev, &texYellow,D3DCOLOR_ARGB(255,255,255,0));
GenerateTexture(m_pD3Ddev, &texOrange,D3DCOLOR_ARGB(255,255,140,0));
GenerateTexture(m_pD3Ddev, &texPink,D3DCOLOR_ARGB(255,255,192,203));
GenerateTexture(m_pD3Ddev, &texBlue,D3DCOLOR_ARGB(255,0,0,255));
GenerateTexture(m_pD3Ddev, &texViolet,D3DCOLOR_ARGB(208,32,144,0));
GenerateTexture(m_pD3Ddev, &texSea,D3DCOLOR_XRGB( 32, 178, 170 ));
GenerateTexture(m_pD3Ddev, &texBlack,D3DCOLOR_XRGB( 0, 0, 0 ));
GenerateTexture(m_pD3Ddev, &texSlate,D3DCOLOR_XRGB( 47, 79, 79 ));
GenerateTexture(m_pD3Ddev, &texCoral,D3DCOLOR_XRGB( 255, 127, 80 ));
GenerateTexture(m_pD3Ddev, &texDOrange,D3DCOLOR_XRGB( 255, 140, 0 ));
GenerateTexture(m_pD3Ddev, &texGrey,D3DCOLOR_XRGB( 190, 190, 190 ));

Use only 2 of the textures, unless you put a hokey on all 2 of the each.
#13 · 18y ago
Posts 1–13 of 13 · Page 1 of 1

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
  • Source for Combat Arms chams(wallhack)By bannedshow in C++/C Programming
    62Last post 16y ago
  • Searching Chams&Wallhack (CS:S,Counter Strike: Source)By Freakycrit in CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    6Last post 16y ago
  • [Source] Combat Arms ChamsBy scimmyboy in Combat Arms Hack Coding / Programming / Source Code
    54Last post 16y ago

Tags for this Thread

#cham#source