From 2c62e615584913487803d1cb1acad9b1ec45151a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 25 Jan 2020 18:32:37 -0300 Subject: Fix alt-duplication detection. For no real reason, give all players a [Strange Coin]. Yep, I just felt like it. There's no requeriment except having finished intro by the time this release gets pushed on live (est. Jan 31st). --- npc/002-3/nard.txt | 7 +++++-- npc/functions/clientversion.txt | 9 +++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index e3a490e99..9faca7429 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -80,8 +80,11 @@ L_Checker: if ($EVENT$ == "Event") getitem MercCard_EH, 1; // Welcome handling - $@WELCOME_TIMER=gettimetick(2)+600; // 10 minutes - kamibroadcast("Hey, look, I've rescued \""+strcharinfo(0)+"\" from the sea! Who will @welcome them?!", "Nard"); + if (!#REG_DATE) { + $@WELCOME_TIMER=gettimetick(2)+600; // 10 minutes + kamibroadcast("Hey, look, I've rescued \""+strcharinfo(0)+"\" from the sea! Who will @welcome them?!", "Nard"); + #REG_DATE=gettimetick(2); + } next; .@price=800; mesc b(l(".:: Main Quest 1-3 ::.")), 3; diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 701d6cd68..f62f47ae2 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -739,6 +739,15 @@ function script clientupdater { if (getq(HalinarzoQuest_LifeDelight) >= 4) getitem SunnyCrystal, 1; } + // Registration Date + // sáb jan 25 18:30:00 BRT 2020 + if (UPDATE < 1579987800) { + UPDATE=1579987800; + #REG_DATE=gettimetick(2); // 1520046000 : sáb mar 3 00:00:00 BRT 2018 + // A thank-you for being with us for almost 2 years + getitem StrangeCoin, 1; + dispbottom l("Thank you for being with us for so long. You gained a %s as a random good-hearted action from the team!", getitemlink(StrangeCoin)); + } if (.@dg) { -- cgit v1.2.3-70-g09d2