Damage Counter?

Results 1 to 13 of 13
  1. #1
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Damage Counter?

    Is it possible to done DamageCounter on gunz? if yes then how..?


  2. #2
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Damage Counter?

    Count damage dealt/sent to a player through ZCharacter::OnDamaged? Can't really remember which OnDamaged is it. It's really basic.

  3. #3
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Damage Counter?

    Quote Originally Posted by Vusion View Post
    Count damage dealt/sent to a player through ZCharacter::OnDamaged? Can't really remember which OnDamaged is it. It's really basic.
    How about this:
    Code:
    sprintf(szName, "Damage: %s",(void)ZGetGame()->m_pMyCharacter->InitAccumulationDamage);

  4. #4
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Damage Counter?

    More like

    Code:
    int DamageCount = 0;
    
    DamageCount += fDamage;
    idk, didn't really try to do it. not yet.

  5. #5
    Apprentice Matheusinc is offline
    MemberRank
    Jun 2010 Join Date
    11Posts

    Re: Damage Counter?

    char szFmt[256];
    memset( szFmt, 0, 256 );
    sprintf( szFmt, "(%s) %d(HP) e %d(AP) ", MyHPAndAPWithName, MyHPValue, MyAPValue );
    ZChatOutput( szFmt );
    old, I calculate that one just right.

  6. #6
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Damage Counter?

    Quote Originally Posted by Matheusinc View Post
    char szFmt[256];
    memset( szFmt, 0, 256 );
    sprintf( szFmt, "(%s) %d(HP) e %d(AP) ", MyHPAndAPWithName, MyHPValue, MyAPValue );
    ZChatOutput( szFmt );
    old, I calculate that one just right.
    Uhh, What you are talking about?

  7. #7
    Proficient Member Mr_Troy is offline
    MemberRank
    Jun 2007 Join Date
    172Posts

    Re: Damage Counter?

    Quote Originally Posted by Vusion View Post
    Count damage dealt/sent to a player through ZCharacter::OnDamaged? Can't really remember which OnDamaged is it. It's really basic.
    Well for that to work, you must have an anti-lead to have the realtime damage. Though antilead doesn't include melee items, you wont be able to count damage accurately.

  8. #8
    Member RavenGamers is offline
    MemberRank
    Nov 2011 Join Date
    87Posts

    Re: Damage Counter?

    Quote Originally Posted by Mr_Troy View Post
    Well for that to work, you must have an anti-lead to have the realtime damage. Though antilead doesn't include melee items, you wont be able to count damage accurately.
    The 'RealDamage' already include.

  9. #9
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Damage Counter?

    What about fActualDamage?

  10. #10
    Account Upgraded | Title Enabled! ThunderZ is offline
    MemberRank
    Oct 2011 Join Date
    396Posts

    Re: Damage Counter?

    Quote Originally Posted by Mr_Troy View Post
    Well for that to work, you must have an anti-lead to have the realtime damage. Though antilead doesn't include melee items, you wont be able to count damage accurately.
    You don't need an anti lead to calculate the damage.. you can easily do this w.o an anti lead lol!

  11. #11
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Damage Counter?

    Quote Originally Posted by thunderz1337 View Post
    You don't need an anti lead to calculate the damage.. you can easily do this w.o an anti lead lol!
    Okey, give me hints??

  12. #12
    Proficient Member Mr_Troy is offline
    MemberRank
    Jun 2007 Join Date
    172Posts

    Re: Damage Counter?

    Quote Originally Posted by thunderz1337 View Post
    You don't need an anti lead to calculate the damage.. you can easily do this w.o an anti lead lol!
    I haven't looked into it any further, thanks for correcting me.

  13. #13
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Damage Counter?

    Quote Originally Posted by Mr_Troy View Post
    I haven't looked into it any further, thanks for correcting me.
    Can you please look and give me hints?



Advertisement