Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31
  1. #16
    pusongbato's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    at Perez Residence
    Posts
    585
    Reputation
    10
    Thanks
    2,128
    Quote Originally Posted by AeroMan View Post
    I'm confused, why would you look for it here?
    I released them public in the ph section.
    And without subs you could find any code to.
    your right, I saw your post first there in this section before I saw your post in warrock ph section, that's why.

  2. #17
    I'm not lazy, I just really enjoy doing nothing.
    Donator
    _PuRe.LucK*'s Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    idk bruh.
    Posts
    521
    Reputation
    71
    Thanks
    5,650
    My Mood
    Bored
    very nice tut! You took much time of you to do this and only 8 thanks ;(

  3. #18
    Threadstarter
    Upcoming MPGHiean
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy
    Quote Originally Posted by .Paradox* View Post
    very nice tut! You took much time of you to do this and only 8 thanks ;(
    Thanks, it took longer to make then i expected.
    Nothing we can do about that, if 2 people actually read the tutorial it would be allot.
    Most of the guys on this site are to lazy to try something them self.

  4. The Following User Says Thank You to AeroMan For This Useful Post:

    WhiteHat PH (11-28-2014)

  5. #19
    WhiteHat PH's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Some Where I Belong
    Posts
    1,350
    Reputation
    25
    Thanks
    3,100
    My Mood
    Aggressive
    Quote Originally Posted by .Paradox* View Post
    very nice tut! You took much time of you to do this and only 8 thanks ;(
    I think they dont know what is that ! some of there are KIDS

  6. #20
    I'm not lazy, I just really enjoy doing nothing.
    Donator
    _PuRe.LucK*'s Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    idk bruh.
    Posts
    521
    Reputation
    71
    Thanks
    5,650
    My Mood
    Bored
    Quote Originally Posted by WhiteHat PH View Post


    I think they dont know what is that ! some of there are KIDS
    "some" xDD

  7. #21
    jericsond's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Butuan City, Philippines
    Posts
    142
    Reputation
    10
    Thanks
    22
    My Mood
    Stressed
    im almost getting this mid function lesson
    but i got confused with this one because i only have no menu base.
    Code:
    PlaceJMP((BYTE*)CoDJmpStart, (DWORD)CallOfDuty_Check, 7);
    where / how do i put these ?

    Code:
    	__asm mov Check, 1 //We set our check to 1, (Check = Defenition => We entered game!)
    Code:
    HRESULT WINAPI myEndScene(LPDIRECT3DDEVICE9 pDev)
    {
    	if (Check){ //If we entered the game (which the midfunction will tell us.
    		//We execute this code:
    		CFont.MenuRender(pDev, 13, 600, (TCHAR*)Decrypt(STRING_FONT));
    		pMenu->DrawCrosshair(WHITE, 36, pDev);
    		return pEndScene(pDev);
    	}
    }
    tnxx
    i just code but don't cheat.

  8. #22
    Threadstarter
    Upcoming MPGHiean
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy
    Quote Originally Posted by jericsond View Post
    im almost getting this mid function lesson
    but i got confused with this one because i only have no menu base.
    Code:
    You place this in your DllMain
    PlaceJMP((BYTE*)CoDJmpStart, (DWORD)CallOfDuty_Check, 7);
    where / how do i put these ?

    Code:
    This is simply a check i made (defenition on top) to see if we have entered the game, if the function is looped we entered the game so we set the value to 1
    	__asm mov Check, 1 //We set our check to 1, (Check = Defenition => We entered game!)
    Code:
    This is my endscene you dont need to use this in a nomenu
    HRESULT WINAPI myEndScene(LPDIRECT3DDEVICE9 pDev)
    {
    	if (Check){ //If we entered the game (which the midfunction will tell us.
    		//We execute this code:
    		CFont.MenuRender(pDev, 13, 600, (TCHAR*)Decrypt(STRING_FONT));
    		pMenu->DrawCrosshair(WHITE, 36, pDev);
    		return pEndScene(pDev);
    	}
    }
    tnxx

    I hope this answered your questions.

  9. The Following User Says Thank You to AeroMan For This Useful Post:

    jericsond (12-17-2014)

  10. #23
    jericsond's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Butuan City, Philippines
    Posts
    142
    Reputation
    10
    Thanks
    22
    My Mood
    Stressed
    Quote Originally Posted by AeroMan View Post
    I hope this answered your questions.
    oh i see now. you have D3D . and i only have no menu. thanks!
    i just code but don't cheat.

  11. #24
    Ryuzaki™'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    At my headquarter, catching KIRA
    Posts
    1,671
    Reputation
    41
    Thanks
    6,252
    My Mood
    Lurking
    Result:

    Last edited by Ryuzaki™; 12-18-2014 at 07:11 AM.



  12. The Following 2 Users Say Thank You to Ryuzaki™ For This Useful Post:

    AeroMan (12-18-2014),WhiteHat PH (12-19-2014)

  13. #25
    I love myself
    나도 너를 사랑해

    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    167,646,447
    Posts
    5,150
    Reputation
    1220
    Thanks
    7,394
    My Mood
    Stressed
    Hello @AeroMan
    How can you tell that the
    __asm mov Check, 1 // will tell if we entered the game?

  14. #26
    Threadstarter
    Upcoming MPGHiean
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy
    Quote Originally Posted by Jhem View Post
    Hello @AeroMan
    How can you tell that the
    __asm mov Check, 1 // will tell if we entered the game?
    the following code only gets runned when the game loads
    Code:
    //Addresses= Addresses + 400000 (Start address)
    DWORD CoDJmpStart = 0x5BF5D9; //iw3sp.exe + 1BF5D9 - 89 84 8F 34030000 - mov[edi + ecx * 4 + 00000334], eax
    DWORD CoDJmpBack  = 0x5BF5E0; //iw3sp.exe + 1BF5E0 - 5B - pop ebx
    __declspec(naked)void CallOfDuty_Check(void)
    {
    	//We replace the original code here because we simply make a check in this tutorial.
    	//Replacing the eax with your val (mov eax, 10) could set your to 10 instead of dropping.
    	__asm mov[edi + ecx * 0x4 + 0x334], eax //Original code (set ammo)
    	__asm pushad //Push to stack
    
    	__asm mov Check, 1 //We set our check to 1, (Check = Defenition => We entered game!)
    
    	__asm popad //Stack to register
    	__asm jmp[CoDJmpBack] //Jmp back to our original code
    }
    Because the part where we jmp to this function gets only runned when we entered the game.
    For example: The game is loading, we set our ammo to full so we start with a full clip of ammo when we first enter the game.
    This part where the ammo is first set meant we have spawned and our character is ingame.
    So we jmped from that code block (where the game sets it's ammo value -> we entered the game) to our code.
    This means we executed our code the moment the game has set the ammo.
    So then our code sets the 'Check' to value 1, meaning we entered the game.
    Our default value was 0, so if it's 1 it has obviously executed the code.
    At this point we execute our endscene or whatever you would like to.

    Code:
    if(Check){ code here }
    So if we entered the game (Check = 1) the code is true and we execute the code between that check.

    EDIT: __asm mov Check, 1
    can be seen as Check = 1;
    We simply put the value 1 inside Check.

    I hope this makes sence, if not let me know and i'll try to explain it diffrently
    Last edited by AeroMan; 12-20-2014 at 06:45 AM.

  15. The Following 2 Users Say Thank You to AeroMan For This Useful Post:

    [MPGH]Mayion (12-22-2014),WhiteHat PH (01-11-2015)

  16. #27
    firefox800's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    294
    Reputation
    10
    Thanks
    2,136
    My Mood
    Fine
    Nice Tutorial- it's better late than never to read this keep it up

  17. #28
    WhiteHat PH's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Some Where I Belong
    Posts
    1,350
    Reputation
    25
    Thanks
    3,100
    My Mood
    Aggressive
    Thank you my Friend







    When Im gone dont forget me cause I will come back someday.



    Youtube Channel


     


  18. #29
    jericsond's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Butuan City, Philippines
    Posts
    142
    Reputation
    10
    Thanks
    22
    My Mood
    Stressed
    after many time spent reviewing @AeroMan 's tut, i finally understand it's concept. now its time to try coding what I learned.
    thank you i hope i can do this. HAHAHA
    i just code but don't cheat.

  19. #30
    WhiteHat PH's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Some Where I Belong
    Posts
    1,350
    Reputation
    25
    Thanks
    3,100
    My Mood
    Aggressive
    Quote Originally Posted by jericsond View Post
    after many time spent reviewing @AeroMan 's tut, i finally understand it's concept. now its time to try coding what I learned.
    thank you i hope i can do this. HAHAHA
    believe in yourself that you can do it!






    When Im gone dont forget me cause I will come back someday.



    Youtube Channel


     


Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [C/C++ Tutorial] Mid Function Hook
    By MarkHC in forum Programming Tutorials
    Replies: 5
    Last Post: 08-09-2015, 03:06 PM
  2. [Release] Menu Selection v4 Mid Function
    By luizimloko in forum Combat Arms BR Hack Coding/Source Code
    Replies: 65
    Last Post: 08-23-2012, 01:44 PM
  3. [Discussion] Mid Function
    By DiogoMAT in forum Piercing Blow Hack Coding/Source Code
    Replies: 4
    Last Post: 05-30-2012, 01:28 PM
  4. [Source Code] DIP / Present / SetTransform Mid Functions
    By DirecTX_ in forum WarRock Hack Source Code
    Replies: 2
    Last Post: 11-23-2011, 02:07 PM
  5. [Help] Mid function hook
    By giniyat202 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 17
    Last Post: 08-07-2011, 04:33 AM