CRASH BUG

Forum rules
NO LONGER BEING MAINTAINED!
Post Reply
WiiStream

CRASH BUG

Post by WiiStream » Sat Feb 16, 2013 1:26 am

Ok I'm at the gate in West Ronfaure And I run out to the mob Orcish Fodder I do not attract it I'm level 2 and i know i can not defeat it, so I run back to the zone at the gate, and the server crash's every time.

PrBlahBlahtson
Developer
Posts: 539
Joined: Sun Jul 22, 2012 12:17 am

Re: CRASH BUG

Post by PrBlahBlahtson » Sat Feb 16, 2013 3:10 am

Confirming that this happens on r2633. I suspect this might be r2625, but me and the packet system don't get along at all.

WiiStream

Re: CRASH BUG

Post by WiiStream » Sat Feb 16, 2013 10:56 am

I'm compiling a fresh rev 2635 Right now to see if it still crash's doing this.

Ya it's still crashing there.

The solution I found that will prevent it from crashing, is to cancel out one line in ai-mob_dummy.cpp

Code: Select all

void CAIMobDummy::ActionAttack()
FIND

Code: Select all

else if (m_PMob->CanDeaggro() && CurrentDistance > 25 && (m_Tick - m_LastActionTime) > 20000)

Code: Select all

 {
        //player has been too far away for some time, deaggro if the mob type dictates it

		if (m_PMob->m_OwnerID.id == m_PBattleTarget->id)
        {
            m_PMob->m_OwnerID.clean();
        }
		m_PMob->PEnmityContainer->Clear(m_PBattleTarget->id);
		//ActionAttack();<----------CRASHS
	}
This will prevent it from crashing but not solving the crash.

Post Reply