summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-25 18:32:37 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-25 18:32:37 -0300
commit2c62e615584913487803d1cb1acad9b1ec45151a (patch)
tree8e30c4ffdd508f339440a026514f77f440bf6d6d /npc
parent6fa0b6ad3a8f913f296b6a62a2782d863c8e3e2c (diff)
downloadserverdata-2c62e615584913487803d1cb1acad9b1ec45151a.tar.gz
serverdata-2c62e615584913487803d1cb1acad9b1ec45151a.tar.bz2
serverdata-2c62e615584913487803d1cb1acad9b1ec45151a.tar.xz
serverdata-2c62e615584913487803d1cb1acad9b1ec45151a.zip
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).
Diffstat (limited to 'npc')
-rw-r--r--npc/002-3/nard.txt7
-rw-r--r--npc/functions/clientversion.txt9
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) {