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!

Auto 3rd job change guide!

Newbie Spellweaver
Joined
Apr 4, 2011
Messages
45
Reaction score
2
Mmm.. yes as the title says.. this is a tut. for auto class change..

for example when you rech level 130 u will automaticly change to 3rd jobs without doing anything..

Open MoverParam.cpp and look at the

function:
BOOL CMover::AddExperience( EXPINTEGER nExp, BOOL bFirstCall, BOOL bMultiPly, BOOL bMonster )

then look for:
if( m_nDeathLevel < m_nLevel )
{
)
after that add:
if(m_nLevel >= MAX_LEGEND_LEVEL && IsHero())
{
if( AddChangeJob(m_nJob + 8) )
{
((CUser*)this)->AddSetChangeJob( m_nJob );
g_UserMng.AddNearSetChangeJob( this, m_nJob, &this->m_aJobSkill[MAX_JOB_SKILL] );
g_dpDBClient.SendLogLevelUp( (CUser*)this, 4 );
#if __VER >= 11 // __SYS_PLAYER_DATA
g_dpDBClient.SendUpdatePlayerData( (CUser*)this );
#else // __SYS_PLAYER_DATA
g_DPCoreClient.SendPartyMemberJob( (CUser*)this );
g_DPCoreClient.SendFriendChangeJob( (CUser*)this );
if( m_idGuild != 0 )
g_DPCoreClient.SendGuildChangeJobLevel( (CUser*)this );
#endif // __SYS_PLAYER_DATA
}
}

tda.! compile and then finihed.!
 
Elite Diviner
Joined
Mar 12, 2009
Messages
487
Reaction score
67
I will try it out soon, since i was completely finished with that nab changejob that has been around for awhile now. It fucks up my Mover classes and makes the (i dun know how but it's true) memory needed to play the game almost double.

So if this would work, it would be a warm welcome!
Besides, what's the difference anyway wether you simply automatically change job or get a window?

SilentNL
 
Newbie Spellweaver
Joined
Apr 4, 2011
Messages
45
Reaction score
2
mmm.. the the only thing u need to add here., how to be able to get the items for force master and mentalist..
 
Back
Top