[Help] PTC commands fail to function!

Posts 1–14 of 14 · Page 1 of 1
[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!
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
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!
Quote Originally Posted by NOOBJr 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
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
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]
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.
Quote Originally Posted by NOOBJr 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
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!
Quote Originally Posted by NOOBJr 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
why are you checking to see if space is being pressed?
So when the space bar is pressed i can fly!
Combat arms already does that for you. Checks if spacebar is pressed and jumps to specified height.
o ok! thanks i try and fix that!
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us