Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 02:05

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

Advertisement



[Requst] Stop Exp Scroll

Discussion on [Requst] Stop Exp Scroll within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
aoyamananami's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
[Requst] Stop Exp Scroll

Hello does anyone of you have a source code for Stop exp scroll?
aoyamananami is offline  
Old 02/20/2018, 19:14   #2
 
jericho2nd's Avatar
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
Try ARMA Files.
jericho2nd is offline  
Old 02/20/2018, 20:39   #3


 
- Major's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,462
Received Thanks: 3,213
Quote:
Originally Posted by jericho2nd View Post
Try ARMA Files.
Its work only in Illumine Fliles and its work fine

EXP STOP Command:

Define in VersionCommon Neuz and World
Code:
#define __EXP_STOP
in authorization.h
post this
Code:
#ifdef __EXP_STOP
#define MODE_EXPUP_STOP			(DWORD)0x00040000		
#endif
under this:
Code:
#define	EQUIP_DENIAL_MODE		(DWORD)0x00020000
Go in Mover.cpp
Look in int CMover::SubExperience( CMover *pDead ) for this:
Code:
#else	// __WORLDSERVER
	EXPFLOAT fExpValue	= static_cast<EXPFLOAT>( pMoverProp->nExpValue );
	float	fFxpValue	= pMoverProp->nFxpValue;
#endif	// __WORLDSERVER
and post below this, this:
Code:
#ifdef __EXP_STOP
	if (IsAuthHigher(AUTH_ADMINISTRATOR))	// ¿î¿µÀÚ °èÁ¤À϶§
	{
		if (IsMode(MODE_EXPUP_STOP))			// °æÇèÄ¡ »ó½Â ±ÝÁö »óŸé
			fExpValue = 0;						// °æÇèÄ¡°ª 0
	}
#endif
Then go in MoverParam.cpp and look in BOOL CMover::AddExperience( EXPINTEGER nExp, BOOL bFirstCall, BOOL bMultiPly, BOOL bMonster ) for this :
Code:
{
#ifdef __VTN_TIMELIMIT
	//	mulcom	BEGIN100315	º£Æ®³² ½Ã°£ Á¦ÇÑ
	if( ::GetLanguage() == LANG_VTN )
	{
		if( IsPlayer() && m_nAccountPlayTime != -1 )
		{
			if( m_nAccountPlayTime < 0 || m_nAccountPlayTime > MIN( 300 ) )
			{
				nExp	= 0;
			}
			else if( m_nAccountPlayTime >= MIN( 180 ) && m_nAccountPlayTime <= MIN( 300 ) )
			{
				nExp	= (EXPINTEGER)( nExp * 0.5f );
			}
		}
	}
	//	mulcom	END100315	º£Æ®³² ½Ã°£ Á¦ÇÑ
#endif // __VTN_TIMELIMIT
below this Code you post this:
Code:
#ifdef __EXP_STOP
	if (IsMode(MODE_EXPUP_STOP))
		nExp = 0;
#endif
then you go in FuncTextCmd.cpp
And post after this:
Code:
BOOL TextCmd_NoUndying( CScanner& scanner )
{
#ifdef __WORLDSERVER
	CUser* pUser = (CUser*)scanner.dwValue;
	pUser->m_dwMode &= (~MATCHLESS_MODE);
	pUser->m_dwMode &= (~MATCHLESS2_MODE);
	g_UserMng.AddModifyMode( pUser );
#endif
	return TRUE;
}
this:
Code:
// exp»ó½Â ±ÝÁö ¸í·É. Åä±Û¹æ½ÄÀ¸·Î µ¿ÀÛ.
#ifdef __EXP_STOP
BOOL TextCmd_ExpUpStop(CScanner& scanner)
{
#ifdef __WORLDSERVER
	CUser* pUser = (CUser*)scanner.dwValue;
	if (pUser->m_dwMode & MODE_EXPUP_STOP)
		pUser->m_dwMode &= (~MODE_EXPUP_STOP);
	else
		pUser->m_dwMode |= MODE_EXPUP_STOP;

	g_UserMng.AddModifyMode(pUser);
#endif // __WORLDSERVER

	return TRUE;
}
#endif
then next part in FuncTextCmd.cpp:
Looking for this:
Code:
ON_TEXTCMDFUNC( TextCmd_Teleport,              "teleport",          "te",             "ÅÚ·¹Æ÷Æ®",       "ÅÚ·¹",    TCM_SERVER, AUTH_GAMEMASTER   , "ÅÚ·¹Æ÷Æ®" )
and poste below this:
Code:
#ifdef __EXP_STOP
	ON_TEXTCMDFUNC(TextCmd_ExpUpStop, "ExpUpStop", "es", "°æÇèÄ¡±ÝÁö", "°æ±Ý", TCM_SERVER, AUTH_GAMEMASTER, "")
#endif
Have fun,

Credits goes to GalaLab & Me for reawake this command
- Major is offline  
Thanks
1 User
Old 02/20/2018, 20:42   #4
 
jericho2nd's Avatar
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
Quote:
Originally Posted by DK ACE View Post
Its work only in Illumine Fliles and its work fine
i have a question you know the fix in this? because i'm using your ARMA Files. thanks
jericho2nd is offline  
Old 02/20/2018, 21:22   #5


 
- Major's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,462
Received Thanks: 3,213
Quote:
Originally Posted by jericho2nd View Post
i have a question you know the fix in this? because i'm using your ARMA Files. thanks
I did a answer ^^
- Major is offline  
Old 04/29/2018, 21:47   #6
 
elite*gold: 0
Join Date: Jul 2017
Posts: 239
Received Thanks: 8
Hi. How to apply the /es in game?
nicksss03 is offline  
Old 06/22/2021, 00:35   #7
 
Tamus's Avatar
 
elite*gold: 0
Join Date: Aug 2020
Posts: 98
Received Thanks: 8
its not working the scroll., but via command its working.,
Tamus is offline  
Reply


Similar Threads Similar Threads
Vsro silk scroll and gift scroll doesn't work
10/17/2015 - SRO Private Server - 1 Replies
solved topic can delete
[Request]EXP Stop Scroll
07/26/2015 - Flyff Private Server - 2 Replies
Can anyone re-release?
[Non Stop Non Stop 24/7] For Ever Free MM Service [Non Stop 24/7]
01/10/2012 - Middleman - 38 Replies
ch möchte hier meine Dienste als Middleman anbieten. Deutsch ✔] Telefon Verifizierung ✔] Seit 3 Monaten registriert ✔] Mehr als 300 Posts ✔] Mind. 10 TBM-Bewertungen ✔] Kein negatives Rating Welchen Service biete ich an?
(ALB) WTS Effect Scroll - Megadolon Drop Scroll
01/09/2012 - Trading - 1 Replies
Im looking for plats just serious offers please
WTT 3X Scroll for Shuta( Come with ur Scroll)(Evengarda)
06/16/2010 - Archlord Trading - 1 Replies
İ want to change 4x Scroll for shuta ... u need to come with ur scroll



All times are GMT +2. The time now is 02:05.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.