Quote:
Originally Posted by jericho2nd
Try ARMA Files.
|
Its work only in Illumine Fliles
and its work fine
EXP STOP Command:
Define in VersionCommon Neuz and World
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