The command ".mod rep faction value" is not updating the client (relog must be done), though it does modify the reputation on the server side.
OS: Centos 6 64 bits
Here is a patch to fix your problem :
src/server/scripts/Commands/cs_modify.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/server/scripts/Commands/cs_modify.cpp b/src/server/scripts/Commands/cs_modify.cpp
index a88c765..de92dd1 100644
@@ -1237,6 +1237,7 @@ public:
target->GetReputationMgr().SetOneFactionReputation(factionEntry, amount, false);
handler->PSendSysMessage(LANG_COMMAND_MODIFY_REP, factionEntry->name[handler->GetSessionDbcLocale()], factionId,
By the way I think we should use "SetReputation" and not "SetOneFactionReputation". Because in "SetReputation" the function send the new state to client by the "SendState" function. And not in "SetOneFactionReputation".
Wow, this has been a problem for a very long time... I figured just relogging the toon to fix the issue. haha
@SgT-Fatality SetOneFactionReputation ensures that no spillover reputation templates are used (means we only get reputation for the faction we specified, and nothing more).
the suggested fix works fine
@Subv Alright, thanks a lot for your explanations !
Any News about this? Can it pushed?
Thx SgT-Fatality, I test and work very fine ^^
pls implement inside the repository :P
You're welcome ;)
Modify reputation on usage
#7939 - Fix by @SgT-Fatality
Fixes Spam Chat Check for Gms and Players
#9332 - Fix by @e000
Reversing on .ticket assign changes because of bugs
#9333 - Changes by @e000
Added a "todo" to resetTalents
Noted by @Vincent-Michael
Scripts/Commands: Fix .mod rep faction not updating client side reput…