Results 1 to 4 of 4
  1. #1
    P.o.X
    P.o.X is offline
    Member-in-training P.o.X's Avatar
    Join Date
    2012 May
    Posts
    64
    Thanks
    11
    Thanked 11 Times in 7 Posts
    Rep Power
    0

    [Request-C#]Trainer Project

    Hey dead friends,

    The story begins like this:
    -I have the pointers of the max health value and current health value
    -I succsed open game proccess and read the address of max and curr hp(Using Black Magic library)

    And what i need is:
    -I want to create a progressBar that when the trainer start is getting the value of max HP
    -And when the hp start to lose from value progress bar should do same so like a hp bar.
    -How can i do that I need help

    Best Regard P.o.X

  2. #2
    AikaMaster
    AikaMaster is offline
    Senior Member AikaMaster's Avatar
    Join Date
    2012 May
    Location
    Inside you mind!
    Posts
    245
    Thanks
    57
    Thanked 642 Times in 68 Posts
    Rep Power
    0
    You can add a ProgressBar to your form, and to assign value you can do like this: progressBar1.Value = {your int HP value}
    So you set a Timer to read your HP value each 100ms and then assign it to progressBar. Feel free to add me on skype if you have more doubts.

  3. #3
    monsterhunter
    monsterhunter is offline
    Member-in-training monsterhunter's Avatar
    Join Date
    2012 Apr
    Posts
    181
    Thanks
    65
    Thanked 203 Times in 57 Posts
    Rep Power
    0
    aika master me adiciona no skype depois ... hendrick.war queria tirar umas duvidas


    aika master add me on skype later ... hendrick.war wanted to take some questions
    Anime One Piece muito show

  4. #4
    P.o.X
    P.o.X is offline
    Member-in-training P.o.X's Avatar
    Join Date
    2012 May
    Posts
    64
    Thanks
    11
    Thanked 11 Times in 7 Posts
    Rep Power
    0

    Red face Solved

    Solved
    Code:
    progressBar2.Maximum = Convert.ToInt32(MaxHPValue);
     progressBar2.Value = Convert.ToInt32(CurrentHP);
    TY all for informations,yizheng helped me out.
    u can TC this topic

Similar Threads

  1. [Info] Check Request "Trainer Free AIKABR"
    By leeonardo in forum Aika Online
    Replies: 18
    Last Post: 2013-02-24, 03:54 PM
  2. [Request] Trainer Hp Exp project for aikaBr
    By jonas2 in forum Aika Online
    Replies: 9
    Last Post: 2012-09-07, 11:20 PM
  3. is anyone playing project blackout here?
    By lannyboy in forum General Talk
    Replies: 0
    Last Post: 2012-07-20, 04:59 PM
  4. [Request] Project A3 Age of Sovereign Part 5
    By CriticalError in forum Research Requests
    Replies: 0
    Last Post: 2012-02-14, 01:25 AM
  5. Nid HELP on my project pls (unpacking)
    By pornpinoy in forum Research Requests
    Replies: 3
    Last Post: 2011-11-25, 05:25 PM
Visitors found this page by searching for:

c# trainer hp bar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •