diff options
author | shennetsind <ind@henn.et> | 2014-01-06 15:26:00 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-01-08 11:22:00 -0200 |
commit | b79a9d7efa9213e3c791ec356bf21b712878d1aa (patch) | |
tree | 043173233a97e805a49089a5ced25f213a86217f /sql-files/main.sql | |
parent | 85327cde8e451b8b1bacd1f5a98c034a6f42e5ea (diff) | |
download | hercules-b79a9d7efa9213e3c791ec356bf21b712878d1aa.tar.gz hercules-b79a9d7efa9213e3c791ec356bf21b712878d1aa.tar.bz2 hercules-b79a9d7efa9213e3c791ec356bf21b712878d1aa.tar.xz hercules-b79a9d7efa9213e3c791ec356bf21b712878d1aa.zip |
Introducing Hercules Autotrade Persistency
Aka autotrading merchants survive server restarts.
Originally sekai's (aka me).
Special Thanks to Haruna, Michieru.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'sql-files/main.sql')
-rw-r--r-- | sql-files/main.sql | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index 906c329fa..30882546e 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -672,6 +672,7 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1383955424); INSERT INTO `sql_updates` (`timestamp`) VALUES (1384545461); INSERT INTO `sql_updates` (`timestamp`) VALUES (1384588175); INSERT INTO `sql_updates` (`timestamp`) VALUES (1387844126); +INSERT INTO `sql_updates` (`timestamp`) VALUES (1389028967); -- -- Table structure for table `sstatus` @@ -743,3 +744,27 @@ CREATE TABLE IF NOT EXISTS `npc_market_data` ( PRIMARY KEY (`name`,`itemid`) ) ENGINE=MyISAM; +-- +-- Table structure for table `autotrade_merchants` +-- + +CREATE TABLE IF NOT EXISTS `autotrade_merchants` ( + `account_id` int(11) NOT NULL default '0', + `char_id` int(11) NOT NULL default '0', + `sex` tinyint(2) NOT NULL default '0', + `title` varchar(80) NOT NULL default 'Buy From Me!', + PRIMARY KEY (`account_id`,`char_id`) +) ENGINE=MyISAM; + +-- +-- Table structure for table `autotrade_data` +-- + +CREATE TABLE IF NOT EXISTS `autotrade_data` ( + `char_id` int(11) NOT NULL default '0', + `itemkey` int(11) NOT NULL default '0', + `amount` int(11) NOT NULL default '0', + `price` int(11) NOT NULL default '0', + PRIMARY KEY (`char_id`,`itemkey`) +) ENGINE=MyISAM; + |