Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 44
  1. #16
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    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...
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  2. #17
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    c+p codernever's tutorial? I think so.

  3. #18
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    Quote Originally Posted by ᴺᴼᴼᴮ 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.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  4. #19
    -xGhost-'s Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    C:\Sytem32
    Posts
    347
    Reputation
    9
    Thanks
    57
    My Mood
    Relaxed
    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"...



  5. #20
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    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.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  6. #21
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    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

  7. #22
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    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
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  8. #23
    Dieorwin's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    In My House
    Posts
    168
    Reputation
    21
    Thanks
    22
    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.

  9. #24
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Quote Originally Posted by ᴺᴼᴼᴮ 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

  10. The Following User Says Thank You to whit For This Useful Post:

    matypatty (02-04-2011)

  11. #25
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    Quote Originally Posted by whit View Post


    YE..
    Topblast dont get the concept of trolling..He needs to act pro at all times
    hai i gave u and toppy credit- http://www.mpgh.net/forum/164-combat...-noob-h4x.html

  12. #26
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Quote Originally Posted by ᴺᴼᴼᴮ View Post
    Im credited twice lol....

  13. #27
    _Fk127_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    724
    Reputation
    16
    Thanks
    208
    My Mood
    Bitchy
    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.



    Put this image in your signature if you support HTML5 development!

  14. #28
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    655
    Reputation
    70
    Thanks
    1,156
    My Mood
    Bitchy
    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.

  15. The Following User Says Thank You to mmbob For This Useful Post:

    topblast (02-01-2011)

  16. #29
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    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.

  17. #30
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    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.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

Page 2 of 3 FirstFirst 123 LastLast