Source Code Example

Posts 1630 of 44 · Page 2 of 3
this is not a code example-.-
Code:
bool cReadys::ReadyForHook()
{
	if(GetModuleHandle( L"d3d9.dll"     ) != NULL
	&& this->FinAddresses == true)
		return true;
	else
		return false;
}
//---------------------------------------------------------------------
bool cReadys::ReadyForSearch()
{
	if(GetModuleHandle( L"ClientFX.fxd" ) != NULL 
	&& GetModuleHandle( L"CShell.dll"   ) != NULL)
		return true;
	else
		return false;
}

//---------------------------------------------------------------------
bool cReadys::IsIngame()
{
	if(Hack.Readys.FinAddresses == false)
		return false;

	DWORD* LTBase = (DWORD*)Hack.Addresses****B;
	IsConnected_t pConnected = *(IsConnected_t*)(*LTBase + 0x8C);
	if(*(__int8*)Hack.Addresses.GameStatus == 1)
		return pConnected();

	return false;
}
//---------------------------------------------------------------------
void cMisc::SetUp3D()
{
	Font = NULL;
	AddFontMemResourceEx((void*)Font_Zekton,sizeof(Font_Zekton),0,&Font);
	Hack.Misc.Fontname = "Zekton";
}
//---------------------------------------------------------------------
void cMisc::SetUp()
{
	Hack.Misc****nConsoleCommand = (RunConsoleCommand_t)Hack.Addresses.RCC;
	Hack.Readys.WasIngame = false;
}

//////////////////////////////////////////////////////////////////
if(Hack.Readys.IsIngame() && Hack.Readys.WasIngame)
	{
		if(FPS.Enabled && !FPS.Check){
			Hack.Misc****nConsoleCommand("ShowFPS 1");
			FPS.Check = true;
		}else if(!FPS.Enabled && FPS.Check){
			Hack.Misc****nConsoleCommand("ShowFPS 0");
			FPS.Check = false;}

		if(NX.Enabled && !NX.Check)
			Hack.Misc****nConsoleCommand("SkelModelStencil 1");
		else if(!NX.Enabled && NX.Check)
			Hack.Misc****nConsoleCommand("SkelModelStencil 0");

		if(!FLHV.Slider.value)
			if(Hover.Enabled && GetAsyncKeyState(Hack.Values.Hoverkey))
				Hack.Misc****nConsoleCommand("PlayerGravity 0");
			else
				Hack.Misc****nConsoleCommand("PlayerGravity -1099");
		else
			if(Fly.Enabled && GetAsyncKeyState(Hack.Values.Flykey))
				Hack.Misc****nConsoleCommand("PlayerGravity 500");
			else
				Hack.Misc****nConsoleCommand("PlayerGravity -1099");
	}
This is a code example...
c+p codernever's tutorial? I think so.
Quote Originally Posted by NOOB View Post


Code:
bool IsGameReadyForHook
wtf is a bool?
TELL ME YOU ARE JOKING.. IF YOU DO NOT KNO WHAT A BOOL IS.. LEAVE THIS SECTION NOW.

And What is wrong with bool IsGameReadyForHook() That is what is what was used before all of u people got into classes and stuff and i think it is still being used now. All is that the function name might be changed.
Quote Originally Posted by topblast View Post


TELL ME YOU ARE JOKING.. IF YOU DO NOT KNO WHAT A BOOL IS.. LEAVE THIS SECTION NOW.

And What is wrong with bool IsGameReadyForHook() That is what is what was used before all of u people got into classes and stuff and i think it is still being used now. All is that the function name might be changed.
I use bool sometimes, I think he meant it in the way of "Who uses bool these days"...
Quote Originally Posted by -xGhost- View Post
I use bool sometimes, I think he meant it in the way of "Who uses bool these days"...
What u mean who uses bools.

A bool is a 1bit Integer the way i see it. So i am to use a Int8, int16, int 32, int64 just to do true or false.

and he said WTF is a bool.
Quote Originally Posted by topblast View Post


TELL ME YOU ARE JOKING.. IF YOU DO NOT KNO WHAT A BOOL IS.. LEAVE THIS SECTION NOW.

And What is wrong with bool IsGameReadyForHook() That is what is what was used before all of u people got into classes and stuff and i think it is still being used now. All is that the function name might be changed.
i was trolling him

da bool is da boolean is da true or false
Quote Originally Posted by -xGhost- View Post
I use bool sometimes, I think he meant it in the way of "Who uses bool these days"...
bool is one of the best types at C++
bool use just on Byte-> not so much RAM is in use
int use four Bytes
1024 bools are one KByte
1024 ints are four KBytes

just an example
Quote Originally Posted by NOOB View Post


i was trolling him

da bool is da boolean is da true or false
YE..
Topblast dont get the concept of trolling..He needs to act pro at all times
Quote Originally Posted by topblast View Post


What u mean who uses bools.

A bool is a 1bit Integer the way i see it. So i am to use a Int8, int16, int 32, int64 just to do true or false.

and he said WTF is a bool.
Hes trolling . and look at the GetModuleHandle parameters.
Quote Originally Posted by topblast View Post


What u mean who uses bools.

A bool is a 1bit Integer the way i see it. So i am to use a Int8, int16, int 32, int64 just to do true or false.

and he said WTF is a bool.
A bool is 8 bits, you know (at least in 99% of C++ implementations). x86 assembly can't access a single bit with just a mov operator.
Quote Originally Posted by topblast View Post


What u mean who uses bools.

A bool is a 1bit Integer the way i see it. So i am to use a Int8, int16, int 32, int64 just to do true or false.

and he said WTF is a bool.
A boolean isnt a 1 bit integer. Its a construct built ontop of a pre existing data type.
Quote Originally Posted by mmbob View Post
A bool is 8 bits, you know (at least in 99% of C++ implementations). x86 assembly can't access a single bit with just a mov operator.
If so... THEN WHY THE FUCK DONT THEY JUST USE BYTES......

I cannot understand ASM atm.
Bool as in Boolean...

And also I think this is okay...

It won't work, and it should be in code wrap but it's ok.

This person probably needs to learn how to code for combat arms though.
Posts 1630 of 44 · Page 2 of 3
This thread is closed for replies.

Tags for this Thread

Need help?