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 › Other Semi-Popular First Person Shooter Hacks › Alliance of Valiant Arms (AVA) Hacks & Cheats › Code by me , need help please.

Code by me , need help please.

Posts 1–4 of 4 · Page 1 of 1
AR
Arephalline
Code by me , need help please.
bool DrawModelExecute ( ModelRenderInfo_t &pInfo )
{
C_BaseEntity *pBaseEntity;

if ( pInfo.entity_index > 0 && pInfo.entity_index <= g_pEngine->GetMaxClients() )
{
if ( g_pEntList->Ge***ientEntity ( pInfo.entity_index ) != NULL )
{
pBaseEntity = g_pEntList->Ge***ientEntity ( pInfo.entity_index )->GetBaseEntity();

if ( pBaseEntity == NULL )
return false;

g_iTeam = g_pGameResource->GetTeam ( pBaseEntity->entindex() ) ;

if ( g_iTeam == 2 ) // NRF
{
flColor[0] = 255;
flColor[1] = 255;
flColor[2] = 0;
flColor[3] = 255;
}
else if ( g_iTeam == 1 ) // EU
{
flColor[0] = 0;
flColor[1] = 0;
flColor[2] = 255;
flColor[3] = 255;
}

g_pRenderView->SetBlend ( 1.0f );
g_pRenderView->SetColorModulation ( flColor );

pChamsMaterial->SetMaterialVarFlag ( MATERIAL_VAR_IGNOREZ, true );
pChamsMaterial->SetMaterialVarFlag ( MATERIAL_VAR_ZNEARER, true );
pChamsMaterial->SetMaterialVarFlag ( MATERIAL_VAR_FLAT, true );

g_pModelRender->ForcedMaterialOverride ( pChamsMaterial );

g_pModelRenderHook->UnHook();

cout << "Arephalline's Pub Hook";
g_pModelRender->DrawModelEx ( pInfo );

if ( g_iTeam == 2 ) // NRF
{
flColor[0] = 255;
flColor[1] = 0;
flColor[2] = 0;
flColor[3] = 255;
}
else if ( g_iTeam == 1 ) // EU
{
flColor[0] = 0;
flColor[1] = 255;
flColor[2] = 0;
flColor[3] = 255;
}

g_pRenderView->SetBlend ( 1.0f );
g_pRenderView->SetColorModulation ( flColor );

pChamsMaterial->SetMaterialVarFlag ( MATERIAL_VAR_IGNOREZ, false );
pChamsMaterial->SetMaterialVarFlag ( MATERIAL_VAR_ZNEARER, false );
pChamsMaterial->SetMaterialVarFlag ( MATERIAL_VAR_FLAT, false );

g_pModelRender->DrawModelEx ( pInfo );

g_pModelRender->ForcedMaterialOverride ( pChamsMaterial );

g_pModelRenderHook->ReHook();

g_pModelRender->ForcedMaterialOverride ( NULL );

return true;
}
}

return false;
}
int __stdcall hook_DrawModelEx ( ModelRenderInfo_t &pInfo )
{
bool bRet;

__asm
{
PUSHAD
}

bRet = DrawModelExecute ( pInfo );

__asm
{
POPAD
}

if ( bRet == false )
return pDrawModelEx ( pInfo );
else
return 1;

return 0;
}


Ok , now i need help.
The thing is that the code i can do but i dont know how to bypass gameguard.
There's my source all you need to do is compile in a DLL.
Obs:Already try'd with Valk,x1injec,OMFGZ,Arcstemp.
¬¬ "The game has been closed by an unknown error" .
Any coder wanna help? Feel free to modify that code if something's wrong.
#1 · 16y ago
Katie_Perry
Katie_Perry
You didnt code that.
#2 · 16y ago
falzarex
falzarex
lol obvious
detouring is your friend
#3 · 16y ago
SpaceMan
SpaceMan
Even so. This isn't a coding section. go to C++ and post it. Not here.
#4 · 16y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • Need Help please(about source codes)By Laws_Vegas in C++/C Programming
    5Last post 16y ago
  • Necesito Ayuda Porfavor(I need Help Please)By omega8815 in Vindictus Help
    18Last post 15y ago
  • Need Help Please!By pimpineggs in Hack Requests
    3Last post 19y ago
  • need help please come hereBy rino1992 in WarRock - International Hacks
    8Last post 19y ago
  • I need help pleaseBy weener in WarRock - International Hacks
    2Last post 19y ago

Tags for this Thread

None