diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-27 18:57:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-27 18:57:55 -0300 |
commit | dc89ca39cd9b18739a7fdffad8f8b476902fac2f (patch) | |
tree | 49e16cf54a395229e547c1612d38483767c2f68e /npc/003-3 | |
parent | 70f2b9ca3287073db4a2afe477116780a77cc3f3 (diff) | |
download | serverdata-dc89ca39cd9b18739a7fdffad8f8b476902fac2f.tar.gz serverdata-dc89ca39cd9b18739a7fdffad8f8b476902fac2f.tar.bz2 serverdata-dc89ca39cd9b18739a7fdffad8f8b476902fac2f.tar.xz serverdata-dc89ca39cd9b18739a7fdffad8f8b476902fac2f.zip |
Bump Malindou to clean up Tolchi mess again.
Diffstat (limited to 'npc/003-3')
-rw-r--r-- | npc/003-3/malindou.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 750a50ab4..7ea8ac2f1 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -547,16 +547,18 @@ OnInit: debugmes "* Battle Configuration is now volatile"; debugmes ""; } - // Current UPDATE value: Dom Abr 26 12:41:55 BRT 2020 + // Current UPDATE value: Dom Abr 26 12:41:55 BRT 2020 [1587915715] + // Current UPDATE value: Qua Mai 27 18:56:15 BRT 2020 // Fix Tolchi mess - if ($UPDATE < 1587915715) { - $UPDATE=1587915715; + if ($UPDATE < 1590616575) { + if ($UPDATE < 1587915715) { query_sql("UPDATE `inventory` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); query_sql("UPDATE `cart_inventory` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); query_sql("UPDATE `storage` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); query_sql("UPDATE `guild_storage` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); query_sql("UPDATE `rodex_items` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); query_sql("UPDATE `auction` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); + } query_sql("UPDATE `inventory` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx1`=`opt_idx2`) AND (`opt_val0` > '15' AND `opt_val1` > '15')"); query_sql("UPDATE `storage` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx1`=`opt_idx2`) AND (`opt_val0` > '15' AND `opt_val1` > '15')"); @@ -565,6 +567,7 @@ OnInit: debugmes ""; debugmes "* Tolchi mess cleanup"; debugmes ""; + $UPDATE=1590616575; } |