-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refer-A-Friend System prepared for s1980 adopted from archiv s1699 #13
base: master
Are you sure you want to change the base?
Conversation
setConfigMinMax(CONFIG_UINT32_RAF_MAXREFERALS, "RAF.MaxReferals", 5, 0, 15); | ||
setConfigMinMax(CONFIG_UINT32_RAF_MAXREFERERS, "RAF.MaxReferers", 5, 0, 15); | ||
setConfig(CONFIG_FLOAT_RATE_RAF_XP, "Rate.RAF.XP", 3.0f); | ||
setConfig(CONFIG_FLOAT_RATE_RAF_LEVELPERLEVEL, "Rate.RAF.XP", 0.5f); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: Should be setConfig(CONFIG_FLOAT_RATE_RAF_LEVELPERLEVEL, "Rate.RAF.LevelPerLevel", 0.5f);
some more need fixed the patch make a traget bug i think the patch need a full rewirte |
You talk about the target bug by summoning a friend by using the corresponding context menu option, while targeting another player, NPC or creature, which leads to fail the spell, right? |
yes thats i mean =) and i think some we can make better in the code some more clean etc |
I've some suggestions for the new system. I've read blizzards article about refer a friend and I've found that there are more conditions which are missing in the current system.
These informations are from blizzards system for Mist of Pandaria. Whether this matchs the situation back in The Burning Crusade... I don't know. |
- Revert my poor implementation of the friend list function to its initial state of the archive. Travis error was caused because #include<iterater> wasn't included anywhere. But I think there is a better solution for this function as using std::ostream_iterator<T> like I did. - Fix typo while loading RAF configuration.
@Hikarii - Do you think you can get this fixed up so that we can attempt testing on it ? |
@billy1arm I don't know. I'll try it. What do you want to be fixed? The suggestions I made above? |
@Hikarii yes please |
@billy1arm Currently the RAF system is in its original state, how it was back in rel 12.1. Hence untested for Rel 19! |
@Hikarii - could you push the 'reputation gain fix' ? |
The bonus on reputation, granted by killing creatures and quest rewards, is 10%, not 300%.
This is a (nearly) 1:1 copy of the Refer-A-Friend System of the archiv repository at https://github.com/mangos-one/server-old
Taken from
Signed-off-by: Salja [email protected]