Register for your free account! | Forgot your password?

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

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

Advertisement



Auto max skill on level up

Discussion on Auto max skill on level up within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
Auto max skill on level up

Hi, I have tried to set max skill level upon leveling up, but it didn't work- skills don't get maxed.

This is the part of my code of Mover.cpp:

Code:
#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
		SetHitPoint( GetMaxHitPoint() );
		SetManaPoint( GetMaxManaPoint() );
		SetFatiguePoint( GetMaxFatiguePoint() );
	
		g_UserMng.AddSetLevel( this, (WORD)m_nLevel );
		( (CUser*)this )->AddSetGrowthLearningPoint( m_nRemainGP );
		( (CUser*)this )->AddSetExperience( GetExp1(), (WORD)m_nLevel, m_nSkillPoint, m_nSkillLevel );
		( (CUser*)this )->m_playTaskBar.InitTaskBarShorcutKind( SHORTCUT_SKILL );
		( (CUser*)this )->AddTaskBar();
		((CUser*)this)->AddSetState( m_nStr, m_nSta, m_nDex, m_nInt, m_nRemainGP );
#if __VER >= 13 // __HONORABLE_TITLE			// ´ÞÀÎ
		((CUser*)this)->CheckHonorStat();
		((CUser*)this)->AddHonorListAck();
		g_UserMng.AddHonorTitleChange( this, m_nHonor);
#endif	// __HONORABLE_TITLE			// ´ÞÀÎ
	}
#endif // __WORLDSERVER

#ifdef __WORLDSERVER
	//  CUser* pUser;

	LPSKILL pSkill = NULL;
	ItemProp* pSkillProp = NULL;

	for (int i = 0; i < MAX_SKILL_JOB; i++)
	{
		pSkill = &(((CUser*)this)->m_aJobSkill[i]);

		if (pSkill == NULL || pSkill->dwSkill == 0xffffffff)
			continue;

		pSkillProp = prj.GetSkillProp(pSkill->dwSkill);

		if (pSkillProp == NULL)
			continue;

		pSkill->dwLevel = pSkillProp->dwExpertMax;
		((CUser*)this)->AddSetSkill(pSkill->dwSkill, pSkill->dwLevel);
	}
#endif // __WORLDSERVER 
}
Not sure if I missed something.

The files are V19 official.

Any idea?
Thanks!
theunrealz is offline  
Old 07/10/2020, 08:00   #2
 
Steffen Tequila's Avatar
 
elite*gold: 51
Join Date: May 2009
Posts: 338
Received Thanks: 76
just make copy paste from another source.
95% of all sources have that: "#define __AUTO_SKILL_MAX"
Steffen Tequila is offline  
Thanks
1 User
Old 07/10/2020, 08:39   #3
 
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by Steffen Tequila View Post
just make copy paste from another source.
95% of all sources have that: "#define __AUTO_SKILL_MAX"
Thanks!!

Quote:
Originally Posted by Steffen Tequila View Post
just make copy paste from another source.
95% of all sources have that: "#define __AUTO_SKILL_MAX"
How I can know the client changes I need to do if im copying from the source?

1. I added all blocks with #define __AUTO_SKILL_MAX (also quick job change),
2. rebuild the project
3. Copied the output and used the new server files (account, world server etc)
4. executed merger2.exe and copied the datasub's to the client

I still don't see anything works - the max level skills and the quick jobchange.
Any idea if i'm missing something?
theunrealz is offline  
Old 07/10/2020, 12:36   #4
 
elite*gold: 0
Join Date: Jul 2013
Posts: 64
Received Thanks: 17
Quote:
Originally Posted by theunrealz View Post
Thanks!!



How I can know the client changes I need to do if im copying from the source?

1. I added all blocks with #define __AUTO_SKILL_MAX (also quick job change),
2. rebuild the project
3. Copied the output and used the new server files (account, world server etc)
4. executed merger2.exe and copied the datasub's to the client

I still don't see anything works - the max level skills and the quick jobchange.
Any idea if i'm missing something?
You got anydesk or Teamvwier? i Can help you.
Blazing.Flyff is offline  
Old 07/10/2020, 13:06   #5
 
elite*gold: 0
Join Date: May 2014
Posts: 17
Received Thanks: 0
Quote:
Originally Posted by Blazing.Flyff View Post
You got anydesk or Teamvwier? i Can help you.
Sure. Let's talk private.
theunrealz is offline  
Reply


Similar Threads Similar Threads
selling max level max gold account. also many 5 max level classes.
01/16/2013 - Browsergames Trading - 0 Replies
for details and prices visit: selling max level max gold account. also many 5 max level classes. - (For Sale Offer #73216567) - PlayerAuctions.com - Securely Buy Cheap AQWorlds Accounts with Fast Delivery :mofo:
[imperial-sro] (Max Level 110)(Skill Level 120)-FellowsPets-Custom Uniqes!\Skill R
09/05/2012 - SRO PServer Advertising - 191 Replies
http://store2.up-00.com/June12/2Hu47880.png - Exp Rate : 100x - SP Rate : 100x - Drop Rate : 50x - Gold Drop Rate: 150x - Level Cap : 110 - Skill Cap: 120 - Mastery : 330 - Race : Eu & Ch - Alchemy : 2x
Shaiya MultiBot v1.6#Auto potion,auto collection,auto stroke,auto skill
06/01/2012 - Shaiya Hacks, Bots, Cheats & Exploits - 12 Replies
http://d1205.hizliresim.com/x/5/5bjkl.jpg Hello everyone friends. I took off and I wanted to share the new version of Hilemizin. Other editions, a new difference: * Layout option 2.Skill. One trick from Image; http://c1205.hizliresim.com/x/4/59sgl.jpg Use the same fashion as yet. Slot {1} / Flat Beat Flat Beat Talent = 1 you put in the game. That it is the other options we.



All times are GMT +1. The time now is 09:02.


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