Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 11:21

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

Advertisement



Flyff V15: Max Party Exp & Link for 2 Players

Discussion on Flyff V15: Max Party Exp & Link for 2 Players within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2018
Posts: 15
Received Thanks: 2
Flyff V15: Max Party Exp & Link for 2 Players

Hello guys,

Summary
I need to know:
-where I can find the damagecalculation with party link and
-where I can find the exp- calculation with a party after killing a monster?

Detail information
The damage via party link and exp-rate of a player is depending on partymembersize. I am playing this server for me alone and do not want to use 8 flyff clients open.
That is why I want to know, how to get with only 2 partymembers the same amount of damage (with Party Link) and exp in a party like 8 partymembers in total. I do not want to manipulate exp rate via event.lua.

I have found out that DPClient.cpp->OnSetPartyMode(...) or party.cpp->DoUsePartySkilly(...) are sending "PARTY_LINKATTACK_MODE" or "ST_LINKATTACK" away, but whereto? Where are exp-rate of partymember is calulated?


I hope you can help me out.
Best regards
jarovart is offline  
Old 03/07/2021, 13:19   #2
 
elite*gold: 0
Join Date: Jun 2009
Posts: 65
Received Thanks: 46
#1
Search for "link" in your resource folder, that leads to the propTroupeSkill.txt on the entry "ST_LINKATTACK".
Searching for it in the Source leads us to "PARTY_LINKATTACK_MODE" in the party.cpp.
And that one will lead us to our destination, MoverAttack.cpp, on the function "CalcLinkAttackDamage", that has something like this "nAdd = ( nDamage * nJoinMember / 10 );"
You can even make it so, everyone has the benefit of Link attack in this function, simply remove the "Party->IsLeader( m_idPlayer )" part.

#2
What does happen if you change a Party from Level to Contribution? That's right, it does change who receives the most exp within a Party.
Search for "Contribution" and it leads us to the reddata.txt.txt.
That will also lead us to the Definition of the Source part "WIDC_EXP_SHARE" & "WIDC_RADIO6".
We will take the first entry, since it's specifically what we're looking for.

In the WndParty.cpp we stumble across multiple "m_nTroupsShareExp", that leads us after searching for it, to this file Mover.cpp, on the line "AddExperienceParty".
Within that we can find "AddExperiencePartyContribution", that leads us to where we want to be.
Now do some magic and get the result you want.


It's really not that hard, just think about it and the process around it. Even if you have no clue on what the code really does, with steps like those you will eventually find what you're looking for, also you will learn from it until you fully understand the code.
VirusAtwar is offline  
Thanks
2 Users
Old 03/07/2021, 18:17   #3
 
elite*gold: 0
Join Date: Feb 2018
Posts: 15
Received Thanks: 2
Quote:
Originally Posted by VirusAtwar View Post
#1

And that one will lead us to our destination, MoverAttack.cpp, on the function "CalcLinkAttackDamage", that has something like this "nAdd = ( nDamage * nJoinMember / 10 );"
You explain it very well and I get your point, but how did Visual Studio leads you to MoverAttack.cpp? Did u just use Strg+F "party" in every file of the source code or is there a smarter way to find the references?

I used e.g. "find all references" or "call hierarchy" in visual studio without success...

Nevertheless you helps me a lot. Thank you.
jarovart is offline  
Old 03/07/2021, 19:08   #4
 
elite*gold: 0
Join Date: Jun 2009
Posts: 65
Received Thanks: 46
Quote:
Originally Posted by jarovart View Post
You explain it very well and I get your point, but how did Visual Studio leads you to MoverAttack.cpp? Did u just use Strg+F "party" in every file of the source code or is there a smarter way to find the references?

I used e.g. "find all references" or "call hierarchy" in visual studio without success...

Nevertheless you helps me a lot. Thank you.
Yeah, CTRL + F (Find and Replace), then select the whole solution.
The "PARTY_LINKATTACK_MODE" was within the function of "CalcLinkAttackDamage", that's what we're looking for.

Even if you don't know whats going on fully, you could guess on what it could be. There's some checks for Player stuff and a party, something with members and down below damage, then there's a formula - that could be it.

You want to know more of what's happening? You search for key words and gather as many pieces, to form a whole picture. You probably won't be able to code anything fancy with that picture, but you will understand some things of the whole process you're looking at.
VirusAtwar is offline  
Thanks
1 User
Reply

Tags
exp, flyff, link, party, v15


Similar Threads Similar Threads
[Buying] &&&&&&&&&KAUFE STEAM ACCOUNT! &&&&&&&&&
06/07/2013 - Trading - 1 Replies
Hallo, bin nicht hier um groß zu traden,sondern möchte einen Steam Account kaufen. Fakten: Biete maximal 60€ PaySafeCard Es sollten viele kleine Spiele sowie COD enthalten sein COD 7-9 sind Pflicht! Kein VAC/TAC/Valve o.Ä Bann!
&&&&&&&&&KAUFE STEAM ACCOUNT! &&&&&&&&&
06/07/2013 - elite*gold Trading - 0 Replies
Hallo, bin nicht hier um groß zu traden,sondern möchte einen Steam Account kaufen. Fakten: Biete maximal 60€ PaySafeCard oder kann es auch zu egold machen Es sollten viele kleine Spiele sowie COD enthalten sein COD 7-9 sind Pflicht! Kein VAC/TAC/Valve o.Ä Bann!
[Buying] &&&&&&&&&KAUFE STEAM ACCOUNT! &&&&&&&&&
06/07/2013 - Steam Trading - 0 Replies
Hallo, bin nicht hier um groß zu traden,sondern möchte einen Steam Account kaufen. Fakten: Biete maximal 60€ PaySafeCard Es sollten viele kleine Spiele sowie COD enthalten sein COD 7-9 sind Pflicht! Kein VAC/TAC/Valve o.Ä Bann!



All times are GMT +1. The time now is 11:24.


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.