Stuck in siege after mid-air death

Results 1 to 3 of 3
  1. #1
    Registered faketest1234 is online now
    MemberRank
    May 2017 Join Date
    21Posts

    Stuck in siege after mid-air death


    RaGEZONE Recommends

    RaGEZONE Recommends

    After reading the following thread: Guild Siege Stuck Bug

    I realized that they are having the same issues as I am having. What I noticed is that this 'stuck' bug occurs whenever you die mid-air or mid-jump during a siege.

    It causes your character to not be able to use any skills/attacks and it untargetable/does not move on other client's screen. Sometimes after a couple minutes of waiting this is automatically fixed but usually you have to relog ingame to fix it (which causes you to lose all your siege lives).

    I'd like to fix this bug but I am not super well known in the code, but I know it has to do with the fact that you are in a mid-jump and then death occurs. Any ideas or tips where in the code this could be fixed or anyone have had this problem before and fixed it?

    I am on cuvvie's v15 for reference.


  2. #2
    I αм α ѕαмυrαι Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    584Posts

    Re: Stuck in siege after mid-air death

    WndWorldControlPlayer.cpp
    Find
    Code:
    if( bSpace && pMover->m_pActMover->m_bGround  )
    Replace With
    Code:
    if( bSpace )
    Find
    Code:
    if( m_bLButtonDown == TRUE && m_bRButtonDown == TRUE )
    Replace With
    Code:
    if( m_bLButtonDown == TRUE && m_bRButtonDown == TRUE && pMover->m_pActMover->m_bGround )
    ActionMoverDmg.cpp

    Find
    Code:
    	if( !bValid || IsState( OBJSTA_DIE_ALL ) )
    		return 0;
    
    	if( IsSit() )
    		ResetState( OBJSTA_MOVE_ALL );
    
    	SendActMsg( OBJMSG_STAND );
    Replace With
    Code:
    	if( !bValid || IsState( OBJSTA_DIE_ALL ) )
    		return 0;
    
    	if (IsSit())
    		ResetState(OBJSTA_MOVE_ALL);
    
    	if (IsActJump() == FALSE)
    		SendActMsg(OBJMSG_STAND);
    Find
    Code:
    		dwSfxObj = pAttackerProp->dwSfxObj5;
    		if (NULL_ID != dwSfxObj)
    			CreateSfx(D3DDEVICE, dwSfxObj, pAttacker->GetPos());
    	}
    
    	pMover->m_nDmgCnt = 10;
    
    	pMover->SetDamagedMotion( pAttacker, dwAtkFlags );
    Replace With
    Code:
    		dwSfxObj = pAttackerProp->dwSfxObj5;
    		if (NULL_ID != dwSfxObj)
    			CreateSfx(D3DDEVICE, dwSfxObj, pAttacker->GetPos());
    	}
    
    	pMover->m_nDmgCnt = 10;
    
    	if (IsActJump() == FALSE)
    		pMover->SetDamagedMotion(pAttacker, dwAtkFlags);

    I AM ONLY KETCHUP ON RAGEZONE!
    ALL GAME RELATED PM'S WILL BE IGNORED.
    Discord [¤] Facebook [¤] Rules [¤] Subscribe [¤] Support

  3. #3
    Registered faketest1234 is online now
    MemberRank
    May 2017 Join Date
    21Posts

    Re: Stuck in siege after mid-air death

    Thanks for the solution, It worked!

    This thread can be locked and marked fixed so other people can see it :).




Advertisement