FRUSTRATED!

Posts 16–30 of 40 · Page 2 of 3
Quote Originally Posted by NOOB View Post
Console command hacks must called in Present.
Notice how his hack is a hotkey ? o.o

Quote Originally Posted by yaserifti1 View Post
Yep, look -
Code:
#include <windows.h>
#include <stdio.h>
bool chams = false;
bool cross = false;
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
void __cdecl CPush(const char *Command, char *Value)
{
char *PCommand = new char[256]; 
sprintf(PCommand, "%s %s", Command, Value); 
DWORD LTC = 0x00485E10;
void *Control = (void*)LTC; 
__asm 
{
push PCommand;
call Control;
add esp, 4;
}
}
void main() {
while(true) {

if(GetAsyncKeyState(VK_NUMPAD1)&1){
chams =! chams;
}
if(chams)
{
CPush("SkelModelStencil", "1");
} else {
CPush("SkelModelStencil", "0");
}
if(GetAsyncKeyState(VK_NUMPAD2)&1){
cross =! cross;
}
if(cross) {
CPush("CrossHairR", "255");
} else {
CPush("CrossHairR", "0");
}
}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}


You need to return the bool as true everytime you activate a hack.

Example :
if(cross) {
CPush("CrossHairR", "255");
bool cross = true;
}else{
CPush("CrossHairR","0"):
bool cross = false;
}

Quote Originally Posted by Fabolous View Post


Notice how his hack is a hotkey ? o.o





You need to return the bool as true everytime you activate a hack.

Example :
if(cross) {
CPush("CrossHairR", "255");
bool cross = true;
}else{
CPush("CrossHairR","0"):
bool cross = false;
}

K trying, also I had it like that at first, but somebody told me that it's the same thing, just the way I have is more organized. Guess I was right
Quote Originally Posted by yaserifti1 View Post
K trying, also I had it like that at first, but somebody told me that it's the same thing, just the way I have is more organized. Guess I was right
It should work fine now , if not then something is wrong with your base.
I use,

Code:
void PushToConsole(const char* cmd)
{
	_asm
	{
		PUSH cmd
		MOV EAX, 0x485E10
		CALL EAX
		ADD ESP, 0x4
	}
}
With,

Code:
	if(NxChams) {
		{
			PushToConsole("SkelModelStencil 1");
		}
	}
Quote Originally Posted by Fabolous View Post


It should work fine now , if not then something is wrong with your base.
It still won't work.
Quote Originally Posted by -xGhost- View Post
I use,

Code:
void PushToConsole(const char* cmd)
{
	_asm
	{
		PUSH cmd
		MOV EAX, 0x485E10
		CALL EAX
		ADD ESP, 0x4
	}
}
With,

Code:
	if(NxChams) {
		{
			PushToConsole("SkelModelStencil 1");
		}
	}
It just looks so un organized, it bothers me

Quote Originally Posted by NOOB View Post


It still won't work.
Sadly, he's right. How do I fix this. Somebody please help!
Quote Originally Posted by yaserifti1 View Post
It just looks so un organized, it bothers me


Sadly, he's right. How do I fix this. Somebody please help!
Sorry im out of options. I tried to help
Quote Originally Posted by Fabolous View Post


Sorry im out of options. I tried to help
Yeah I know, sorry for the waste of time
Quote Originally Posted by yaserifti1 View Post
Yeah I know, sorry for the waste of time
It's okay, my time isnt wasted helping people
yo
Quote Originally Posted by Fabolous View Post


It's okay, my time isnt wasted helping people
can you plz tell me where this code gose

for ( int i = 0; i < 16; i++ )
{

PlayerInfo* pPlayer = GetPlayerByIndex( ulThis,i,0);
if(pPlayer != 0 && pPlayer->obj != 0 && pPlayer->IsDead ==0){

pPlayer->obj->origin.x
Quote Originally Posted by Fabolous View Post


It's okay, my time isnt wasted helping people
Okay, .
Can somebody please help me?
Get a menu base. You can't use ptc without calling it from PresentScene
Quote Originally Posted by flameswor10 View Post
Get a menu base. You can't use ptc without calling it from PresentScene
Wait so its the end of hotkeys? How did ghost get his to work tho? im confused
Quote Originally Posted by Fabolous View Post


Wait so its the end of hotkeys? How did ghost get his to work tho? im confused
His is a d3d base stripped down
Quote Originally Posted by flameswor10 View Post
His is a d3d base stripped down
Thats quite smart but stupid lol. O well .

@ OP you should do the same thing as Ghost did. Download a d3d base and strip it down to hotkey
Posts 16–30 of 40 · Page 2 of 3

Post a Reply

Tags for this Thread

None

Talk with us