diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-07 23:20:11 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-07 23:20:46 -0300 |
commit | eaf5bfa63c482d4265a014e2cdd22785969f44c8 (patch) | |
tree | c1f21105074f0a75dd4d0c0f5cd9546e952b8a5b /npc | |
parent | 956cc6b0a8e83ee69b3709d75e357ac73d56a9cc (diff) | |
download | serverdata-eaf5bfa63c482d4265a014e2cdd22785969f44c8.tar.gz serverdata-eaf5bfa63c482d4265a014e2cdd22785969f44c8.tar.bz2 serverdata-eaf5bfa63c482d4265a014e2cdd22785969f44c8.tar.xz serverdata-eaf5bfa63c482d4265a014e2cdd22785969f44c8.zip |
Don't let players struck with map updates - reset their position!
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-3/malindou.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index affd5cf50..a0d8725a5 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -265,6 +265,21 @@ OnInit: debugmes "* Late fix for Nard Ship Bug"; debugmes ""; } + // Current UPDATE value: Qui Mar 7 23:15:54 -03 2019 + // Map Update + if ($UPDATE < 1552011354) { + query_sql("UPDATE `char` SET `last_x` = '22' WHERE `char`.`last_map`='014-3'"); + query_sql("UPDATE `char` SET `last_y` = '22' WHERE `char`.`last_map`='014-3'"); + query_sql("UPDATE `char` SET `last_map` = '000-1' WHERE `char`.`last_map`='014-3'"); + + query_sql("UPDATE `char` SET `last_x` = '22' WHERE `char`.`last_map`='003-1'"); + query_sql("UPDATE `char` SET `last_y` = '22' WHERE `char`.`last_map`='003-1'"); + query_sql("UPDATE `char` SET `last_map` = '000-1' WHERE `char`.`last_map`='003-1'"); + $UPDATE=1552011354; + debugmes ""; + debugmes "* Map Updates"; + debugmes ""; + } |