Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Acea's Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Home of the elks
    Posts
    346
    Reputation
    80
    Thanks
    2,216
    My Mood
    Stressed

    My Vertical Health Bars

    Well guys, I took the liberty of converting my ESP Health bars to gellins base as that's what 99% of you use since you can't write your own :/
    Anyway Happy c+ping

    [IMG]https://i1091.photobucke*****m/albums/i400/ghosthuner78/Combat-Arms_17_zps18d4d855.jpg[/IMG]

    Code:
    VOID DrawHealthBars( D3DXVECTOR3 Head, D3DXVECTOR3 Foot, WORD health, bool bCheckSpawnS, bool iSpawnCheck )
    {
        DWORD dwColor;
     
    	D3DXVECTOR3 Box =  Head - Foot;
        if( Box.y < 0 )
                Box.y *= -1;
     
        int BoxWidth = (int)Box.y / 2;
        int DrawX = (int)Head.x - ( BoxWidth / 2 );
        int DrawY = (int)Head.y;
     
        DWORD dwDrawWidth = health * (Foot.y - Head.y) / 100;
     
        if( health > 100 )
                health = 100;
     
        if( health > 75 )
                dwColor = 0xFF00FF00;
        else if( health > 40 )
                dwColor = 0xFFFF9B00;
        else
                dwColor = 0xFFFF0000;
     
        if( bCheckSpawnS )
                if( iSpawnCheck )
                        dwColor = 0xFF000000;
           
            
    	FillRGB(DrawX - 6, DrawY - 1, 5, (int)Box.y + 2, BLACK,m_pD3Ddev);
    	FillRGB(DrawX - 5, DrawY, 3, dwDrawWidth, dwColor,m_pD3Ddev);
    }

  2. The Following 4 Users Say Thank You to Acea For This Useful Post:

    BlueeD (02-11-2019),[MPGH]Flengo (02-18-2013),Hacker Fail (02-17-2013),pDevice (02-17-2013)

  3. #2
    Aborted's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    18,187
    Reputation
    3509
    Thanks
    6,751
    My Mood
    Inspired
    Stop giving away free shit. Make people figure it out for themselves.
    You were seeking strength, justice, splendour.
    You were seeking love.
    Here is the pit, here is your pit.
    Its name is Silence..


  4. #3
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    well done on this. i have never personally had esp work when coding it myself and i dont like to c+p since 'm finally starting to get it lol

    i'm thinkin about surprising people and showing that even a noob can recreate an old school a2wesome d3d menu like eclipse. i have the knowledge and the functions for everything except animation
    Last edited by supercarz1991; 02-17-2013 at 12:26 AM.

    commando: You're probably the best non-coder coder I know LOL


  5. #4
    OpKilts's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    The Interwebs
    Posts
    94
    Reputation
    57
    Thanks
    425
    My Mood
    Aggressive
    i love your Hack Acea, So... Whats the word? help anyone?
    ULTIMATE GAY'S LIST
    • Matypatty
    • DisOwned


    Error: Max Thanks Reached


    TASK'S
    1. (Complete)Make Simple Menu For Combat Arms NA
    2. (Complete) Reach 50 Post's
    3. (In Progress)Troll Nerdy Kids
    4. (Complete)Get a job at KFC

  6. #5
    R4v0r's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    London
    Posts
    234
    Reputation
    11
    Thanks
    142
    My Mood
    Amazed
    Nice work, though I like this more than horizontal

  7. #6
    TokolocoSK's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Comendo Peru Pato Frango Búrguer.
    Posts
    2,874
    Reputation
    65
    Thanks
    6,858
    My Mood
    Yeehaw
    very nice, can use also the bones of the head and foot ...
    Last edited by TokolocoSK; 02-17-2013 at 05:35 AM.



  8. #7
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    @scarface97 This is not a hard concept.. every 10 HP or w.e. the bar goes down 1 PX (that's what is use for horizontal bars). This is not nearly as bad being released as past thingsbro haha

    Nevertheless I have not seen anyone else use vert bars, so well done
    Last edited by CAFlames; 02-17-2013 at 09:11 AM.

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  9. #8
    kssiobr's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    Nos braços do Pai Celestial...
    Posts
    726
    Reputation
    10
    Thanks
    333
    My Mood
    Cheeky
    Quote Originally Posted by CAFlames View Post
    @scarface97 This is not a hard concept.. every 10 HP or w.e. the bar goes down 1 PX (that's what is use for horizontal bars). This is not nearly as bad being released as past thingsbro haha

    Nevertheless I have not seen anyone else use vert bars, so well done
    I've seen an ESP Health and so okay perfect :
    https://i.imgur.com/Pn4iK.jpg

  10. #9
    WizdomNKush's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    __ASM
    Posts
    160
    Reputation
    36
    Thanks
    69
    My Mood
    Inspired
    Quote Originally Posted by kssiobr View Post

    I've seen an ESP Health and so okay perfect :
    https://i.imgur.com/Pn4iK.jpg
    that menu looks epic

  11. #10
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by kssiobr View Post

    I've seen an ESP Health and so okay perfect :
    https://i.imgur.com/Pn4iK.jpg
    Nevertheless, it still is not that hard haha.

    I'll post a pic of my menu shortly :P

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  12. #11
    Margherita's Avatar
    Join Date
    Jan 2011
    Gender
    female
    Posts
    11,299
    Reputation
    783
    Thanks
    1,287
    My Mood
    Bashful
    Nice job.
    Vertical bars look sick
    PM Me | VM Me | Rules

    MARGHERITA

  13. #12
    R4v0r's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    London
    Posts
    234
    Reputation
    11
    Thanks
    142
    My Mood
    Amazed
    Ama step to vertical bars

  14. #13
    Hacker Fail's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    C++
    Posts
    2,136
    Reputation
    242
    Thanks
    12,562
    Hmm, nice job!!
    Member Level 1 since November, 2011
    Contributor since March, 2015
    Game Hacking Team : 06/14/2017

     

  15. #14
    Aborted's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    18,187
    Reputation
    3509
    Thanks
    6,751
    My Mood
    Inspired
    Quote Originally Posted by CAFlames View Post
    @scarface97 This is not a hard concept.. every 10 HP or w.e. the bar goes down 1 PX (that's what is use for horizontal bars). This is not nearly as bad being released as past thingsbro haha

    Nevertheless I have not seen anyone else use vert bars, so well done
    Exactly my point. It is incredibly simple to do. Why not figure it out and do it yourself? Giving freebies is indeed nice, but it promotes a stagnation of forward thinking and original ideas. Creates a swarm of C+Ping coders.
    You were seeking strength, justice, splendour.
    You were seeking love.
    Here is the pit, here is your pit.
    Its name is Silence..


  16. #15
    Departure's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    805
    Reputation
    125
    Thanks
    1,794
    My Mood
    Doh
    nice work, just a suggestion... you really need to stop using nested " if else" statements like that.
    DJector.Lite
    Get the advantages of new injection technology, with 1 click easy to use injector, work for all platforms x86/x64

    Download

    D-Jector
    Get the most advanced and full featured injector around, works for any game and any platform x86/x64, nothing comes even close.
    Download

Page 1 of 2 12 LastLast

Similar Threads

  1. Health Bar
    By jimmynguyen3030 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 9
    Last Post: 11-07-2010, 03:44 AM
  2. Health Bar mod?
    By ZKPB in forum Combat Arms Mod Discussion
    Replies: 10
    Last Post: 07-08-2010, 04:53 PM
  3. Health bars and Name tags
    By ngh555 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 19
    Last Post: 06-22-2010, 07:44 PM
  4. Health bar and Name tags
    By ngh555 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 1
    Last Post: 06-20-2010, 03:10 PM
  5. hack releases should have poll / health bar (suggestion)
    By djishere in forum Suggestions, Requests & General Help
    Replies: 2
    Last Post: 09-04-2009, 11:05 PM