Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 09:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



/summon command isn't working.

Discussion on /summon command isn't working. within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 10
Received Thanks: 2
/summon command isn't working.

Hello pvper's

I have a question when using the /summon command it doesn't work at all.

I have looked in the functxt.cpp but it seems good.
Also tried an different source and compared those to but they are the same.

What could be the problem.

With kind regards.

BTW I noticed when i am using the /summon command
the error.log gives an Layer not Found
RavenTh is offline  
Old 09/16/2012, 10:51   #2
 
ThoughtfulDev's Avatar
 
elite*gold: 28
Join Date: Aug 2012
Posts: 2,335
Received Thanks: 471
does the player exists u want to summon? when it does post your functextcmd.cpp part of summon in here pls
ThoughtfulDev is offline  
Old 09/16/2012, 11:12   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 10
Received Thanks: 2
The player exist in the game otherwise you will get the message player doesn't exist.

This is the functextcmd.cpp

ON_TEXTCMDFUNC( TextCmd_Summon, "summon", "su", "¼Òȯ", "¼Òȯ", TCM_SERVER, AUTH_GAMEMASTER , "À¯Àú¼Òȯ" )

BOOL TextCmd_Summon( CScanner& scanner )
{
#ifdef __WORLDSERVER
TCHAR lpszPlayer[32];

scanner.GetToken();
CUser* pUser = (CUser*)scanner.dwValue;
if( strcmp( pUser->GetName(), scanner.Token) )
{
#if __VER >= 11 // __SYS_PLAYER_DATA
u_long idPlayer = CPlayerDataCenter::GetInstance()->GetPlayerId( scanner.token );
#else // __SYS_PLAYER_DATA
u_long idPlayer = prj.GetPlayerID( scanner.Token );
#endif // __SYS_PLAYER_DATA
if( idPlayer > 0 ){
strcpy( lpszPlayer, scanner.Token );
#ifdef __LAYER_1015
g_DPCoreClient.SendSummonPlayer( pUser->m_idPlayer, pUser->GetWorld()->GetID(), pUser->GetPos(), idPlayer, pUser->GetLayer() );
#else // __LAYER_1015
g_DPCoreClient.SendSummonPlayer( pUser->m_idPlayer, pUser->GetWorld()->GetID(), pUser->GetPos(), idPlayer );
#endif // __LAYER_1015
}
else {
// scanner.Token¶ó´Â À̸§À» °¡Áø »ç¿ëÀÚ´Â ÀÌ °ÔÀÓ¿¡ Á¸ÀçÇÏÁö ¾Ê´Â´Ù.
pUser->AddReturnSay( 3, scanner.Token );
}
}
else
{
pUser->AddReturnSay( 2, " " ); // ÀÚ±â Àڽſ¡°Ô ¸í·ÉÇß´Ù.
}

#endif // __WORLDSERVER
return TRUE;
}
RavenTh is offline  
Old 09/16/2012, 11:32   #4
 
ThoughtfulDev's Avatar
 
elite*gold: 28
Join Date: Aug 2012
Posts: 2,335
Received Thanks: 471
u have AUTH_GAMEMASTER?
ThoughtfulDev is offline  
Old 09/16/2012, 11:55   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 10
Received Thanks: 2
i have AUTH_DEVELOPER.
But i also tested it with AUTH_GAMEMASTER

Both of them don't work
RavenTh is offline  
Old 11/19/2012, 10:06   #6
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Bump.

I still didnt solved it. And i dont know where to look anymore
raventh1984 is offline  
Reply


Similar Threads Similar Threads
Command line interface working command
08/05/2012 - DarkOrbit - 27 Replies
I found only one working command: Enter "J" when you are in teleport Anyone know other commands?
Command to have perm summon?
09/18/2011 - Rappelz Private Server - 1 Replies
heya :) is it possible do give command to have perm dual summon/ing control? ty And cant change job lv.



All times are GMT +1. The time now is 09:20.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.