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 › CrossFire Hacks & Cheats › CrossFire Latin America / Brazil Hacks › CrossFire Latin America / Brazil Hack Source Code › Aimbot: IsVisible/IntersectSegment crash

Aimbot: IsVisible/IntersectSegment crash

Posts 16–23 of 23 · Page 2 of 2
matheusgtx
matheusgtx
Fiz o hook da função na ILTClient e funcionou sem nenhum crash.

Obrigado a todos.

Screenshot:

Base: Iflux Full Remake
#16 · edited 11y ago · 11y ago
dreek1
dreek1
Menu top hein ;3
Quote Originally Posted by matheusgtx View Post
Fiz o hook da função na ILTClient e funcionou sem nenhum crash.

Obrigado a todos.

Screenshot:

Base: Iflux Full Remake
#17 · 11y ago
Rullez
Rullez
Show de bola
acho que você é o unico que ainda cria em CF !
#18 · 11y ago
FUFYN
FUFYN
Melhor menu que ja vi '-'
#19 · 11y ago
0X
0xB4DF00D
Quote Originally Posted by matheusgtx View Post
Consegui fazer um aimbot funcional, mas ele está dando crash no IsVisible, alguem sabe o que há de errado?

Acho que está nas classes mas não sei o certo, de resto tudo funciona.

Aimbot.h
Code:
typedef bool(*IntersectSegment)(const IntersectQuery& Query, IntersectInfo *pInfo);
IntersectSegment pIntersectSegment;

bool __cdecl IsVisible(D3DXVECTOR3 MePos, D3DXVECTOR3 TargetPos)
{
	
	IntersectQuery iQuery;
	IntersectInfo iInfo;

	pIntersectSegment = (IntersectSegment)(*(DWORD*)(0x641480)); // Pattern Scan Address

	memset(&iQuery, 0, sizeof(iQuery));

	iQuery.m_From = MePos;
	iQuery.m_To = TargetPos;

	if (pIntersectSegment) // Redundante
	{
                // Aqui acontece o crash
		return !pIntersectSegment(iQuery, &iInfo);
	}

	return true;
}
pIntersectSegment = (IntersectSegment)(*(DWORD*)(0x641480));

Você está desreferenciando um ponteiro, quando na verdade você só precisa pegar o endereço, estranho seria se esse código não provocasse o crash.
Depois dessa linha o valor de pIntersectSegment será os 4 primeiros bytes da função que geralmente é
Code:
push ebp 
mov ebp,esp
...
Fixando o problema
Code:
pIntersectSegment = reinterpret_cast<IntersectSegment>(0x641480); //C++
pIntersectSegment = (IntersectSegment)0x641480; //C
#20 · 11y ago
luizimloko
luizimloko
Quote Originally Posted by 0xB4DF00D View Post
pIntersectSegment = (IntersectSegment)(*(DWORD*)(0x641480));

Você está desreferenciando um ponteiro, quando na verdade você só precisa pegar o endereço, estranho seria se esse código não provocasse o crash.
Depois dessa linha o valor de pIntersectSegment será os 4 primeiros bytes da função que geralmente é
Code:
push ebp 
mov ebp,esp
...
Fixando o problema
Code:
pIntersectSegment = reinterpret_cast<IntersectSegment>(0x641480); //C++
pIntersectSegment = (IntersectSegment)0x641480; //C
ele estava fazendo um pointer em uma função ( não estou dizendo que você esta errado, só estou confirmando oque você disse ) :

Code:
pIntersectSegment = (IntersectSegment)(*(DWORD*)(0x641480));
esse tipo de função no caso do intersectsegment é um wrapper que você usa a própria função do jogo.
#21 · 11y ago
matheusgtx
matheusgtx
Eu percebi depois de um tempo que a LTClient faz um call para a função IntersectSegment da crossfire.exe e depois disso eu arrumei o erro.
#22 · 11y ago
0X
0xB4DF00D
Quote Originally Posted by luizimloko View Post


Code:
pIntersectSegment = (IntersectSegment)(*(DWORD*)(0x641480));
esse tipo de função no caso do intersectsegment é um wrapper que você usa a própria função do jogo.
Não faz diferença se é um wrapper ou não, chamar uma função não tem segredo, você descobre o endereço da função a convenção de chamada e os argumentos usados.
Contanto que os 3 passos estejam corretos não pode ocorrer o crash, isso claro se o game não adicionar proteções adicionais como checar o endereço de retorno ou usar TLS tricks.

Olhando o código novamente notei outro erro.
Code:
typedef bool(*IntersectSegment)(const IntersectQuery& Query, IntersectInfo *pInfo);
Mesmo que o VisualStudio use como padrão a convenção de chamada __cdecl, que é o mesmo que essa função usa, pode ser que esteja setado como __stdcall.
__cdecl o compilador corrige a stack com add esp,numero de argumentos*4 depois da chamada, __stdcall a própria função corrige a stack no final com RETN numero de argumentos*4.
Ou seja lembre sempre de setar a conveção de chamada.
Code:
typedef bool(__cdecl *IntersectSegment)(const IntersectQuery& Query, IntersectInfo *pInfo);
#23 · 11y ago
Posts 16–23 of 23 · Page 2 of 2

Post a Reply

Similar Threads

  • Why the aimbot src is crashing your game.By blackstab1337 in Unturned Discussions & Help
    0Last post 12y ago
  • why does my aimbots i get crash when i start crossfire?By mich4r in CrossFire Hacks & Cheats
    18Last post 17y ago
  • PiKaMucha_Itu Exterminator CANA Aimbot , Remotekill , Server Crash And More !By PikaMucha_Itu in Combat Arms Hacks & Cheats
    11Last post 14y ago
  • PiKaMucha_Itu Exterminator CANA Aimbot , Remotekill , Server Crash, Esp´s And More !By PikaMucha_Itu in Combat Arms Hacks & Cheats
    129Last post 14y ago
  • CRASH's Updated AimbotBy Crash in Combat Arms Coding Help & Discussion
    17Last post 15y ago

Tags for this Thread

#aimbot#brazil#crossfire#intersect segment#isvisible