Help! HP/AP Bug InGame Only

Results 1 to 4 of 4
  1. #1
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Help! HP/AP Bug InGame Only

    First error:

    I have no clue on what it is but my HP/AP in game is 16700 / 16592 and I haven't set it as that or anything, its that by default, I just built the source using VS 2010 and so far have edited nothing.



    Help please?

    EDIT: Fixed the second error by replacing my ZWeaponScreenEffect.cpp
    Last edited by Chrisss; 29-11-13 at 01:49 AM.


  2. #2
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Help! HP/AP Bug InGame Only

    Quote Originally Posted by Chrisss View Post
    First error:

    I have no clue on what it is but my HP/AP in game is 16700 / 16592 and I haven't set it as that or anything, its that by default, I just built the source using VS 2010 and so far have edited nothing.



    Help please?

    EDIT: Fixed the second error by replacing my ZWeaponScreenEffect.cpp
    Request to close. Steven fixed it.

  3. #3
    Its Friday :D! trunksx is offline
    MemberRank
    Feb 2007 Join Date
    PerúLocation
    232Posts

    Re: Help! HP/AP Bug InGame Only

    Maybe you should post the solution to helo other people in advance!

  4. #4
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Help! HP/AP Bug InGame Only

    Quote Originally Posted by trunksx View Post
    Maybe you should post the solution to helo other people in advance!
    Yeah sure.
    Open file: MMatchDBMgr.cpp
    Find this:

    Code:
    poutCharInfo->m_nHP = (int)rs.Field("HP").AsInt();
    poutCharInfo->m_nAP = (int)rs.Field("AP").AsInt();
    Replace with:

    Code:
    poutCharInfo->m_nHP = 0;
    poutCharInfo->m_nAP = 0;
    Then rebuild.

    This fixes it.



Advertisement