/Summon Command.

12/14/2012 21:26 raventh1984#1
Hey elitepvpers

I am having troubles with the summon command.
If i try to summon an player its not working.

There is only on error and that is
Layer not Found!!. <--Error.log Server sided.
Client sided is no error.

Btw yeah the player is found otherwise you get an (player not found.) Notice.

Any help will be appricaited.
12/16/2012 03:09 Shea<3#2
Quote:
Originally Posted by raventh1984 View Post
Hey elitepvpers

I am having troubles with the summon command.
If i try to summon an player its not working.

There is only on error and that is
Layer not Found!!. <--Error.log Server sided.
Client sided is no error.

Btw yeah the player is found otherwise you get an (player not found.) Notice.

Any help will be appricaited.
Try out the /su Command.
12/16/2012 06:47 raventh1984#3
Its the same effect.
/su = /summon only shorter.
But it does the same thing.
12/16/2012 11:29 Lumi#4
Do you have rights to use this command?
Did you edit anything on this command?
12/16/2012 12:39 Mognakor#5
"Layer not found." does refer to the different channels of Azria/Traesia/Coral Island and the different instances of dungeons like Animuskrypta, The Wild etc.



Mover.cpp
Code:
#ifdef __LAYER_1015
BOOL CMover::Replace( u_long uIdofMulti, DWORD dwWorldID, D3DXVECTOR3 & vPos, REPLACE_TYPE type, int nLayer  )
#else	// __LAYER_1015
BOOL CMover::Replace( u_long uIdofMulti, DWORD dwWorldID, D3DXVECTOR3 & vPos, REPLACE_TYPE type  )
#endif	// __LAYER_1015

{
	CWorld* pWorld	= GetWorld();
	if( !pWorld )
		return FALSE;
	if( dwWorldID == 0 || dwWorldID == NULL_ID )
		return FALSE;

#ifdef __LAYER_1015
	CWorld* pTargetWorld	= g_WorldMng.GetWorld( dwWorldID );
	if( !pTargetWorld || !pTargetWorld->m_linkMap.GetLinkMap( nLayer ) )
	{
		Error( "Layer not found" );
		return FALSE;
	}
#endif	// __LAYER_1015

	// Á¶°Ç°Ë»ç 
	if( type == REPLACE_NORMAL )
	{
		if( IsAuthHigher( AUTH_GAMEMASTER ) == FALSE && IsFly() ) 
			return FALSE;
	}

	// À̵¿À» ¸ØÃá´Ù.
	ClearDest();
	SendActMsg( OBJMSG_ACC_STOP );
	SendActMsg( OBJMSG_STOP_TURN );
	SendActMsg( OBJMSG_STAND );

#if __VER >= 11 // __SYS_COLLECTING
	if( IsCollecting() )
		StopCollecting();
#endif	// __SYS_COLLECTING

#if __VER >= 15 // __REACTIVATE_EATPET
	if( HasActivatedEatPet() )
		InactivateEatPet();
#endif // __REACTIVATE_EATPET

	LPREPLACEOBJ lpReplaceObj	= NULL;

	for( int i = 0; i < pWorld->m_cbModifyLink; i++ )
	{
		if( pWorld->m_apModifyLink[i] == this )
		{
			pWorld->m_apModifyLink[i]	= NULL;
			m_vRemoval	= D3DXVECTOR3( 0.0f, 0.0f, 0.0f );
			break;
		}
	}

	for( i = 0; i < pWorld->m_cbReplaceObj; i++ )
	{
		if( pWorld->m_aReplaceObj[i].pObj == this )
		{
			lpReplaceObj = &pWorld->m_aReplaceObj[i];
			break;
		}
	}
	if( lpReplaceObj == NULL )
	{
		ASSERT( pWorld->m_cbReplaceObj < MAX_REPLACEOBJ );
		lpReplaceObj = &pWorld->m_aReplaceObj[pWorld->m_cbReplaceObj++];
		lpReplaceObj->pObj	= this;
	}

	lpReplaceObj->dwWorldID	 = dwWorldID;
	lpReplaceObj->vPos       = vPos;
	lpReplaceObj->uIdofMulti = uIdofMulti;
#ifdef __LAYER_1015
	lpReplaceObj->nLayer	= nLayer;
#endif	// __LAYER_1015

#if __VER >= 14 // __INSTANCE_DUNGEON
	if( IsPlayer() )
	{
		if( CInstanceDungeonHelper::GetInstance()->IsInstanceDungeon( pWorld->GetID() )
			&& !CInstanceDungeonHelper::GetInstance()->IsInstanceDungeon( dwWorldID ) )
			//ÀÔÀå Àοø¼ö¸¦ °¨¼Ò½ÃŲ´Ù.
			CInstanceDungeonHelper::GetInstance()->LeaveDungeon( static_cast<CUser*>( this ), pWorld->GetID() );
	}
#endif // __INSTANCE_DUNGEON

	return TRUE;
}
12/16/2012 16:04 raventh1984#6
@mognakor

Yeah i noticed it.
But even if the player is in Flaris and i am to i can't summon it cause it gives the layer not found.

Is it something in the ini files or in the source itself that is causing this problem
12/16/2012 17:00 Mognakor#7
I can't but make a guess and that would be checking your .ini files.

Otherways you can modify your source to log weather the first or the 2nd part of the if-clause creates an error.
12/16/2012 19:20 raventh1984#8
Hmm i have changed the ini files from an source where the summon is working.
But still it says Layer not found.
I am lost now.
01/09/2013 00:35 raventh1984#9
Bump. I wonder is someone has an fix for this problem.


Solved:

By adding __SECURITY from an different source.
05/01/2016 05:41 wtlsoftware#10
Quote:
Originally Posted by raventh1984 View Post
Bump. I wonder is someone has an fix for this problem.


Solved:

By adding __SECURITY from an different source.
Can you elaborate more the solution?

Coz i have the same problem.

i know the .ini files, but i mean what is the file name and the content of it.

Thanks in advance...