diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-10-16 17:28:24 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-10-16 17:28:24 -0300 |
commit | c60dc31c74313d2de85bf88b7edb17d6f75d2fff (patch) | |
tree | 445f7bf2932531c78390bb81ae5b167255025c9b /npc/003-3/malindou.txt | |
parent | e3e4bc9d918a86c3b3699a7256fc229231c0de72 (diff) | |
download | serverdata-c60dc31c74313d2de85bf88b7edb17d6f75d2fff.tar.gz serverdata-c60dc31c74313d2de85bf88b7edb17d6f75d2fff.tar.bz2 serverdata-c60dc31c74313d2de85bf88b7edb17d6f75d2fff.tar.xz serverdata-c60dc31c74313d2de85bf88b7edb17d6f75d2fff.zip |
Put some lawn on my cables. :>
Diffstat (limited to 'npc/003-3/malindou.txt')
-rw-r--r-- | npc/003-3/malindou.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 4d8933a91..7f242e96a 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -127,6 +127,15 @@ OnInit: debugmes ""; setarray $REFERRAL_IDS, 0; } + // Current UPDATE value: Ter Out 16 17:17:20 -03 2018 + // This is a hack because I'm too lazy to be bothered with standard SQL Upgrade system + if ($UPDATE < 1539721040) { + query_sql("CREATE TABLE IF NOT EXISTS `discord` (`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',`discord_id` VARCHAR(255) NOT NULL DEFAULT '') ENGINE=MyISAM"); + $UPDATE=1539721040; + debugmes ""; + debugmes "* SQL Upgrade (will not work on new installations)"; + debugmes ""; + } |