summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-09-08 21:49:31 -0300
committerJesusaves <cpntb1@ymail.com>2024-09-08 21:49:31 -0300
commitde8886ec27a52be5b2fb8674f502126040710ef4 (patch)
tree9001a804a27b13b3439394221dfd41d983bf09fa
parent735628f6f30afed9c36f9712ac56c94aff6afbbd (diff)
downloadserverdata-de8886ec27a52be5b2fb8674f502126040710ef4.tar.gz
serverdata-de8886ec27a52be5b2fb8674f502126040710ef4.tar.bz2
serverdata-de8886ec27a52be5b2fb8674f502126040710ef4.tar.xz
serverdata-de8886ec27a52be5b2fb8674f502126040710ef4.zip
Deliver an apology token to everyone who played ML during the month of *August*
Due to Aurora Scoreboard being bugged. Of course, #1 player excluded.
-rw-r--r--npc/functions/clientversion.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index b8eabafea..794684c64 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1281,6 +1281,27 @@ function script clientupdater {
#ADD_HLV += REBIRTH * 1000000;
mes "";
}
+ // Issue with Aurora Events Scoreboards
+ // dom 08 set 2024 21:00:00 -03
+ if (UPDATE < 1725840000) {
+ UPDATE=1725840000;
+ // SELECT char_id, account_id, name, last_login FROM `char` WHERE `last_login` > 1722470400 ORDER BY account_id,last_login ASC;
+ setarray .@apology, 150000, 150005, 151276, 150213, 150388, 150993, 150559, 151103, 150628, 150741, 151332, 150835, 150861, 151111, 151330, 151212, 151278, 151323, 151295, 151318, 151326, 151331, 151333, 151334, 151335, 151336;
+
+ // Users connected during August buggy aurora events
+ // NOTE: #150842 was removed (always ranked #1 on events)
+ if (array_exists(.@apology, getcharid(0))) {
+ getitembound SupremeGift, 1, 1;
+ .@dg=1;
+ showavatar NPC_LOF_RICH;
+ mesn ("TMW2 Staff");
+ mesc sprintf("Hello, %s! We just looked up and found out you were active during a time Aurora events were buggy!", strcharinfo(0)), 3;
+ mesc sprintf("That's inacceptable, scoreboards were stuck! So we wanted to deliver you a token of apology!"), 3;
+ mesc l("Sorry, and enjoy the game! Your TMW2 Staff Team."), 3;
+ mesc sprintf("Token Of Apology: 1x %s", getitemlink(SupremeGift));
+ next;
+ }
+ }
// TODO: Anniversary (leap years disregarded)
// :// End of Regular Update System