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 › Alliance of Valiant Arms (AVA) Coding / Source Code › About "Pattern Scanner UAV project"

About "Pattern Scanner UAV project"

Posts 1–3 of 3 · Page 1 of 1
donpusher
donpusher
About "Pattern Scanner UAV project"
I try to make a include pattern scanner UAV project
This project successfully build. but when i injector the AVA.exe will crash. i don't know how can fixed this problem.

Code:
#include <Windows.h>
#include <stdio.h>
#include <string>

#ifndef _PSAPI_H_
#include <Psapi.h>
#pragma comment(lib, "psapi.lib")
#endif

#define GOP	"\x00\x00\x00\x00\x0E\x42"
#define GOM	"xxxxxx"
#define GOO	0x2

#define GNP	"\x80\xBB\xB7\x27\x00\x00\x09\x41\x9E"
#define GNM	"xxxxxxxxx"
#define GNO	0x4

/*
# ========================================================================================= #
# Environment
# ========================================================================================= #
*/

MODULEINFO GetModuleInfo(LPCSTR lpModuleName)
{
	MODULEINFO modinfo = { 0 };
	GetModuleInformation(GetCurrentProcess(), GetModuleHandle(lpModuleName), &modinfo, (sizeof modinfo));
	return modinfo;
}

/*
# ========================================================================================= #
# PatternScan
# ========================================================================================= #
*/

bool Compare(const BYTE *pData, const BYTE *bMask, const char *szMask)
{
	for (; *szMask; ++szMask, ++pData, ++bMask)
		if (*szMask == 'x' && *pData != *bMask) return false;
	return (*szMask == 0);
}

DWORD FindPattern(LPCSTR lpModuleName, char *bMask, char *szMask)
{
	MODULEINFO modinfo = GetModuleInfo(lpModuleName);
	DWORD dwBase = (DWORD)modinfo.lpBaseOfDll;
	DWORD dwSize = (DWORD)modinfo.SizeOfImage;

	for (DWORD i = 0; i < dwSize; i++)
		if (Compare((BYTE*)dwBase + i, (BYTE*)bMask, szMask))
			return dwBase + i;
}




Pattern Scan GNames : 
	static TArray< FNameEntry* >* Names() 
	{ 
		static DWORD GNA = NULL;

		if (!GNA )
			GNA = *(DWORD*)(FindPattern("ava.exe", GNP, GNM) + GNO);
	
		return (TArray< FNameEntry* >*) GNA ; 
	};
#1 · edited 8y ago · 8y ago
Jabberwock
Jabberwock
You don't have any checks to see if the game's exe module has been initialized. Also you forgot to check against NULLs
#2 · 8y ago
donpusher
donpusher
Quote Originally Posted by Jabberwock View Post
You don't have any checks to see if the game's exe module has been initialized. Also you forgot to check against NULLs
Sir, thanks for tips.
i've been completed
#3 · 8y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • CS Go Pattern Scanner / My First Project / Test !By Monstercaat in Counter-Strike 2 Coding & Resources
    17Last post 11y ago
  • Pattern Scanner... :)By MarkHC in Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    30Last post 13y ago
  • AlterOps External Hack 1.8.1 [With Pattern Scanner]By fatjoe2015 in Call of Duty 7 - Black Ops Hacks & Cheats
    163Last post 14y ago
  • Errors about a process in C++ ProjectBy luckie12 in C++/C Programming
    1Last post 16y ago
  • Simple Pattern ScannerBy Edlmann in Call of Duty Black Ops Coding, Programming & Source Code
    11Last post 15y ago

Tags for this Thread

None