From 2d8d40f08a403996fc6e05ce50682b1096f52512 Mon Sep 17 00:00:00 2001 From: Horyoshi <42314202+Cinecom@users.noreply.github.com> Date: Sun, 22 Mar 2026 21:52:29 +0100 Subject: [PATCH] Added more logging --- shootyepgp.lua | 7 +++++++ shootyepgp.toc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/shootyepgp.lua b/shootyepgp.lua index 7cf181d..889c184 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -1134,6 +1134,13 @@ function sepgp:addonComms(prefix,message,channel,sender) elseif what == "GP" then msg = string.format(L["You have gained %d GP."],amount) end + elseif admin() and what == "GP" and who and amount then + -- Log GP changes for OTHER players (so DLL can track corrections) + local old_gp = (new_gp or 0) - amount + msg = string.format(L["Awarding %d GP to %s. (Previous: %d, New: %d)"],amount,who,old_gp,math.max(sepgp.VARS.basegp,new_gp or 0)) + elseif admin() and what == "EP" and who and amount and amount < 0 then + -- Log EP penalties for OTHER players + msg = string.format(L["%s EP Penalty to %s."],amount,who) elseif who == "ALL" and what == "DECAY" then msg = string.format(L["%s%% decay to EP and GP."],amount) elseif who == "RAID" and what == "AWARD" then diff --git a/shootyepgp.toc b/shootyepgp.toc index 6461256..5b70e05 100644 --- a/shootyepgp.toc +++ b/shootyepgp.toc @@ -7,7 +7,7 @@ ## X-Website: https://github.com/cinecom/shootyepgp/ ## X-Category: Guild ## X-Credits: shooty, Qcat(zhCN) -## Version: 10.19.5 +## Version: 10.19.6 ## X-Alpha: ## OptionalDeps: Ace2 ## SavedVariables: sepgp_saychannel, sepgp_groupbyclass, sepgp_groupbyarmor, sepgp_groupbyrole, sepgp_raidonly, sepgp_dbver, sepgp_debug, sepgp_fubar, sepgp_sound, RaidStrikeDB, RaidStrikeResetTime, BenchTrackerDB