Defence in-game crash

Results 1 to 4 of 4
  1. #1
    Enthusiast huntjens1 is offline
    MemberRank
    Oct 2011 Join Date
    26Posts

    config Defence in-game crash

    When you want to press any button to defence/block, the client crashes. I can't find the bug.
    Can someone help me? :o

    NOTE: If you put the defence on any button it crashes.

    Code:

    {"Defence", 0x2a,-1}, // 'shift'

    Code:

    case ZACTION_DEFENCE:
    {
    if ( ZGetGame()->m_pMyCharacter && !ZGetGame()->IsReplay())
    ZGetGame()->m_pMyCharacter->m_statusFlags.Ref().m_bGuardKey = true;
    }


  2. #2
    Wait wut PenguinGuy is offline
    MemberRank
    Apr 2010 Join Date
    United StatesLocation
    765Posts

    Re: Defence in-game crash

    Put breakpoints where any defend code is, then press the defend button and step through till it pops up an exception.

  3. #3
    Enthusiast huntjens1 is offline
    MemberRank
    Oct 2011 Join Date
    26Posts

    Re: Defence in-game crash

    Quote Originally Posted by PenguinGuy View Post
    Put breakpoints where any defend code is, then press the defend button and step through till it pops up an exception.
    I don't get it, can u explain how to do it?

  4. #4
    Valued Member xDividerx is offline
    MemberRank
    Feb 2012 Join Date
    126Posts

    Re: Defence in-game crash

    Quote Originally Posted by huntjens1 View Post
    I don't get it, can u explain how to do it?
    He just told you, if you don't understand what a breakpoint is, then you shouldn't be working with the source as it is beyond your level of understanding.

    You should look up C++ tutorials and LEARN C++ before trying to manipulate C++ code.



Advertisement