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 › Combat Arms Coding Help & Discussion › NPC Telekill

NPC Telekill

Posts 1–5 of 5 · Page 1 of 1
Skaterforeva1
Skaterforeva1
NPC Telekill
Okay so I was working on a npc version for telekill because the way I have the regular telekill setup makes it confusing when combing them. So I have this but when i turn it on, it crashes. I have been looking at other examples and stuff but i cant figure it out. So if anyone wants to help feel free.

Code:
void cHacks::NPCTelekill( int enable)
{
	if(enable)
	{
		DWORD PositionY, PositionPointer;
		PositionPointer = (DWORD)GetModuleHandleA("ClientFX.fxd");
		PositionPointer += 0x0006BF34;

		memcpy(&PositionY,(void *)PositionPointer, 4);

		for(int i = 0; i < SFXMgr->SFXList[SFX_CHARACTER]; i++)
		{
			CharacterFX = (cCharacterFX*)SFXMgr->SFXList[SFX_CHARACTER];
			if(Main->Tools->ValidPointer(CharacterFX) && !CharacterFX->IsPlayer)
			{
				*(float*)(PositionY + 0xC8) = (CharacterFX->object->Pos.x + 75.0f);
				*(float*)(PositionY + 0xCC) = (CharacterFX->object->Pos.y + 75.0f);
				*(float*)(PositionY + 0xD0) = (CharacterFX->object->Pos.z);
			}
		}
	}
}
#1 · edited 13y ago · 13y ago
Ch40zz-C0d3r
Ch40zz-C0d3r
Well the code doesnt look wrong but I made a better solution:
Put a check for FireTeam in a GetNearestPlayer function, and just let it return the id of the character (not player!)
Then you have 1 single function for 2 features:

Code:
int ID = GetNearestIndex(false, true);
if(ID != -1)
{
	cCharacterFX *pFX = (cCharacterFX*)pSFXMgr->SFXList[SFX_CHARACTER].List[ID];
}
#2 · 13y ago
Skaterforeva1
Skaterforeva1
Quote Originally Posted by Ch40zz-C0d3r View Post
Well the code doesnt look wrong but I made a better solution:
Put a check for FireTeam in a GetNearestPlayer function, and just let it return the id of the character (not player!)
Then you have 1 single function for 2 features:

Code:
int ID = GetNearestIndex(false, true);
if(ID != -1)
{
	cCharacterFX *pFX = (cCharacterFX*)pSFXMgr->SFXList[SFX_CHARACTER].List[ID];
}
Its still crashing... Maybe my classes are wrong...
#3 · 13y ago
matypatty
matypatty
Quote Originally Posted by Skaterforeva1 View Post
Its still crashing... Maybe my classes are wrong...
I would recommend getting your target position from a bone transform result as im not sure if you can call position directly or not, cant remember because ive always done it by bone. Also remember to do what chaos said aswell as its not gonna work very well without a target calculation and you needa have .List[ID]; on the end.

Oh and for your loop:
Code:
int numplayers = SFXMgr->SFXList[SFX_CHARACTER].Num
Some Useful defines:
Code:
#define PELVIS	3
#define TORSO	5
#define HEAD	8
Code:
GetLTModel()->GetNodeTransform( fx->Object, HEAD, &Players[i].Head,  true );
#4 · 13y ago
Skaterforeva1
Skaterforeva1
Quote Originally Posted by matypatty View Post


I would recommend getting your target position from a bone transform result as im not sure if you can call position directly or not, cant remember because ive always done it by bone. Also remember to do what chaos said aswell as its not gonna work very well without a target calculation and you needa have .List[ID]; on the end.

Oh and for your loop:
Code:
int numplayers = SFXMgr->SFXList[SFX_CHARACTER].Num
Some Useful defines:
Code:
#define PELVIS	3
#define TORSO	5
#define HEAD	8
Code:
GetLTModel()->GetNodeTransform( fx->Object, HEAD, &Players[i].Head,  true );
Thanks I must have been getting the wrong target or something. It works now. @Flengo close please.
#5 · 13y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • with NPC TelekillBy steven1578 in Combat Arms Coding Help & Discussion
    7Last post 15y ago
  • Preview NPC TeleKillBy pDevice in Brazil Spam
    9Last post 13y ago
  • Chaos Advanced v1.3 - ESPECIAL DE NATAL! (NPC TeleKill, GhostMode controlável)By ChaosMagician in Combat Arms Brazil Hacks
    19Last post 13y ago
  • Telekill/OPK for NPC?By xGolani in Combat Arms Hack Requests
    21Last post 15y ago
  • help with NPC opk/telekillBy supercarz1991 in Combat Arms Coding Help & Discussion
    16Last post 15y ago

Tags for this Thread

#aimbot#free#opk#telekill#vip