From 0a7e517a717c6299f0ab013f367cdf63ba5df169 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 10 Oct 2021 20:35:05 -0300 Subject: When a ranked Aurora event ends, flush the top 5 results to syslog for posterity --- npc/functions/aurora.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt index 8b1242ff6..436750890 100644 --- a/npc/functions/aurora.txt +++ b/npc/functions/aurora.txt @@ -638,6 +638,8 @@ function script FYRewardEvent { } rodex_sendmail($@aurora_charid[.@i], "Aurora Events", $EVENT$+" Reward!", "Final Ranking: #"+(.@i+1)+". Congratulations on making "+$@aurora_value[.@i]+" points on the event!", 0, StrangeCoin, .@prize); } + // Send results copy to syslog + consoleinfo("%s event finished:\n#01 - %s (%d)\n#02 - %s (%d)\n#03 - %s (%d)\n#04 - %s (%d)\n#05 - %s (%d)\n", $EVENT$, $@aurora_name$[0], $@aurora_value[0], $@aurora_name$[1], $@aurora_value[1], $@aurora_name$[2], $@aurora_value[2], $@aurora_name$[3], $@aurora_value[3], $@aurora_name$[4], $@aurora_value[4]); // Destroy the quest DelQuestFromEveryPlayer(Q_AuroraEvent); deletearray $@aurora_name$; -- cgit v1.2.3-70-g09d2