Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    OBrozz's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    820
    Reputation
    65
    Thanks
    813

    The beginning of a menu! [What does what]

    Menu Tutorial / The basics


    READ^^


    Introduction:
    I found that many people in this section are leeching menus like crazy. I was talking to this kid once saying he made this menu and all, and surprisingly enough the kid asked help for how to change the color for his hack. I was like -.-. Anyways there are some people out there that need this kind of info so don't flame me thinking you're all bad ass. This is simply for those who are uneducated in the art of D3D.









    CODE LATER




  2. The Following 6 Users Say Thank You to OBrozz For This Useful Post:

    CookieMonster™ (04-16-2012),[MPGH]Flengo (04-16-2012),Flengo Jr. (04-16-2012),matypatty (04-16-2012),SpadeCA (04-17-2012),teehee15 (04-16-2012)

  3. #2
    Flengo Jr.'s Avatar
    Join Date
    Oct 2011
    Gender
    female
    Location
    anywhere
    Posts
    608
    Reputation
    113
    Thanks
    197
    My Mood
    Aggressive
    Thanks @OBrozz This is a Great Tut for me since i am starting off.


    http://www.mpgh.net/forum/207-combat...base-yolo.html

    Biggest Leecher in History



    Leeching Libary - NEOHACKS

    Is this so neo[/SPOILER]

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

    OBrozz (04-16-2012)

  5. #3
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    494
    Reputation
    104
    Thanks
    625
    Write another tutorial explaining the logic behind the navigation system.

    Oh no! Vortex is gay!

  6. The Following 3 Users Say Thank You to Saltine For This Useful Post:

    Flengo Jr. (04-16-2012),OBrozz (04-16-2012),Xipher (04-19-2012)

  7. #4
    Reflex-'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    192.168.1.01
    Posts
    6,633
    Reputation
    584
    Thanks
    2,261
    My Mood
    Dead
    Nice job bro.

  8. The Following 2 Users Say Thank You to Reflex- For This Useful Post:

    FinalHazard_ (04-17-2012),OBrozz (04-16-2012)

  9. #5
    OBrozz's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    820
    Reputation
    65
    Thanks
    813
    Quote Originally Posted by Saltine View Post
    Write another tutorial explaining the logic behind the navigation system.
    Okay. Since many people asked for me to stay on mpgh. Ill have more to do. Ill make a series!

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

    Flengo Jr. (04-16-2012)

  11. #6
    SpadeCA's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    57
    Reputation
    7
    Thanks
    22
    My Mood
    Psychedelic
    I thought X and Y was self explanatory.

    Im sorry to say but if you needed a picture to realize that X and Y are coordinates, you need an algebra lesson, badly.

    +1 for the picture though.

    Code:
    Put this:
    Code:
    void FillRGB( int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9* pDevice )
    {
    	D3DRECT rec = { x, y, x + w, y + h };
    	pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, color, 0, 0 );
    }
    void DrawBorder( int x, int y, int w, int h, int px, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice )
    {
    	FillRGB( x, (y + h - px), w, px,	BorderColor, pDevice );
    	FillRGB( x, y, px, h,				BorderColor, pDevice );
    	FillRGB( x, y, w, px,				BorderColor, pDevice );
    	FillRGB( (x + w - px), y, px, h,	BorderColor, pDevice );
    }
    void DrawBox( int x, int y, int w, int h,int px, D3DCOLOR BoxColor, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice )
    {
    	FillRGB( x, y, w, h,		BoxColor, pDevice );
    	DrawBorder( x, y, w, h, px,	BorderColor, pDevice );
    }
    VOID DrawText(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, DWORD color, CHAR *text)
    {
    	RECT rect;
    	SetRect(&rect, x, y, x, y);
    	Directx_Font->DrawText(NULL, text, -1, &rect, DT_LEFT | DT_NOCLIP, color);
    }
    Then This:
    Code:
    int MenuX = 200;
    int MenuY = 200;
    int MenuH = 200;
    int MenuW = 200;
    #define White D3DCOLOR_ARGB (255,255,255,255)
    #define Black D3DCOLOR_ARGB (255,0,0,0)
    #define Red D3DCOLOR_ARGB (255,255,0,0)
    
    if(menu){//Might have to change this.
    DrawBox(MenuX, MenuY, MenuH, MenuW, White, Black, pDevice)//White is the box fill, Black is the Border Color
    DrawText(pDevice, MenuX + 10, MenuY + 10, Red, "OBrozz Hack")
    }
    Last edited by SpadeCA; 04-17-2012 at 05:24 AM.

  12. The Following User Says Thank You to SpadeCA For This Useful Post:

    Flengo Jr. (04-17-2012)

  13. #7
    Departure's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    818
    Reputation
    125
    Thanks
    1,785
    My Mood
    Doh
    Quote Originally Posted by SpadeCA View Post
    Im sorry to say but if you needed a picture to realize that X and Y are coordinates, you need an algebra lesson, badly.
    What has algebra got to do with coordinates??

  14. #8
    OBrozz's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    820
    Reputation
    65
    Thanks
    813
    Quote Originally Posted by Departure View Post
    What has algebra got to do with coordinates??
    Because in most school systems they bring up coordinates and all that stuff in algebra class as part of the curriculum!

    @SpadeCA
    Thanks but to some people even that code means nothing to them. It's like reading a book with words you don't know. I might make anotehr picture describing everything! Most people are to lazy to pick up a C++ text book.

  15. #9
    CookieMonster™'s Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Engine.exe
    Posts
    271
    Reputation
    31
    Thanks
    137
    My Mood
    Yeehaw
    @OBrozz
    Great tutorial.
    Looking forward to reading one of these
    oh and yeah, learning algebra will help alot since like OBrozz said they make it part of their curriculum.

  16. The Following User Says Thank You to CookieMonster™ For This Useful Post:

    OBrozz (04-17-2012)

  17. #10
    OBrozz's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    820
    Reputation
    65
    Thanks
    813
    Quote Originally Posted by CookieMonster™ View Post
    @OBrozz
    Great tutorial.
    Looking forward to reading one of these
    oh and yeah, learning algebra will help alot since like OBrozz said they make it part of their curriculum.
    This kid know's what's up! ^^

  18. #11
    FinalHazard_'s Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    ALT + F4
    Posts
    320
    Reputation
    62
    Thanks
    130
    My Mood
    Cynical
    Nice job bro.

  19. #12
    Refrain's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    136
    Reputation
    22
    Thanks
    28
    Quote Originally Posted by SpadeCA View Post
    ...

    Code:
    VOID DrawText(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, DWORD color, CHAR *text)
    {
    	RECT rect;
    	SetRect(&rect, x, y, x, y);
    	Directx_Font->DrawText(NULL, text, -1, &rect, DT_LEFT | DT_NOCLIP, color);
    }
    ...
    For whatever reason functions like these that people have been C+Ping from wherever annoy the hell out of me.
    They put the device as a parameter when it isn't even used and sometimes doesn't even make sense to put it there like :
    Code:
    DoTelekill(LPDIRECT3DDEVICE9 pDevice){
    ...
    }
    What?

  20. #13
    Departure's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    818
    Reputation
    125
    Thanks
    1,785
    My Mood
    Doh
    lol Algebra has nothing to do with X,Y positions, the only common thing is when calculating algebra they can use x and y as a definition, but you can also use any other letter of the alphabet as a definition, X, Y is a just a position on screen aka a coordinates

  21. The Following 2 Users Say Thank You to Departure For This Useful Post:

    Saltine (04-17-2012),Xipher (04-19-2012)

  22. #14
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    494
    Reputation
    104
    Thanks
    625
    Quote Originally Posted by Departure View Post
    lol Algebra has nothing to do with X,Y positions, the only common thing is when calculating algebra they can use x and y as a definition, but you can also use any other letter of the alphabet as a definition, X, Y is a just a position on screen aka a coordinates
    He was referring to in graphing. In general, the horizontal axis is referred to as the X axis, and the vertical as the Y axis. You already know this obviously, but most people learn this in Algebra graphing units.

    Oh no! Vortex is gay!

  23. The Following 3 Users Say Thank You to Saltine For This Useful Post:

    OBrozz (04-18-2012),SpadeCA (04-25-2012),Xipher (04-19-2012)

  24. #15
    xXAvalonXx's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    i want to learn how to code, any suggestion how i begin? thx

Page 1 of 2 12 LastLast

Similar Threads

  1. What does the acronym "QFT" stand for? o.o
    By gdog163 in forum Suggestions, Requests & Help
    Replies: 1
    Last Post: 12-12-2009, 01:09 AM
  2. What does the CA Error lead to?
    By my80chevette in forum C++/C Programming
    Replies: 3
    Last Post: 10-30-2009, 04:37 PM
  3. What does the word rap mean...?
    By viprk24 in forum Art & Graphic Design
    Replies: 4
    Last Post: 08-18-2009, 04:58 AM
  4. Error on the hack what does it mean?
    By mexican in forum Combat Arms Hacks & Cheats
    Replies: 1
    Last Post: 01-05-2009, 04:15 PM
  5. Does anyone know what does the program unlocker do.
    By MisticSoldier in forum Spammers Corner
    Replies: 1
    Last Post: 10-24-2008, 07:10 PM