Random world server crashed

02/11/2020 23:19 NoobAldrix#1
does anyone know where should i start to find the problem ?

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
02/11/2020 23:29 firesqual#2
Check if pAttacker is valid like this :

if( !IsPlayer() && pAttacker && pAttacker->IsPlayer() )
02/11/2020 23:35 NoobAldrix#3
Quote:
Originally Posted by firesqual View Post
Check if pAttacker is valid like this :

if( !IsPlayer() && pAttacker && pAttacker->IsPlayer() )
this is what i found

Code:
if( pAttacker && pAttacker != this && pAttacker->IsPlayer() )
02/12/2020 14:55 yazuka21#4
Quote:
Originally Posted by NoobAldrix View Post
does anyone know where should i start to find the problem ?

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
was
Code:
nullptr
If you dont know what you're doing then you should stop, and live a normal life to the fullest. lol. Flyff will suck you. :D

anyway, what exactly are you trying to do or to add into your precious FLYFF SOURCE

Quote:
Originally Posted by yazuka21 View Post
was
Code:
nullptr
If you dont know what you're doing then you should stop, and live a normal life to the fullest. lol. Flyff will suck you. :D

anyway, what exactly are you trying to do or to add into your precious FLYFF SOURCE
Maybe
Code:
	if( CInstanceDungeonHelper::GetInstance()->IsInstanceDungeon( GetWorld()->GetID() ) )
	{
		if( !IsPlayer() && pAttacker && pAttacker->IsPlayer() )
			CInstanceDungeonHelper::GetInstance()->SetInstanceDungeonKill( GetWorld()->GetID(), static_cast<DWORD>( this->GetLayer() ), GetProp()->dwID );
	}