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 › [Help] PTC commands fail to function!

[Help] PTC commands fail to function!

Posts 1–14 of 14 · Page 1 of 1
NO
NOOBJr
[Help] PTC commands fail to function!
Ok well I'm using whits base and in game the ptc commands don't work Ive tried almost every possible thing to fix it. All my ptc commands are made properly. Coderz help!

Globals:
[PHP]int Fly = 0;[/PHP]

void cMenu::RenderMenu(void)
[PHP]AddItem(" Player ", Opt_Folder, &player, 2, MENUFOLDER);
if(player){
AddItem("Fly Hack" , Opt_on_off , &Fly , 2, MENUITEM);//Fly Hack
}[/PHP]


PushToConsole Method:
[PHP]void __cdecl cBase::PushToConsole( const char* szCommand )
{

DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD CNADDIE = ///////I Have the update one////////////;
void* CONoff = ( void* )*( DWORD* )(CNADDIE);
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
}[/PHP]

void cBase::Update(void):
[PHP]void cBase::Update(void)
{

while(1)
{
if( Fly > 0 ){
if(GetAsyncKeyState(VK_SPACE)>0)
{
PushToConsole("PlayerGravity -800");
}else{
PushToConsole("PlayerGravity 800");
}
}[/PHP]



Then all the BLABLABLABLA Shit Is there anything in here that could cause this? The fly hack does not work!
#1 · 15y ago
markoj
markoj
Is the fly hack the only one that doesn't work, do you have auto on hacks that also don't work? If not try that and if they font work then your most likely not even calling your hackthread
#2 · 15y ago
NO
NOOBJr
Well Chams work. Seems that only certain ptc cammands don't work in my hack. For example Glitcher, flyhack,speed hack,(Majoraty). And chams,opk telekill, work? its so god daum weird!
#3 · 15y ago
Xlilzoosk8rX
Xlilzoosk8rX
first,
[code]AddItem(" Player ", Opt_Folder, &player, 2, MENUFOLDER);
if(player){
AddItem("Fly Hack" , Opt_on_off , &Fly , 2, MENUITEM);//Fly Hack
}
the 2 on the first line is only correct if you have 2 containing items in that folder.
so if fly hack is the only one you have then the number should be a 1.

second
Code:
void cBase::Update(void)
{

    while(1)
    {
if( Fly > 0 ){
that clooks a bit weird but it may be correct.
i would have to look over the code itsself because i use a different base
#4 · 15y ago
Amatowarrior
Amatowarrior
Use this PTC method, it works for me.
[php]void __cdecl PushToConsole(char* szVal) //PushToConsole Method
{
void* vSetVar = (void*)0x46F670; //ALT LTClient
_asm
{
push szVal
call vSetVar
add esp, 4
}
}[/php]
#5 · 15y ago
markoj
markoj
Quote Originally Posted by Zane Slayman View Post
Well Chams work. Seems that only certain ptc cammands don't work in my hack. For example Glitcher, flyhack,speed hack,(Majoraty). And chams,opk telekill, work? its so god daum weird!
Then do it exactly like the working hacks lol, I dont see why it wouldn't work
#6 · 15y ago
NO
NOOBJr
markoj dont you think i would try that first before coming here! And ok ill do what Xlilzoosk8rX. Amatowarrior mine works fine, but now i have a backup. THanks.
#7 · 15y ago
markoj
markoj
Quote Originally Posted by Zane Slayman View Post
markoj dont you think i would try that first before coming here! And ok ill do what Xlilzoosk8rX. Amatowarrior mine works fine, but now i have a backup. THanks.
I don think you did, the tinniest mistake could fck you up
#8 · 15y ago
NO
NOOBJr
Yeah ik coding is fun but a huge pain. Thanks so far guyz. im not on my cpu so i cant try it. but at 5:00 ill be back!
#9 · 15y ago
Xlilzoosk8rX
Xlilzoosk8rX
Quote Originally Posted by Zane Slayman View Post
Yeah ik coding is fun but a huge pain. Thanks so far guyz. im not on my cpu so i cant try it. but at 5:00 ill be back!
if you need anymore help pm me and i will help you out as much as possible
#10 · 15y ago
whatup777
whatup777
why are you checking to see if space is being pressed?
#11 · 15y ago
NO
NOOBJr
So when the space bar is pressed i can fly!
#12 · 15y ago
whatup777
whatup777
Combat arms already does that for you. Checks if spacebar is pressed and jumps to specified height.
#13 · 15y ago
NO
NOOBJr
o ok! thanks i try and fix that!
#14 · 15y ago
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help]Send Command To Console FunctionBy ♪~ ᕕ(ᐛ)ᕗ in Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    10Last post 15y ago
  • help with adding addies besides PTC commands in MenuBy deathninjak0 in Combat Arms Hack Coding / Programming / Source Code
    3Last post 16y ago
  • [Help] Finding PTC CommandsBy DeadLinez in Combat Arms Hack Coding / Programming / Source Code
    10Last post 16y ago
  • help it says ''failed too update protection modules''By xphatzx in Suggestions, Requests & General Help
    0Last post 17y ago
  • help me to code this functionBy FrancYescO in Visual Basic Programming
    0Last post 18y ago

Tags for this Thread

None