• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Exp shared TFS 1.2

Luiz Deodato

New Member
Joined
Jun 17, 2015
Messages
4
Reaction score
1
Hello people of Otland.

I need to know if someone can help me put on my source of TFS 1.2 exp shared, already have, however want to improve. I need you to stay that way, if a player is alone in the party wins the overall experience of the monster if it add one or more members in the group will gain + 50% exp.



If anyone can help me, please



here is my source party.cpp

/**
void Party::shareExperience(uint64_t experience, Creature* source/* = nullptr*/)
{
uint32_t shareExperience = static_cast<uint64_t>(std::ceil(((static_cast<double>(experience) / (memberList.size() + 1)) + (static_cast<double>(experience) * extraExpRate))));
for (Player* member : memberList) {
member->onGainSharedExperience(shareExperience, source);
}
leader->onGainSharedExperience(shareExperience, source);
}
 
its form config lol its already work in my server >

-- Party
experienceShareRadiusX = 40
experienceShareRadiusY = 40
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 6 * 1000
 
Really. Surely it is something related to extraexprate. So I do not know if it's configurable in config.lua for this reason I am here asking. Do you know where I set up this extraexprate?
 
Really. Surely it is something related to extraexprate. So I do not know if it's configurable in config.lua for this reason I am here asking. Do you know where I set up this extraexprate?

i said u its was a bug form my config but i will try to do or sreach h for a script for u
 
Back
Top