Register for your free account! | Forgot your password?

You last visited: Today at 09:59

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

Advertisement



database

Discussion on database within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
AoE Questions

Code:
#ifdef __PMA_WING
				pItemElem	= m_Inventory.GetEquip( PARTS_MASK );
				if( pItemElem )// xx_UGL_
					if( pItemElem->GetProp()->dwItemKind3 == IK3_WING )
					{
						CModel* pModel	= prj.m_modelMng.LoadModel( D3DDEVICE, OT_ITEM, pItemElem->GetProp()->dwID );

						CModelObject* pModelObject = (CModelObject*)pModel;
						CString strMotion = pModelObject->GetMotionFileName( _T("stand") );
						assert( strMotion != _T("") );
						pModelObject->LoadMotion( strMotion );
						SetMaskWing( pModel );
					}
					else
					{
						m_pMask = NULL;
					}
#endif
Code:
#ifdef __PMA_WING
				if( m_aEquipInfo[PARTS_RIDE].dwId != NULL_ID ) // xx_DCKLNG_
				{
					ItemProp* pItemProp	= prj.GetItemProp( m_aEquipInfo[PARTS_RIDE].dwId );
					if( pItemProp )
						if( pItemProp->dwItemKind3 == IK3_WING )
						{
							CModel* pModel	= prj.m_modelMng.LoadModel( D3DDEVICE, OT_ITEM, pItemProp->dwID );

							CModelObject* pModelObject = (CModelObject*)pModel;
							CString strMotion = pModelObject->GetMotionFileName( _T("stand") );
							assert( strMotion != _T("") );
							pModelObject->LoadMotion( strMotion );
							SetMaskWing( pModel );
						}
						else
						{
							m_pMask = NULL;
						}
				}
#endif
Code:
#ifdef	__PMA_WING
			if( pItemProp->dwItemKind3 != IK3_WAND && m_pMask && (dwMotion == MTI_WALK ||dwMotion == MTI_RUN || dwMotion == MTI_STAND ) )
				dwMotion += MTI_STAND_11;
			else
			{
#endif
Code:
#ifdef __PMA_WING
else if ( +m_pMask != m_pRide && m_pMask != NULL )
{
	if( ( m_pActMover->GetState() & OBJSTA_STAND && !m_pActMover->IsSit() && !m_pActMover->IsWalk()) && ( D3DXVec3LengthSq( &m_pActMover->m_vDelta ) <= 0.000f ) && pModel->m_fFrameCurrent == 0.0f  )
	{
		if( m_eWingStateFlag != FLOATING )
		{
			CString strMotion = m_pMask->GetMotionFileName( _T("stand") );
			assert( strMotion != _T("") );
			m_pMask->LoadMotion( strMotion );
			m_pMask->SetMotionBlending( TRUE );
			m_pMask->SetLoop( ANILOOP_LOOP );
			m_eWingStateFlag = FLOATING;
		}
	}
	else if( m_pActMover->GetState() & OBJSTA_NOT_STAND || m_pActMover->IsWalk() )
	{
		if( m_eWingStateFlag != FLYING )
		{
			CString strMotion = m_pMask->GetMotionFileName( _T("walk") );
			assert( strMotion != _T("") );
			m_pMask->LoadMotion( strMotion );
			m_pMask->SetMotionBlending( TRUE );
			m_pMask->SetLoop( ANILOOP_LOOP );
			m_eWingStateFlag = FLYING;
		}
	}
	else if( ( m_pActMover->GetState() & OBJSTA_LTURN ) || ( m_pActMover->GetState() & OBJSTA_RTURN ) && !m_pActMover->IsWalk() && !m_pActMover->IsSit())
	{
		if( m_eWingStateFlag != TURNING )
			m_eWingStateFlag = TURNING;
	}
}
#endif
Code:
#ifdef __PMA_WING
	if( dwParts == PARTS_MASK && pItemProp )
	{
		if( bEquip && pItemProp->dwItemKind3 == IK3_WING )
		{
			CModel* pModel	= prj.m_modelMng.LoadModel( D3DDEVICE, OT_ITEM, pItemProp->dwID );

			CModelObject* pModelObject = (CModelObject*)pModel;
			CString strMotion = pModelObject->GetMotionFileName( _T("stand") );
			assert( strMotion != _T("") );
			pModelObject->LoadMotion( strMotion );
			pMover->SetMaskWing( pModel );


		}
		else if( bEquip && pMover->m_pMask || !bEquip )
		{
			pMover->SetMaskWing( NULL );
		}
	}
#endif
what this system do? this like in the insanity flyff? or not
jericho2nd is offline  
Old 03/06/2018, 18:23   #2
 
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
What do you mean ?

Create Database -> ACCOUNT_DBF -> Drop the script into it?
Create Databse -> CHARACTER_01_DBF -> Drop the script into it?

or do you want to create a backup ?
Dr. Peacock is offline  
Thanks
1 User
Old 03/06/2018, 18:43   #3
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
Quote:
Originally Posted by Dr. Peacock View Post
What do you mean ?

Create Database -> ACCOUNT_DBF -> Drop the script into it?
Create Databse -> CHARACTER_01_DBF -> Drop the script into it?

or do you want to create a backup ?
thanks for the reply but if figured it out
jericho2nd is offline  
Old 03/06/2018, 21:34   #4
 
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
Why you dont test the System ingame? xD
You are able to Fly if you wear the Mask... ( IK3_WING .... )
Dr. Peacock is offline  
Old 03/09/2018, 09:49   #5
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
Quote:
Originally Posted by Dr. Peacock View Post
Why you dont test the System ingame? xD
You are able to Fly if you wear the Mask... ( IK3_WING and use it withPARTS_MASK .... )
this like in the insanity?
jericho2nd is offline  
Old 03/09/2018, 11:34   #6
 
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
Nope...
Flying Wings...
Shitft+Click = Fly
Again to "Fly" Like a psy...
Its that Base for Mount if you want...
Only add Ground rinding and you got the mount ....
Dr. Peacock is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Official Release] Rainbow Database: Vampire/Godship/Legionairre Database!
04/25/2021 - EO PServer Guides & Releases - 106 Replies
http://i43.tinypic.com/jgo485.png Additional: The database contains all material and server features which I alone coded, designed and created. I can barely recall if their were any bugs. I think there was with one of the vampire skills. People said it was supposed to be an xp skill but they could use it without having to be on XP. So its pretty minor but if you find any other problems please report them to this thread and i'll make a fix asap. Many database releases have come before this...
[How-To]Change from sql-database to txt-database
08/11/2016 - Metin2 Private Server - 1 Replies
Hello guys... My Server uses item_proto and mob_proto from navicat , iwant to use item_proto and mob_proto from fillezilla, ???? Show me the way and thnak you .:o
[Release] Sro-r DataBase , And Real TWsro DataBase
04/01/2013 - SRO Private Server - 10 Replies
its a gift from me because i will left Sro Forever so today i will release Sro-r DataBase , And Real Twsro Database + Server Files Download Link HAPPY 1/4 :D i never do that lol you mad ! ? :p



All times are GMT +1. The time now is 10:00.


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.