Register for your free account! | Forgot your password?

You last visited: Today at 13:55

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

 

[Requst] Stop Exp Scroll

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 160
Received Thanks: 5
[Requst] Stop Exp Scroll

Hello does anyone of you have a source code for Stop exp scroll?



aoyamananami is offline  
Old   #2
 
elite*gold: 0
Join Date: Jul 2015
Posts: 165
Received Thanks: 8
Try ARMA Files.


jericho2nd is offline  
Old   #3



 
elite*gold: 2
Join Date: Sep 2012
Posts: 4,204
Received Thanks: 2,997
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
- Mr.Black is offline  
Thanks
1 User
Old   #4
 
elite*gold: 0
Join Date: Jul 2015
Posts: 165
Received Thanks: 8
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. https://www.elitepvpers.com/forum/fl...kill-icon.html thanks


jericho2nd is offline  
Old   #5



 
elite*gold: 2
Join Date: Sep 2012
Posts: 4,204
Received Thanks: 2,997
Quote:
Originally Posted by jericho2nd View Post
i have a question you know the fix in this? because i'm using your ARMA Files. https://www.elitepvpers.com/forum/fl...kill-icon.html thanks
I did a answer ^^
- Mr.Black is offline  
Old   #6
 
elite*gold: 0
Join Date: Jul 2017
Posts: 94
Received Thanks: 1
Hi. How to apply the /es in game?


nicksss03 is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Vsro silk scroll and gift scroll doesn't work
solved topic can delete
1 Replies - SRO PServer - Discussions / Questions
[Request]EXP Stop Scroll
Can anyone re-release?
2 Replies - Flyff PServer - Discussions / Questions
[Non Stop Non Stop 24/7] For Ever Free MM Service [Non Stop 24/7]
ch mchte hier meine Dienste als Middleman anbieten. Deutsch ✔] Telefon Verifizierung ✔] Seit 3 Monaten registriert ✔] Mehr als 300 Posts ✔]...
38 Replies - Middleman
(ALB) WTS Effect Scroll - Megadolon Drop Scroll
Im looking for plats just serious offers please
1 Replies - Trading
WTT 3X Scroll for Shuta( Come with ur Scroll)(Evengarda)
İ want to change 4x Scroll for shuta ... u need to come with ur scroll
1 Replies - Archlord Trading



All times are GMT +2. The time now is 13:55.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.