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,204
    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



    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 3 Users Say Thank You to Acea For This Useful Post:

    [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
    Location
    Shitpost Defense
    Posts
    17,471
    Reputation
    3076
    Thanks
    6,394
    My Mood
    Twisted
    Stop giving away free shit. Make people figure it out for themselves.
    When the earth is changed into a humid dungeon,
    In which Hope like a bat
    Goes beating the walls with her timid wings
    And knocking her head against the rotten ceiling;
    When the rain stretching out its endless train
    Imitates the bars of a vast prison
    And a silent horde of loathsome spiders
    Comes to spin their webs in the depths of our brains,
    All at once the bells leap with rage
    And hurl a frightful roar at heaven,
    Even as wandering spirits with no country
    Burst into a stubborn, whimpering cry.
    — And without drums or music, long hearses
    Pass by slowly in my soul; Hope, vanquished,
    Weeps, and atrocious, despotic Anguish
    On my bowed skull plants her black flag.

  4. #3
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North of Hell, South of Heaven
    Posts
    6,067
    Reputation
    323
    Thanks
    3,320
    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 01: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
    380
    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
    141
    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,784
    My Mood
    Yeehaw
    very nice, can use also the bones of the head and foot ...
    Last edited by TokolocoSK; 02-17-2013 at 06:35 AM.



  8. #7
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,014
    Reputation
    202
    Thanks
    2,934
    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 10:11 AM.

    Current Works:
    ---Horror Game






    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
    330
    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 :
    http://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 :
    http://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,014
    Reputation
    202
    Thanks
    2,934
    My Mood
    Twisted
    Quote Originally Posted by kssiobr View Post

    I've seen an ESP Health and so okay perfect :
    http://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






    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,306
    Reputation
    783
    Thanks
    1,282
    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
    141
    My Mood
    Amazed
    Ama step to vertical bars

  14. #13
    Hacker Fail's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    C++
    Posts
    1,852
    Reputation
    200
    Thanks
    7,407
    Hmm, nice job!!
    Member Level 1 since November, 2011
    Contributor since March, 2015

     

  15. #14
    Aborted's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    Shitpost Defense
    Posts
    17,471
    Reputation
    3076
    Thanks
    6,394
    My Mood
    Twisted
    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.
    When the earth is changed into a humid dungeon,
    In which Hope like a bat
    Goes beating the walls with her timid wings
    And knocking her head against the rotten ceiling;
    When the rain stretching out its endless train
    Imitates the bars of a vast prison
    And a silent horde of loathsome spiders
    Comes to spin their webs in the depths of our brains,
    All at once the bells leap with rage
    And hurl a frightful roar at heaven,
    Even as wandering spirits with no country
    Burst into a stubborn, whimpering cry.
    — And without drums or music, long hearses
    Pass by slowly in my soul; Hope, vanquished,
    Weeps, and atrocious, despotic Anguish
    On my bowed skull plants her black flag.

  16. #15
    Departure's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    818
    Reputation
    125
    Thanks
    1,785
    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, 04:44 AM
  2. Health Bar mod?
    By ZKPB in forum Combat Arms Mod Discussion
    Replies: 10
    Last Post: 07-08-2010, 05: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, 08: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, 04:10 PM
  5. hack releases should have poll / health bar (suggestion)
    By djishere in forum Suggestions, Requests & Help
    Replies: 2
    Last Post: 09-05-2009, 12:05 AM