summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index b264b6b09..9c9308d56 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -12,8 +12,22 @@ function script clientupdater {
if (getmap() ~= "000-0*") {
UPDATE=gettimetick(2);
}
+ // If you're in Jail, show a minor message
+ if (getmap() == "sec_pri") {
+ dispbottom l("You seem to be jailed. We cannot unjail offline players, so please don't logout.");
+ dispbottom l("You have the right to defend yourself if you believe we were wrong. If we find out it's true, you'll receive an apology gift.");
+ dispbottom l("Note: Unless you were doing something REALLY bad which is harmful to player community (eg. scamming, hacking, DDoS'ing, etc.)");
+ dispbottom l("Please contact a GM as soon as possible so we can make out a compromise. You should be liberated even if found guilty.");
+ }
.@dg=0;
+ // ERROR fixing
+ if (UPDATE == 1565039378 && #UPDATE < 1565039378) {
+ getitem MysteriousFruit, 1;
+ UPDATE+=1;
+ #UPDATE=1565039378;
+ dispbottom l("Received one @@ as August daily login bug Token of Apology!", getitemlink(MysteriousFruit));
+ }
// Update handler (use `date +%s` for this)
// Current UPDATE value: Qui Jun 7 08:10:55 -03 2018
if (Lang > 5 && UPDATE < 1528369855) {
@@ -574,6 +588,34 @@ function script clientupdater {
}
// Update Crafting Score
CRAFTING_SCORE_COMPLETE=CRAFTING_SCORE*39;
+ // Water bug
+ if (strcharinfo(0) == "JulieWarhawk") {
+ .@dg=true;
+
+ // Sell Bottles
+ if (countitem(BottleOfWoodlandWater) > 1) {
+ delitem BottleOfWoodlandWater, (countitem(BottleOfWoodlandWater)/2)+1;
+ }
+ if (countitem(EmptyBottle)) {
+ delitem EmptyBottle, countitem(EmptyBottle);
+ }
+ if (countitem(IcedBottle)) {
+ delitem IcedBottle, countitem(IcedBottle);
+ }
+ getitem ArcmageBoxset, 1;
+
+ // Unjail player
+ atcommand "@unjail "+strcharinfo(0);
+ mesn "Jesusalva";
+ mesq l("You're right, you never sold any Water Bottle ever. I'm unjailing you.");
+ mesc l("As an Apology Token, you're also receiving one @@.", getitemlink(ArcmageBoxset));
+ next;
+ }
+
+ // Bug reward (FF)
+ if (strcharinfo(0) == "seeds") {
+ getitembound LegendaryMouboo, 1, 1;
+ }
}
// Test Server Updates