Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 18:11

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

Advertisement



Death Match teleport

Discussion on Death Match teleport within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2013
Posts: 143
Received Thanks: 2
Death Match teleport

Hi,
I have try to add the Death Math system (on Level Flyff). The system work, but i can't teleport my character to the arena (I have try to add the Fwc map with the WI_WORLD_ITAK_ARENA).
In resource folder, i have add WI_WORLD_ITAK_ARENA to defineworld and world.inc (and wold.txt) and CoreServer. (When i test to teleport my character /teleport 247 100 100 100 that's doesn't work, the map doesn't work)

This is the DPsrv.cpp files:
Code:
#ifdef __DEATH_MATCH
void	CDPSrvr::OnArenaEnter2( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
// ¾Æ·¹³ª Áö¿ª ÀÔÀå
	CUser* pUser	= g_UserMng.GetUser( dpidCache, dpidUser );
	if( IsValidObj( pUser ) )
	{
		if( pUser->IsBaseJob() )	// 1Â÷ ÀüÁ÷À» ¿Ï·áÇÑ À¯Àú¸¸ °¡´É
			return;
		if( g_DeathMatch.DM_STATE == DM_OPEN )
		{
			pUser->AddText("Le survival n'est pas ouvert à cette heure.");
			return;
		}
		/*else if( ((CMover*)pUser)->GetPartyId() )
		{
			pUser->AddText("Vous ne devez pas être groupés.");
			return;
		}*/
		pUser->SetMarkingPos();
		pUser->REPLACE( g_uIdofMulti, WI_WORLD_ITAK_ARENA, D3DXVECTOR3( 1217.0F, 147.0F, 1775.0F ), REPLACE_NORMAL, nDefaultLayer );
		pUser->AddText("Vous êtes entré dans la zone d'attente, le survival va bientôt commencer, bonne chance !");
	}
}
#endif //__DEATH_MATCH
The AddText "Vous êtes entré dans la zone d'attente, le survival va bientôt commencer, bonne chance !" work, but i'm not teleport in the DeathMath.

Please how fix it ?
Thks
LoscArmy is offline  
Old 11/07/2014, 14:57   #2
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Do you have an error? Check error logs.
Also check if the map is located inside /Resource/World and /Client/World

Also did you restart the server files? and not only worldServer? You also need to restart CoreServer.

I also have added the deathmatch but i have no problems with the TP commands.
raventh1984 is offline  
Old 11/11/2014, 14:42   #3
 
elite*gold: 0
Join Date: Apr 2014
Posts: 96
Received Thanks: 7
Quote:
Originally Posted by LoscArmy View Post
Hi,
I have try to add the Death Math system (on Level Flyff). The system work, but i can't teleport my character to the arena (I have try to add the Fwc map with the WI_WORLD_ITAK_ARENA).
In resource folder, i have add WI_WORLD_ITAK_ARENA to defineworld and world.inc (and wold.txt) and CoreServer. (When i test to teleport my character /teleport 247 100 100 100 that's doesn't work, the map doesn't work)

This is the DPsrv.cpp files:
Code:
#ifdef __DEATH_MATCH
void	CDPSrvr::OnArenaEnter2( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
// ¾Æ·¹³ª Áö¿ª ÀÔÀå
	CUser* pUser	= g_UserMng.GetUser( dpidCache, dpidUser );
	if( IsValidObj( pUser ) )
	{
		if( pUser->IsBaseJob() )	// 1Â÷ ÀüÁ÷À» ¿Ï·áÇÑ À¯Àú¸¸ °¡´É
			return;
		if( g_DeathMatch.DM_STATE == DM_OPEN )
		{
			pUser->AddText("Le survival n'est pas ouvert à cette heure.");
			return;
		}
		/*else if( ((CMover*)pUser)->GetPartyId() )
		{
			pUser->AddText("Vous ne devez pas être groupés.");
			return;
		}*/
		pUser->SetMarkingPos();
		pUser->REPLACE( g_uIdofMulti, WI_WORLD_ITAK_ARENA, D3DXVECTOR3( 1217.0F, 147.0F, 1775.0F ), REPLACE_NORMAL, nDefaultLayer );
		pUser->AddText("Vous êtes entré dans la zone d'attente, le survival va bientôt commencer, bonne chance !");
	}
}
#endif //__DEATH_MATCH
The AddText "Vous êtes entré dans la zone d'attente, le survival va bientôt commencer, bonne chance !" work, but i'm not teleport in the DeathMath.

Please how fix it ?
Thks
Try reading the whole code maybe you're missing something.
Wharsh is offline  
Old 11/11/2014, 15:59   #4
 
elite*gold: 23
Join Date: Dec 2010
Posts: 743
Received Thanks: 617
If you cant teleport with the cmd why should he teleport you with a npc?
Srsly. Fix your map then it will works lawl.
.SnoX is offline  
Old 11/17/2014, 19:12   #5
 
elite*gold: 0
Join Date: Jul 2013
Posts: 143
Received Thanks: 2
Hi and thanks, When rename the world_itak_arena in world.inc with:
WI_WORLD_ITAK_ARENA "WdArena", that's work (i delete the "WdArena" with the WI_WORLD_ARENA. But, i can't attack another players in the DeathMatch and the registration GuildWar crash. Maybe u know how fix it pls?

Sorry for my english..
LoscArmy is offline  
Old 11/20/2014, 20:05   #6

 
elite*gold: 28
Join Date: Feb 2010
Posts: 463
Received Thanks: 277
Level Flyff source backdoor Low Kid don't use the source, go use Virtuos ****** Source
ZeroTwo02 is offline  
Reply


Similar Threads Similar Threads
Ressource Death Match
09/15/2013 - Flyff Private Server - 0 Replies
Hello, I have take the death match of Level Flyff Source, but I need the ressource files (with the NPC ), because it's doesn't work :/. Thanks so much in advances!
Death Match
08/15/2013 - Flyff Private Server - 0 Replies
Hello, I have put the system Death Match to the source level FlyFF in my source, with in ressource defineneuz, definetext defineworld, mdldyna. I haven't error or warning when i Compil, put I don't know what I need to add again for this system work ( On the place(position) of the NPC marco if it's possible ) Sorry for my bad english and thanks so much in advances!
[Question]About Death match
07/05/2013 - Flyff Private Server - 0 Replies
Hello i have a question about death match on level flyff source. how this death match work? i need information about it. thanks.
[S] CSS Key HL2- Death Match Key [B] PSC/E*Gold
04/17/2010 - Steam Trading - 4 Replies
wie der titel schon sagt
How to make PKTourny Death Match and others
12/16/2009 - CO2 Private Server - 10 Replies
what i do to make PK Tournament , i want to know the code off it :D _________________________________________________ _______________________________________ but please i need the Code fast to make my Server :D _________________________________________________ ________________________________________________ http://img704.imageshack.us/img704/5503/d0om.gif Love is my msg



All times are GMT +1. The time now is 18:12.


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.