summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-11-18 17:43:58 -0200
committerJesusaves <cpntb1@ymail.com>2018-11-18 17:43:58 -0200
commit7feb77ee02233f25aa8039825a0bf2b40d5352d5 (patch)
treebd7c5ef187d7274e8715dbd0cb3b75a93e627bc2 /npc
parent5a962dc6c80b13075f96c60a5827ab29f6c92504 (diff)
downloadserverdata-7feb77ee02233f25aa8039825a0bf2b40d5352d5.tar.gz
serverdata-7feb77ee02233f25aa8039825a0bf2b40d5352d5.tar.bz2
serverdata-7feb77ee02233f25aa8039825a0bf2b40d5352d5.tar.xz
serverdata-7feb77ee02233f25aa8039825a0bf2b40d5352d5.zip
This is a SQL update to fix Candor players position.
I was lazy, so I'm just forcing them back to the Soul Menhir.
Diffstat (limited to 'npc')
-rw-r--r--npc/003-3/malindou.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 05bd49df0..da888999e 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -138,6 +138,18 @@ OnInit:
debugmes "* Nivalis Liberation Day event skipped";
debugmes "";
}
+ // Current UPDATE value: Dom Nov 18 17:40:30 -02 2018
+ // Update players position
+ if ($UPDATE < 1542570030) {
+ query_sql("UPDATE `char` SET `last_x` = '35' WHERE `char`.`last_map`='005-1'");
+ query_sql("UPDATE `char` SET `last_y` = '102' WHERE `char`.`last_map`='005-1'");
+ query_sql("UPDATE `char` SET `save_x` = '35' WHERE `char`.`save_map`='005-1'");
+ query_sql("UPDATE `char` SET `save_y` = '102' WHERE `char`.`save_map`='005-1'");
+ $UPDATE=1542570030;
+ debugmes "";
+ debugmes "* Update Candor players position";
+ debugmes "";
+ }