From eaf5bfa63c482d4265a014e2cdd22785969f44c8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 7 Mar 2019 23:20:11 -0300 Subject: Don't let players struck with map updates - reset their position! --- npc/003-3/malindou.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'npc/003-3') 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 ""; + } -- cgit v1.2.3-60-g2f50