Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Term NPC teleporter

Initiate Mage
Joined
Feb 3, 2017
Messages
12
Reaction score
1
Hi All,

I have a quick question about MMI_TELEPORTER .

it's possible to set a level to teleport ?

Exemple : TP Darkon level 60+
TP Rasteria level 100+

Thanks you for your reply, :rolleyes:
 
Initiate Mage
Joined
Feb 3, 2017
Messages
12
Reaction score
1
It is possible to make a teleporter with level condition pls ?
can you reply, solution?
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
You were already given the answer on another forum by another user.

Code:
if(pUser->m_nLevel >= 1 && pUser->m_nLevel < 10)
pUser->AddText("test");
return;
 
Initiate Mage
Joined
Feb 3, 2017
Messages
12
Reaction score
1
ty ketchup for reply.
I thought i had a better answer here.
It's possible add this condition to APP_TELEPORTER of Mentus ?

thanks you
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
ty ketchup for reply.
I thought i had a better answer here.
It's possible add this condition to APP_TELEPORTER of Mentus ?

thanks you

This would work for anything, you'll have to adapt it to the teleporter yourself though.
 
Initiate Mage
Joined
Feb 3, 2017
Messages
12
Reaction score
1
Its possible add this APP to NPC Menu ?

ty for reply ketchup
 
Last edited:
Initiate Mage
Joined
Feb 3, 2017
Messages
12
Reaction score
1
can you give me some tracks or tutorial ?
I tried but the WorldServer does not work ...

Thanks you for reply
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
WndWorld.cpp

Add
Code:
		case MMI_NEWBIE:
		{
			SAFE_DELETE(g_WndMng.m_pWndTeleporter);
			g_WndMng.m_pWndTeleporter = new CWndTeleporter;
			g_WndMng.m_pWndTeleporter->Initialize();
		}
		break;

Below
Code:
#if __VER >= 15 // __CAMPUS
		case MMI_INVITE_CAMPUS:			// »çÁ¦ ¸Î±â
			{
				g_DPlay.SendInviteCampusMember( pFocusMover->m_idPlayer );
				g_DPlay.SendQueryPlayerData( pFocusMover->m_idPlayer );
				break;
			}
		case MMI_REMOVE_CAMPUS:
			{
				if( g_WndMng.m_pWndCampusSeveranceConfirm )
					SAFE_DELETE( g_WndMng.m_pWndCampusSeveranceConfirm );
				g_WndMng.m_pWndCampusSeveranceConfirm = new CWndCampusSeveranceConfirm( pFocusMover->m_idPlayer, pFocusMover->GetName() );
				g_WndMng.m_pWndCampusSeveranceConfirm->Initialize( NULL );
				break;
			}
#endif // __CAMPUS

Add
Code:
										else if (i == MMI_NEWBIE )
										{
											m_wndMenuMover.AppendMenu(0, i, "My Teleporter");
											bView = TRUE;
										}

Below
Code:
#ifdef __JEFF_11_4
							else if( i == MMI_ARENA_ENTER )
							{
								if( g_pPlayer && !g_pPlayer->IsBaseJob() )
									m_wndMenuMover.AppendMenu( 0, i, prj.GetText( TID_MMI_DIALOG + i ) );
								bView = TRUE;
							}
#endif	// __JEFF_11_4

defineNeuz.h

Add
Code:
#define		MMI_NEWBIE		361

character.inc

Add

Code:
MaFl_Juria
{
	setting
	{
		AddMenu( MMI_DIALOG );
		AddMenu( MMI_BANKING );
		AddMenu( MMI_NEWBIE ); // Your Teleporter...
 
Initiate Mage
Joined
Feb 3, 2017
Messages
12
Reaction score
1
Thanks you very much Ketchup.

WorldServer works !

But Neuz has a compilation error :

WndWorld.cpp

C2039 'm_pWndTeleporter' does not member of 'CWndMgr'

thanks you for reply
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
Thanks you very much Ketchup.

WorldServer works !

But Neuz has a compilation error :

WndWorld.cpp

C2039 'm_pWndTeleporter' does not member of 'CWndMgr'

thanks you for reply

I dont know what teleporter you use, so figure it out yourself lol.
 
Initiate Mage
Joined
Feb 3, 2017
Messages
12
Reaction score
1
ty Ketchup for help.

I have the Mentus teleporter . Who can find Fonction name ?

Tanks you ketchup, nice support

#ifdef __APP_TELEPORTER
ON_MSG( PACKETTYPE_APP_TELEPORT, OnTeleportByAPP );
#endif // __APP_TELEPORTER
 
Back
Top