Damage Counter bug

Results 1 to 5 of 5
  1. #1
    Member LeGenDGuNz is offline
    MemberRank
    Apr 2012 Join Date
    73Posts

    ! Damage Counter bug

    Hey guys, look, I have a problem with the Damage Counter command...
    the 1st problem is that the "Dealt Damage" is counting only Sword hits and doesn't count any damage caused by sg, revs or any other weapon... (the taken damage is fine)
    the 2nd problem is that the whole command (Dealt & Taken) doesn't reset to 0 each round so it's just keep growing and growing from round to round...
    Please help me to fix that bug cuz i'm realy pissed off :(


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

    Re: Damage Counter bug

    If you're using the released damage counter, put this code at the bottom of ZMatch::InitRound()
    Code:
    	ZGetGame()->m_pMyCharacter->GetStatus().CheckCrc();
    	ZGetGame()->m_pMyCharacter->GetStatus().Ref().nDamageTaken = 0;
    	ZGetGame()->m_pMyCharacter->GetStatus().Ref().nDamageDealt = 0;
    	ZGetGame()->m_pMyCharacter->GetStatus().MakeCrc();

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

    Re: Damage Counter bug

    Or just do
    nLastDamage-nCurrentDamage

  4. #4
    Daemonsring Developer Gunblade is offline
    MemberRank
    Jul 2007 Join Date
    On the moonLocation
    728Posts

    Re: Damage Counter bug

    Quote Originally Posted by qet123 View Post
    Or just do
    nLastDamage-nCurrentDamage
    Congratulations, you just made no sence.

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

    Re: Damage Counter bug

    Quote Originally Posted by Gunblade View Post
    Congratulations, you just made no sence.
    Like I did before?



Advertisement